Unfortunately our request to google to raise the daily limits, resulted in the API key to be invalidated. This is because we are not allowed to use youtube API to play audio without showing the video.
Bummer.
We are however already looking for an alternative solution.
In the meanwhile we are removing the youtbe plugin from the repository, to avoid confusion of people installing it without it working.
As soon as this is solved we will add it again.
Anybody which want to jump in and help is more than welcome, contatct us via the support page (select business proposal): volumio.org/contact/
NOTE: The code method and personal API solution are not viable, since they do require advanced skill (we want everybody to be able to enjoy it)
Ok Many thanks @michelangelo !
So, for those who want use the youtube plugin, they have to use the latest version given in this thread and use their own API key: right?
i have a problem with the creation of oauth id on the google developers console.
i follow the instructions in youtube-for-volumio-t6608-160.html
the problem is adding the scope âŚ/auth/youtube.readonlyâ needs google validation
and i donât know what to put in
Authorized domains
Applications home link
Application Privacy Policy link
i create oauth id without âŚ/auth/youtube.readonly but using the generate api key , client id and client secret donât open the consent screen
i have installed youtube - Plugin from youtube-api-20191110.zip to use my own account created in Google Developer Console.
The plugin can access to my subscriptions, search and all workâs !
But i cannot hear anything. mpc printâs no play is in course.
The system is a Raspberry PI - 3 with hifiberry.
I have put an auth.json in plugin directory⌠with this contents:
Thank you very much Patrick for all the effort to build that workaround. Basically I can connect now to youtube and all my channels and playlists are loaded and displayed. My major issue is that I can not playback the videos. The first frame is displayed but it can not be played. Is there any codec missing? I already played around with the buffer size, but I can not get it working. I use the USB 2.0 Interface.
Did someone face the same problem? Thanks again for the great support.
I used volumio first time in 2016 and it was fantastic. One month ago i resintalled it on my raspberry pi2 with hi-fiDac. All goes well.
Then i struggling a little bit to understand how to install and configure this youtube plugin alongside Patrick Version.
It works, i use the same api process sometimes on other plugins made with laravel.
I agree with Michelangelo maybe this method itâs not the best for end user but it works.
Now there is a great problem though. I tried to play some random songs starting from random searches. And there is the problem. All songs finishing before the 75% of the song. I donât know if there is a youtube rules but i think so.
I also tried to use tubio app for android. It can stream song played about youtube on a dlna enabled client. And i can stream on volumio.
Also in this case, 2-3 songs played on my tubio app and streamed on volumio stopped at about 75-80% in 2 case on 3.
So youtube stop the playback from ceratain devices like stop the music after 30 minutes if you donât touch a keyboard button on your pc.
Have you some suggestions?
I also use stream what you hear to stream on dlna from my pc to volumio. But the sound quality goes down dramatically!
Try to check On: âUse Defaultâ and save. Then re-check it off. This made me to re-authorize my device with a new code. If this doesnât work I would try to uninstall then re-install the pluginâŚ