[PLUGIN] YouTube Cast Receiver

so you could cast it to volumio, but not add to a playlist in volumio.
oke i understand…

Yes, that’s how casting is designed to work.

oke it drops sometimes the cast but after restart connection it will play again.
. and even with screen off … it keeps on playing

so it works oke … on 3.010 will test a playlist 50+

166/166 running great …no problems found …

@Tecko, turns out that live streams may be possible after all (as long as seeking is disabled). I have added this to the plugin on my own device, but need to do further testing tomorrow before I’ll release it (I really need to go to sleep now…it’s 5am over here :sleeping: ).

1 Like

oefff okay have a good night sleep here it is 11pm now, it has no hurry. But wil nice if everything is working see you tomorrow

Plugin updated to support casting livestreams (@Tecko). Head over to the Github repo (link in first post of this thread) and follow instructions there to update.

Note that seeking is disabled for livestreams.

live streams are still broken 2 -3 sec playing then stops i updated the plugin

// https://www.youtube.com/watch?v=MWxPC9bWIpI

not yet done it before you asked gonna try again…

Did you restart Volumio after updating? Also check that the plugin version is 0.1.0a-20210417

I am playing the exact live stream as your link.

i’m getting disconnected in a few sec…

PM me the logs (cast a livestream instead of a regular video)

it’s the same as last time if you keep on trying after a few tries it will play the stream…
rebooted rpi and closed yt on s8 and opend it again and now it’s playing … and is on 1.0a …417

After updating, if your s8 is still connected then you need to disconnect and then connect again. You may see two Volumio in the list , choose the second one.

i didn’t see 2x or none ( searching ) or one…
and if it’s cutting off, close youtube on phone and start again… otherwise he will keep on hanging…

i am testing right now, also disconnected after few seconds (10), I go logging and send you the log.

reboot and re open youtube on your phone … after a few tries it will play…
it seems to solve it self next stream just work direct after it…

closing youtube is enough patrick…

lunch time: drinking some bread and eating some coffee :slight_smile:

Yes, try rebooting both your phone and Volumio, then retry.

yes working fantastic! nice work :slight_smile:

dial: returning pid c96caf8a-2d55-4181-af7a-274a3bf93439
info: [ytcr] ***** Connected *****
info: CoreCommandRouter::getUIConfigOnPlugin
info: CoreCommandRouter::volumioGetState
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
[yt-cast-receiver.autoplay] An error occurred while fetching mix playlist for video Id ioerpGAROho: Error: Unable to find JSON!
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: Ignoring MPD Status Update
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: [ytcr] ***** Disconnected *****
info: CoreCommandRouter::getUIConfigOnPlugin
info: touch_display: Setting screensaver timeout to 120 seconds.
info: touch_display: Using Xserver unix domain socket /tmp/.X11-unix/X0
info: touch_display: Setting screensaver timeout to 120 seconds.
dial: returning pid aa4be507-f854-4139-bdde-b3f551c14b6e
info: [ytcr] ***** Connected *****
info: CoreCommandRouter::getUIConfigOnPlugin
info: CoreCommandRouter::volumioGetState
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
[yt-cast-receiver.autoplay] An error occurred while fetching mix playlist for video Id ioerpGAROho: Error: Unable to find JSON!
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: Ignoring MPD Status Update
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: [ytcr] ***** Disconnected *****
info: CoreCommandRouter::getUIConfigOnPlugin
info: touch_display: Setting screensaver timeout to 120 seconds.
dial: returning pid 2f3c63a8-ff85-4108-b1f2-1877d34a0c33
info: [ytcr] ***** Connected *****
info: CoreCommandRouter::getUIConfigOnPlugin
info: CoreCommandRouter::volumioGetState
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
[yt-cast-receiver.autoplay] An error occurred while fetching mix playlist for video Id ioerpGAROho: Error: Unable to find JSON!
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: Ignoring MPD Status Update
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: [ytcr] ***** Disconnected *****
info: CoreCommandRouter::getUIConfigOnPlugin
info: touch_display: Setting screensaver timeout to 120 seconds.
dial: returning pid 081751c4-79e2-4bf7-a439-041fa65c0ea9
info: [ytcr] ***** Connected *****
info: CoreCommandRouter::getUIConfigOnPlugin
info: CoreCommandRouter::volumioGetState
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
[yt-cast-receiver.autoplay] An error occurred while fetching mix playlist for video Id ioerpGAROho: Error: Unable to find JSON!
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: Ignoring MPD Status Update
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: [ytcr] ***** Disconnected *****
info: CoreCommandRouter::getUIConfigOnPlugin
info: touch_display: Setting screensaver timeout to 120 seconds.
info: touch_display: Using Xserver unix domain socket /tmp/.X11-unix/X0
info: touch_display: Setting screensaver timeout to 120 seconds.
dial: returning pid 49fb97a5-9710-4496-92b5-77525eff9810
info: [ytcr] ***** Connected *****
info: CoreCommandRouter::getUIConfigOnPlugin
info: CoreCommandRouter::volumioGetState
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
info: Ignoring MPD Status Update
[yt-cast-receiver.autoplay] An error occurred while fetching mix playlist for video Id ioerpGAROho: Error: Unable to find JSON!
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo

In ssh, run:

$ ifconfig

PM the result to me.

in mail :slight_smile: