The YouTube Cast Receiver plugin is available for testing. It allows you to cast videos to Volumio from the YouTube mobile app or website for audio playback.
You can get the plugin here:
Volumio 3
Plugin submitted to Volumio 3 plugin store. If you do not see it there, enable “Plugins Test Mode” in http://<volumio_address>/dev. If you still do not see it, that means the plugin has not yet been accepted and you are advised to wait.
Volumio 2.x
The plugin requires manual installation, instructions for which you can find in the volumio-2.x branch of the Github repo:
Follow the instructions there to install it (and also go through the rest of the Readme so you have an idea of what to expect). For Volumio 2.x you would still need to update your MPD unless you are fine with playback cut-offs and don’t mind seeking not working.
You can raise issues here as you find them, and feedback is of course welcome.
Hi,
I was waiting for a long time for that, and you did it ! 1000 thanks !
My experience is similar to @lizard_dude (testing with raspberry pi 2 B with last volumio version, without installing your mpd)
Playback works
Queue and autoplay doesn’t work, it stops after current song.
Fast Forwarding to different point is good there, the delays is approximatively the same than in youtube app
For the queue and autoplay issues, are you casting from the YouTube mobile app? If so, what is the version of the app?
@lizard_dude , a 1-2 second delay would be normal depending on the quality of your network connection, although 5 seconds might be a bit too much. Could you try seeking directly in Volumio and observe if the delay is approximately the same as seeking in the YouTube app or website (it should be)?
Casting from the Android YouTube app. Version 16.02.35.
I figured the delay might be because I am still running a snapcast server. Whoops!
I will get back to you regarding this,
I install ytcr on volumio 3.066_X86 It does not work app needs to be updated for volumio 3.
Checking that the plugin is suitable for this version of Volumio The plu gin has no node version dependency information. The plugin has no Volumio versio n dependency information. The plugin may not work on this version of Volumio
I don’t know if I’m mistaken, when you say queue and autoplay don’t work, does it mean when you have a list of songs and you play the first one, the next song isn’t loaded after playback of the first one ends? Or is it the case that the Up Next video fails to appear in the list even when the Autoplay switch is enabled?
OK…really need more info here. I haven’t been able to reproduce the queue issue on my end.
Could you update the plugin following the instructions on the Github link? It has been updated to add a log when playback of the current song finishes.
Then
Go to the plugin settings and enable ‘Verbose Logging’.
Go to <your_volumio_address>/dev and enable ‘live log’.
Cast a video from the YouTube app.
Wait for it to end (apparently, don’t play a video that’s like 2 hours long- something that’s a few minutes will do).
When it ends, leave it hanging for a while.
Copy the Live Log and save it to a text file. Then send the text file to me through PM.
I’d have to see the log to see what’s going on.
Also, are there other plugins running? If so, could you disable all of them temporarily and see if it makes a difference.
@Tecko, when the streams stop playing, did you get disconnected too? Do all the streams play only for 10 seconds? If you select another video in the YouTube app, does it play (that is, for 10 seconds)?
I’ve tested this on a fresh 3.066_x86 install, and the streams play normally. In fact, it seems everyone else is experiencing a problem of some kind with this plugin, except me
Also check if your phone has some sort of battery management in place that interferes with the network connection when you turn the screen off (sometimes it just terminates the app completely).
Best way to test is to have the YouTube app running in the foreground and the screen turned on for the duration of the video.