[PLUGIN] YouTube for Volumio

I think I have found the bug and fixed it:
1.PNG
2.PNG

I am able to search for videos, playlists and channels by their ID (whole URL will be supported in next version!). The found playlists can be added to the queue as you can see in the screenshots above. Do you want to verify that the bug is fixed? But be warned it will be some effort to test it. You have to uninstall the plugin first and install a development version that I will send you as zip file. And because it is a development version it may be not that stable yet.

Just let me know. Otherwise the bug fix will be part of the next release of the plugin.

Hi everybody,

Iā€™ve looked for the answer to my question everywhere but didnā€™t found it. Whatā€™s the default quality of the stream from Youtube ? Is it max HD by default ? Is there a way to configure it ?

Thanks a lot for this great plungin, I can listen to great live shows now :smiley:

Hi,

sorry, I didnt saw your questions.

Per default we use the highest available quality. At the moment you cannot configure this. I think this fits to everybody using volumio and youtube.

Wish this would work with Tidalā€¦ Maybe soon

Anyway can I download it directly to my Odroid C0 via the plug in manager?

Cheers

Hello,
New on volumio, I download your plugin Youtube. And first of all, thanks for your development.
I create a playlist Youtube on volumio by UI
But itā€™s impossible to add or insert a playlist Youtube directly (like this one find by search mode = commercial music)
Also impossible to add any song to playlist Youtube

The only way I found is to add to queue with UI and after, in ssh mode, copy the content I want of the file /data/queue into the /data/playlist/Youtube file

Is it normal in this version or I have a problem of installation or permission ?

Thks

You can create a plugin wish here: plugin-wish-list-t4361.html

Yes, it should be available in the plugin manager.

Well, currently this is not supported by volumio itself and therefore we cannot add support for it in our plugin. We will fix this in volumio directly and then it will be available for the youtube plugin too. :slight_smile:

Thks sla89 for your quick answer :wink:
Ok Iā€™ll wait for an evolution of volumio.

You are welcome :slight_smile:

i have same problem when i search in youtube i will get an ā€œerror occuredā€
here the log

i have tried to reinstall the plugin without successā€¦
volumio2.JPG

Can you please tell me which version of the plugin you have tried, which version of volumio you are using and on what platform?

Ok, great, thatā€™s perfect ! Thank you very much for your answer.

You are welcome.

By the way there is a new version available. :slight_smile:
You can update it under Plugins -> Search Plugins -> Update. :slight_smile:

i saw it was 2.163 installed and volumio found ā€œno updatesā€ and i thought that was the newest version.
anyway i make a clean install with the current version and now everything is fine.

I am glad to hear that :slight_smile:

Hi guys,
I think you made a great work with this plugin!
Now I inserted the support to youtube plugin(including installation/enabling and updating) to the sound@home App.
Give a try and let me know your comments @:digx@hotmail.it

Oh - nice! I will take a look at it in the next two weeks and give you feedback. :slight_smile:

I have tested it over the weekend and it works great :slight_smile:

Hi @pintea.

New in the forum and new in volume.

I had tried to install the youtube plugin and I get an error.

I paste the info trying to get any advise in order to solve the problem

