The standard method to install youtube plugin from available plugins has changed -> google.com/device no longer supports direct authentication with security code provided.
I tried installing youtube plugin but it doesn’t move from downloading status. Internet works fine - webradio, version update checks etc & ping google.com through putty.
Ok thanks a lot, I didn’t know it was possible to send files via ssh .
I did it with FileZilla (I’m working on Mac).
So I uncompressed the plugin file and launched the install.
I got a first error message:
[code]This command will install the plugin on your device
Compressing the plugin
Plugin succesfully compressed
/bin/mv: target ‘/tmp/plugins/youtube.zip’ is not a directory
child_process.js:644
throw err;
^
Error: Command failed: /bin/mv *.zip /tmp/plugins/youtube.zip
/bin/mv: target ‘/tmp/plugins/youtube.zip’ is not a directory
at checkExecSyncError (child_process.js:601:13)
at execSync (child_process.js:641:13)
at install (/volumio/pluginhelper.js:688:9)
at Object.<anonymous> (/volumio/pluginhelper.js:749:9)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
volumio@mikhifi:~/volumio_youtube_install$[/code]
So I created this directory (/tmp/plugins/youtube.zip)
And now I have a new error message:
[code]This command will install the plugin on your device
Compressing the plugin
Plugin succesfully compressed
Progress: 10
Status :Télécharger le plugin
Progress: 30
Status :Création de l’emplacement de déstination
Progress: 0
Status :Une erreur est survenue lors de l’installation du plugin Error: Error unzipping plugin: Error: Command failed: /usr/bin/miniunzip -o /tmp/downloaded_plugin.zip -d /data/temp/downloaded_plugin
[/code]
There is surely something I’m doing wrong, but what?..
Someone to help me?..
Don’t unzip the file, just place it in your Volumio home directory (/home/volumio)
Then in Volumio console, enter the following:
volumio@volumio:~$ cd /home/volumio
volumio@volumio:~$ mkdir volumio_youtube_install
volumio@volumio:~$ cd volumio_youtube_install
volumio@volumio:~/volumio_youtube_install$ miniunzip ../<name of zip file downloaded>
volumio@volumio:~/volumio_youtube_install$ volumio plugin install
Istallation went fine - using the “step by step” manual from creating google credentials to activation.
Youtube plugin is running … so first day experience is nice.
Device is ODROID C2 / volumio 2.673
Sorry I’m not fluent in English so I have to use it via google translate.
I have successfully created the Youtube API but cannot install the youtube package, please help me. https://photos.app.goo.gl/Zw8FQsNiL7a4pPTZ9
I’ve been away for quite a while. Have you got the problem resolved yet? If not, could you perhaps also let me know which version of Volumio / MPD you’re using?
Thank you very much. Following and succeeding, I am really old and very poor at linux. Sorry I’m not fluent in English so I have to use it via google translate.
First of all, thnx so much for the update (am using 1116).
I do have some problems tho…not sure if this is because of the situation Volumio is used. We use it in the office, multiple people selecting things from the sequence to play, and sometimes it doesn’t want to play Youtube videos anymore (or seems stuck at wanting to play just one certain video), until some time passes, then it will be able to play something new.
It also seems that it just doesn’t want to play certain videos anymore (they won’t even load).
(in the past Youtube never really had this problem)
I am unable to obtain a code in settings for YouTube.
I have uninstalled / reinstalled several times with no avail. I have also tried deactivating the plug in numerous times but the code box in setting is BLANK.
I see that several people on the forum have the same problem - but I don’t see the solution. I have the latest volumio, youtobe installed, configured as api with my google.
The problem is that the songs are paused a few / several seconds before the end.
Is there any solution to this problem?
For videos that won’t play, Is there a youtube link which I can test on my side?
That said, I’ll have a look (when I have time) at the code that’s responsible for fetching the YouTube streams. Currently, the Youtube plugin seems to have quite a bit of overhead incurred when getting the streams - I’ll work on that probably within the next week.
I’m about to post a response further down the thread about MPD that Volumio uses. It should also provide some insight on why the plugin sometimes seem to be acting up.
When you set “Use Default” under API settings, does the Code box still remain Blank? You should get an error message like “Unable to obtain code” in the box…
Could you check the log messages and see if you spot any error messages when you activate the plugin?
I should make you aware, that I am running Volumio on an IPad (IOS).
I cannot find the API Default setting you mention. I am also unable to find the log file you mention.
The YouTube plugin is the only one that’s not working and every other other plugin has installed and is working fine.
Sorry if this comes across as me being a bit dim, but when I install the YouTube plugin, I don’t get the opportunity to intervene and the plungin installs without problem. However, when I go to settings the code box is empty and therefor I cannot proceed.