hopollo / OBS-Youtube-Player

Designed for OBS Browser source to display/play a song/playlist fully automatically with customs params.
57 stars 33 forks source link

Apparently the autoplay functions stopped working #18

Open marquinhos-samurai opened 5 months ago

marquinhos-samurai commented 5 months ago

As the title itself says, last night (in my time zone [gmt -3]) any YouTube link that my sammi automation sends the url or to index.html, always gets stuck on the player screen and doesn't execute anything unless I have to manually go to OBS and interact with its source browser.

IRLtools commented 5 months ago

I tried creating a pull request and updated things. The object for videoData changed.

https://github.com/hopollo/OBS-Youtube-Player/pull/19

Achimiko commented 5 months ago

Not only autoplay function is broken. The playlist also broke. Autoplay somehow works sometimes on playlists, but only on the first song from the playlist, which means that it stops after the first song plays out. Changing index number doesn't change the first song either.

IRLtools commented 5 months ago

Not only autoplay function is broken. The playlist also broke. Autoplay somehow works sometimes on playlists, but only on the first song from the playlist, which means that it stops after the first song plays out. Changing index number doesn't change the first song either.

You don't change the index, change the ?v= (VideoID) parameter to start the playlist from that video.

hopollo commented 3 months ago

Hello there,

Can you post me the playlist link you are using ? I want to investigate with it.

I just checked with the exemple link form the readme and it works fine for me. (OBS Studio 30.2.2)

Thanks