youtube-music icon indicating copy to clipboard operation
youtube-music copied to clipboard

How do you use the tuna plugin integration?

Open irockdude554 opened this issue 3 years ago • 13 comments

I'm trying to figure out how to use the tuna integration plugin but theres no documentation on how to do so.

irockdude554 avatar Feb 14 '22 04:02 irockdude554

see #372 (enable webserver option and it should automatically send information to tuna)

Araxeus avatar Feb 14 '22 05:02 Araxeus

I did that but nothing seems to get sent to my tuna server

irockdude554 avatar Feb 15 '22 05:02 irockdude554

is the server open on port 1608 and song source is Web Browser?

it should work if you have these options 😟

image

Araxeus avatar Feb 15 '22 05:02 Araxeus

if you are in arch, uses the obs-plugin-tuna-bin is the only one that works (not for this app, but generally) and send a post to localhostÇ1608 and get to the same endpoint you should receive updates

mesmerx avatar Feb 19 '22 05:02 mesmerx

yeah my port is set to 1608 and song source is web browser, but nothing gets sent to tuna.

irockdude554 avatar Feb 23 '22 05:02 irockdude554

again, the tuna happens to not receive POST in some versions, did you try to post do the localhost:1608 to see if this send and receive update? its not the plugin problem and tuna itself, for arch the only package that works its the bin one

mesmerx avatar Feb 24 '22 18:02 mesmerx

im on windows, its not tuna as it works with Spotify jsut fine on the default port

irockdude554 avatar Feb 28 '22 04:02 irockdude554

I'll send you two requests to you try, the tuna with spotify dont use the server, the server its only for manual requests

mesmerx avatar Mar 05 '22 16:03 mesmerx

ok

irockdude554 avatar Apr 01 '22 19:04 irockdude554

@irockdude554 sorry the GREAATTT delay man can you try this request

curl --request POST \
  --url http://localhost:1608/ \
  --header 'Content-Type: application/json' \
  --data '{ "data":{
	"cover_url": "f",
	"title": "ff",
	"artists": [],
	"status": "ff",
	"progress": 0,
	"duration": 0,
	"album_url": "fff",
	"album": "undefined"
}}'

if this next request

curl --request GET \
  --url http://localhost:1608/ \
  --header 'Content-Type: application/json'

dont returns

{
	"cover_url": "f",
	"progress": 0,
	"status": "unknown",
	"time_left": 0,
	"title": "ffdsdsd"
}

the problem is with the tuna not this plugin :)

mesmerx avatar May 20 '22 05:05 mesmerx

** its not a working payload for the plugin, its just a dummy to know if your server of tuna is working

mesmerx avatar May 20 '22 05:05 mesmerx

ok problem solved

pingusurmars avatar Jun 19 '22 08:06 pingusurmars

When i stop / pause the music, the status of the playback on http://localhost:1608/ just stays on 'playing', even if i close the ymusic it'll still showing the last song title and what not, how can i fix this?

awan-gh avatar Sep 02 '22 14:09 awan-gh

maybe you can pull a timer to look for the player and see if its in the pause state, the problem its the event for ths

mesmerx avatar Oct 07 '22 06:10 mesmerx

When i stop / pause the music, the status of the playback on http://localhost:1608 just stays on 'playing', even if i close the ymusic it'll still showing the last song title and what not, how can i fix this?

Fixed at #1235

JellyBrick avatar Oct 07 '23 07:10 JellyBrick