matjaz / homey-youtube

Search Youtube, play playlists
https://apps.athom.com/app/com.youtube
9 stars 7 forks source link

Playlist autoplay #16

Open Roppieee opened 7 years ago

Roppieee commented 7 years ago

It seems that playlist autoplay is not working anymore in 0.6.2 only one item is being played in shuffle mode. Is this a known issue?

Thanks

matjaz commented 7 years ago

This is with Chromecast app? What version of CC app are you using?

Roppieee commented 7 years ago

No this is with youtube app. I'm using the latest chromecast app version from this morning...3. 01? But i tried to play a playlust in shuffle mode as well in the chromecast app but then it will always start with the same item. When i play a youtube playlist in shuffle mode through the youtube app the first item is randomly chosen but it stops after playing the first item.  This is related to videos. I also noticed when i play a youtube playlist through youtube media, it will stop after each song so this might be related. ( note... google play playlists are working fine...) Hope this clarifies what i am experiencing. Thanks. Regards Robert

Verzonden vanaf mijn Samsung-apparaat

-------- Oorspronkelijk bericht -------- Van: Matjaž Lipuš notifications@github.com Datum: 21-04-17 23:01 (GMT+01:00) Aan: matjaz/homey-youtube homey-youtube@noreply.github.com Cc: Roppieee relshout@ziggo.nl, Author author@noreply.github.com Onderwerp: Re: [matjaz/homey-youtube] Playlist autoplay (#16)

This is with Chromecast app? What version of CC app are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/matjaz/homey-youtube","title":"matjaz/homey-youtube","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/matjaz/homey-youtube"}},"updates":{"snippets":[{"icon":"PERSON","message":"@matjaz in #16: This is with Chromecast app? What version of CC app are you using?"}],"action":{"name":"View Issue","url":"https://github.com/matjaz/homey-youtube/issues/16#issuecomment-296304837"}}}

Roppieee commented 7 years ago

Hi Matjaz, just some additional info. What I'm trying to do is to play a youtube video playlist randomly on the chromecast. I'm using the flow below in combination with a flow "youtube media is changed" image.

This results in only one item being played. This item seems to be randomly picked.

I also tried to accomplish the above with the chromecast app directly. If I use the shuffle mode here it seems that the fitrst item that is picked is always the same one. To overcome this I added the "next" card. But this is not always working consistently...

image

Thanks

matjaz commented 7 years ago

@MarvinSchenkel any idea?

MarvinSchenkel commented 7 years ago

@matjaz Looks like this is related to the core functionality of the app and not to any homey music stuff

matjaz commented 7 years ago

@Roppieee can you help bisect which combination of (latest) YouTube and Chromecast app version works? @MarvinSchenkel thanks for looking into it.

Roppieee commented 7 years ago

Hi Matjaz,

I'm running youtube 0.6.2 and chromecast app 3.01 which give the issue as discribed.

Thankls

Regards,

Robert

matjaz commented 7 years ago

and which combination does work?

Roppieee commented 7 years ago

Hi Matjaz,

It just does not work. If I try to play a youtube playlist in shuffle mode through the youtube app in combination with "youtube media changed" flow, the first song is selected randomly but only 1 song is played (it does not continue to the next item automatically)

When I try to play the playlist in shuffle mode through the chromecast app directly, the first item played is always the first item from the playlist (so the same item) and only the second item is selected randomly.

With the previous version of the chromecast app the "cast a video URL" card was not working so it was not possible to play a playlist through the youtube App.

Before that, so the chromecast version before the "youtube playslist" functionality was added to the chromecast app in combination with the youtube app at that time, was working however I'm not sure which app versions where active at that time.

Regards,

Robert

matjaz commented 7 years ago

I contributed some code to Chromecast app, but since it was rewritten I'll need to check out what's going on. @BasKiers maybe you have any idea, what has changed in Chromecast app?

Roppieee commented 7 years ago

Any news on this issue?