[code]Aug 15 18:21:48 volumio volumio[902]: info: CoreCommandRouter::volumioGetState
Aug 15 18:21:48 volumio volumio[902]: info: [1502821308577] CoreStateMachine::getState
Aug 15 18:21:48 volumio volumio[902]: info: [1502821308580] CorePlayQueue::getTrack 0
Aug 15 18:21:48 volumio volumio[902]: info:
Aug 15 18:21:48 volumio volumio[902]: [1502821308582] ---------------------------- Client requests Volumio state
Aug 15 18:21:48 volumio volumio[902]: info: [1502821308585] InterfaceWebUI::pushState
Aug 15 18:21:48 volumio volumio[902]: info: [1502821308664] ------------------------------ 91ms
Aug 15 18:21:50 volumio volumio[902]: info: CoreCommandRouter::executeOnPlugin: multiroom , getMultiroom
Aug 15 18:21:50 volumio volumio[902]: Plugin multiroom or method getMultiroom not found
Aug 15 18:21:50 volumio volumio[902]: info:
Aug 15 18:21:50 volumio volumio[902]: [1502821310572] ---------------------------- Client requests Menu Items
Aug 15 18:21:50 volumio volumio[902]: info: [1502821310579] Listing playlists
Aug 15 18:21:50 volumio volumio[902]: info: CoreCommandRouter::executeOnPlugin: appearance , getUiSettings
Aug 15 18:21:50 volumio volumio[902]: info: [1502821310644] ------------------------------ 72ms
Aug 15 18:21:54 volumio volumio[902]: info: []
Aug 15 18:22:00 volumio volumio[902]: info: Following Redirect to: http://volumio.github.io/volumio-plugins/plugins/volumio/armhf/plugins.json
Aug 15 18:22:04 volumio volumio[902]: info: Downloading plugin at http://volumio.github.io/volumio-plugins/plugins/volumio/armhf/music_service/youtube/youtube.zip
Aug 15 18:22:07 volumio volumio[902]: info: END DOWNLOAD: http://volumio.github.io/volumio-plugins/plugins/volumio/armhf/music_service/youtube/youtube.zip
Aug 15 18:22:31 volumio volumio[902]: info: Checking if plugin already exists
Aug 15 18:22:31 volumio volumio[902]: info: Rename folder
Aug 15 18:22:37 volumio volumio[902]: info: Move to category
Aug 15 18:22:42 volumio volumio[902]: info: Checking if install.sh is present
Aug 15 18:22:42 volumio volumio[902]: info: Executing install.sh
Aug 15 18:22:42 volumio sudo[8508]: pam_unix(sudo:auth): authentication failure; logname= uid=1000 euid=0 tty= ruser=volumio rhost= user=volumio
Aug 15 18:22:45 volumio sudo[8508]: pam_unix(sudo:auth): conversation failed
Aug 15 18:22:45 volumio sudo[8508]: pam_unix(sudo:auth): auth could not identify password for [volumio]
Aug 15 18:22:45 volumio sudo[8508]: volumio : 1 incorrect password attempt ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh /data/plugins//music_service/youtube/install.sh
Aug 15 18:22:45 volumio volumio[902]: info: Install script return the error Error: Command failed: echo volumio | sudo -S sh /data/plugins//music_service/youtube/install.sh > /tmp/installog
Aug 15 18:22:45 volumio volumio[902]: [sudo] password for volumio: Sorry, try again.
Aug 15 18:22:45 volumio volumio[902]: [sudo] password for volumio:
Aug 15 18:22:45 volumio volumio[902]: sudo: 1 incorrect password attempt
Aug 15 18:22:45 volumio volumio[902]: info: An error occurred installing the plugin. Rolling back config
Aug 15 18:22:45 volumio volumio[902]: info: Plugin folders cleanup
Aug 15 18:22:45 volumio volumio[902]: info: Scanning into folder /volumio/app/plugins/
Aug 15 18:22:45 volumio volumio[902]: info: Scanning category audio_interface
Aug 15 18:22:45 volumio volumio[902]: info: Scanning category miscellanea
Aug 15 18:22:45 volumio volumio[902]: info: Scanning category music_service
Aug 15 18:22:45 volumio volumio[902]: info: Scanning category plugins.json
Aug 15 18:22:45 volumio volumio[902]: info: Scanning category system_controller
Aug 15 18:22:45 volumio volumio[902]: info: Scanning category user_interface
Aug 15 18:22:45 volumio volumio[902]: info: Scanning into folder /data/plugins/
Aug 15 18:22:45 volumio volumio[902]: info: Scanning category music_service
Aug 15 18:22:45 volumio volumio[902]: info: Plugin youtube found in folder but missing in configuration. Removing folder.
Aug 15 18:22:46 volumio volumio[902]: info: Plugin folders cleanup completed
Aug 15 18:22:46 volumio volumio[902]: info: Error: Error
Aug 15 18:22:46 volumio volumio[902]: info: Folder /tmp/downloaded_plugin removed
Aug 15 18:22:46 volumio volumio[902]: info: Folder /tmp/downloaded_plugin.zip removed

[/code]

volumio@volumio:/$ ls /data/ INTERNAL backgrounds favourites playerstate plugins albumart configuration laststates.json playlist queue volumio@volumio:/$



volumio@volumio:/$ ls /data/configuration
audio_interface  miscellanea  music_service  netconfigured  plugins.json  system_controller
volumio@volumio:/$ 
ls /data/configuration/music_service
volumio@volumio:/$ ls /data/plugins/plugins.json
ls: cannot access /data/plugins/plugins.json: No such file or directory
volumio@volumio:/$ 

Thanks in advance.

Hi @frankysoft,

Sorry for the late answer.
Iā€™m not actively working on the plugin anymore and sla should be your reference point.

Anyways, have you changed the default password for user ā€œvolumioā€?
If Iā€™m not mistaken, the default password (ā€œvolumioā€) is hardcoded into the plugin installer and changing it will cause plugins not to install correctly.

I think someone is working on that and will fix it soon, in the meanwhile, if you have changed the password for user ā€œvolumioā€ to something other than ā€œvolumioā€ you could roll it back and that should fix your problem!

Best regards!

Thanks @pintea.

No, there is no password change. ItĀ“s volumio.

I take note about sla reference.

Regards.

Hi,

I think it has nothing to do with the plugin itself but with your system configuration.

These lines say that you have authentication problems:

Aug 15 18:22:42 volumio sudo[8508]: pam_unix(sudo:auth): authentication failure; logname= uid=1000 euid=0 tty= ruser=volumio rhost=  user=volumio
Aug 15 18:22:45 volumio sudo[8508]: pam_unix(sudo:auth): conversation failed
Aug 15 18:22:45 volumio sudo[8508]: pam_unix(sudo:auth): auth could not identify password for [volumio]
Aug 15 18:22:45 volumio sudo[8508]: volumio : 1 incorrect password attempt ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh /data/plugins//music_service/youtube/install.sh
Aug 15 18:22:45 volumio volumio[902]: info: Install script return the error Error: Command failed: echo volumio | sudo -S sh /data/plugins//music_service/youtube/install.sh > /tmp/installog
Aug 15 18:22:45 volumio volumio[902]: [sudo] password for volumio: Sorry, try again.
Aug 15 18:22:45 volumio volumio[902]: [sudo] password for volumio:
Aug 15 18:22:45 volumio volumio[902]: sudo: 1 incorrect password attempt
Aug 15 18:22:45 volumio volumio[902]: info: An error occurred installing the plugin. Rolling back config

Have you tried to install any other plugin like spotify or so?