[PLUGIN] YouTube for Volumio

Discuss, contribute and orient Volumio development!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

[PLUGIN] YouTube for Volumio

Postby arnold » Sat Feb 01 2020 18:59

Hallo
I have inserted the zip file in

/Home /Volumio/youtube-20191224.zip


then the file

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
volumio@volumio:~$ volumio vrestart
volumio@volumio:~$ cd /home/volumio
volumio@volumio:~$ mkdir volumio_youtube_install
mkdir: cannot create directory 'volumio_youtube_install': File exists
volumio@volumio:~$ miniunzip /youtube-20191224.zip
MiniUnz 1.01b, demo of zLib + Unz package written by Gilles Vollant
more info at http://www.winimage.com/zLibDll/unzip.html

Cannot open /youtube-20191224.zip or /youtube-20191224.zip.zip
volumio@volumio:~$ volumio plugin install

This command will install the plugin on your device

No package found
volumio@volumio:~$ No package found
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Cannot open /youtube-20191224.zip or /youtube-20191224.zip.zip


I am not able to do that I still need wrapping program ? with Linux sheep I don't,
I could ask for all the orders to just copy this
Random avatar
arnold
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Sun Jun 30 2019 17:51

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


[PLUGIN] YouTube for Volumio

Postby Vampman » Sun Feb 02 2020 00:34

Everything configured, I can see my playlist, subs, likes etc... but YT does not play. If I click play, it is showing normal popup with loading but nothing happen. Below is error:
Code: Select all
Feb 02 00:32:14 volumio volumio[975]: info: [1580603534177] Youtube::clearAddPlayTrack
Feb 02 00:32:14 volumio volumio[975]: Error opening Youtube stream, video is probably not valid.
Random avatar
Vampman
Fresh off the boat
Fresh off the boat
 
Posts: 3
Joined: Sat Nov 30 2019 22:11


[PLUGIN] YouTube for Volumio

Postby Vampman » Sun Feb 02 2020 01:27

Vampman wrote:Everything configured, I can see my playlist, subs, likes etc... but YT does not play. If I click play, it is showing normal popup with loading but nothing happen. Below is error:
Code: Select all
Feb 02 00:32:14 volumio volumio[975]: info: [1580603534177] Youtube::clearAddPlayTrack
Feb 02 00:32:14 volumio volumio[975]: Error opening Youtube stream, video is probably not valid.

Fixed now, manually copied node_modules directory and restarted.
Random avatar
Vampman
Fresh off the boat
Fresh off the boat
 
Posts: 3
Joined: Sat Nov 30 2019 22:11


[PLUGIN] YouTube for Volumio

Postby patrickkfkan » Sun Feb 02 2020 08:17

arnold wrote:Hallo
I have inserted the zip file in

/Home /Volumio/youtube-20191224.zip


then the file

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
volumio@volumio:~$ volumio vrestart
volumio@volumio:~$ cd /home/volumio
volumio@volumio:~$ mkdir volumio_youtube_install
mkdir: cannot create directory 'volumio_youtube_install': File exists
volumio@volumio:~$ miniunzip /youtube-20191224.zip
MiniUnz 1.01b, demo of zLib + Unz package written by Gilles Vollant
more info at http://www.winimage.com/zLibDll/unzip.html

Cannot open /youtube-20191224.zip or /youtube-20191224.zip.zip
volumio@volumio:~$ volumio plugin install

This command will install the plugin on your device

No package found
volumio@volumio:~$ No package found
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Cannot open /youtube-20191224.zip or /youtube-20191224.zip.zip


I am not able to do that I still need wrapping program ? with Linux sheep I don't,
I could ask for all the orders to just copy this


You did not enter the commands correctly. Since you have downloaded the file to /home/volumio , you should now do this:

Code: Select all
cd /home/volumio/volumio_youtube_install
miniunzip ../youtube-20191224.zip
volumio plugin install
User avatar
patrickkfkan
Serious Listener
Serious Listener
 
Posts: 94
Joined: Tue Nov 05 2019 10:52
Location: Hong Kong


[PLUGIN] YouTube for Volumio

Postby patrickkfkan » Sun Feb 02 2020 08:19

Vampman wrote:
Vampman wrote:Everything configured, I can see my playlist, subs, likes etc... but YT does not play. If I click play, it is showing normal popup with loading but nothing happen. Below is error:
Code: Select all
Feb 02 00:32:14 volumio volumio[975]: info: [1580603534177] Youtube::clearAddPlayTrack
Feb 02 00:32:14 volumio volumio[975]: Error opening Youtube stream, video is probably not valid.

Fixed now, manually copied node_modules directory and restarted.


The old plugin probably didn't get uninstalled completely, so files inside the node_modules directory didn't get overwritten by the newer ones.
User avatar
patrickkfkan
Serious Listener
Serious Listener
 
Posts: 94
Joined: Tue Nov 05 2019 10:52
Location: Hong Kong


Re: [PLUGIN] YouTube for Volumio

Postby burghy » Sun Feb 02 2020 09:47

Please stefan laesser and cristian pintea. Update a ufficial plugin for a noob user
Random avatar
burghy
Sunday DIYer
Sunday DIYer
 
Posts: 34
Joined: Wed Feb 14 2018 11:59


[PLUGIN] YouTube for Volumio

Postby dippes » Sun Feb 02 2020 12:31

I have set up Volumio again.

When installing youtube-20191224.zip manually, the plugin hangs when loading.
What's going on there?

Code: Select all

Code: Select all
root@volumio:/home/volumio/youtube# volumio plugin install

This command will install the plugin on your device

Compressing the plugin
Plugin succesfully compressed
Progress: 10
Status :Plugin wird geladen

Code: Select all
Feb 02 14:00:31 volumio volumio[3466]: info: Downloading plugin at http://127.0.0.1:3000/plugin-serve/youtube.zip
Feb 02 14:00:31 volumio volumio[3466]: info: Cannot download file http://127.0.0.1:3000/plugin-serve/youtube.zip - Error: Command failed: /bin/mv /tmp/plugins/youtube.zip /tmp/downloaded_plugin.zip
Feb 02 14:00:31 volumio volumio[3466]: /bin/mv: cannot move '/tmp/plugins/youtube.zip' to '/tmp/downloaded_plugin.zip': Operation not permitted
Feb 02 14:00:31 volumio volumio[3466]: info: Error: Error: Error: Command failed: /bin/mv /tmp/plugins/youtube.zip /tmp/downloaded_plugin.zip
Feb 02 14:00:31 volumio volumio[3466]: /bin/mv: cannot move '/tmp/plugins/youtube.zip' to '/tmp/downloaded_plugin.zip': Operation not permitted
Random avatar
dippes
Sunday DIYer
Sunday DIYer
 
Posts: 21
Joined: Sat Sep 08 2018 15:46


[PLUGIN] YouTube for Volumio

Postby patrickkfkan » Sun Feb 02 2020 14:26

dippes wrote:I have set up Volumio again.

When installing youtube-20191224.zip manually, the plugin hangs when loading.
What's going on there?

Code: Select all

Code: Select all
root@volumio:/home/volumio/youtube# volumio plugin install

This command will install the plugin on your device

Compressing the plugin
Plugin succesfully compressed
Progress: 10
Status :Plugin wird geladen

Code: Select all
Feb 02 14:00:31 volumio volumio[3466]: info: Downloading plugin at http://127.0.0.1:3000/plugin-serve/youtube.zip
Feb 02 14:00:31 volumio volumio[3466]: info: Cannot download file http://127.0.0.1:3000/plugin-serve/youtube.zip - Error: Command failed: /bin/mv /tmp/plugins/youtube.zip /tmp/downloaded_plugin.zip
Feb 02 14:00:31 volumio volumio[3466]: /bin/mv: cannot move '/tmp/plugins/youtube.zip' to '/tmp/downloaded_plugin.zip': Operation not permitted
Feb 02 14:00:31 volumio volumio[3466]: info: Error: Error: Error: Command failed: /bin/mv /tmp/plugins/youtube.zip /tmp/downloaded_plugin.zip
Feb 02 14:00:31 volumio volumio[3466]: /bin/mv: cannot move '/tmp/plugins/youtube.zip' to '/tmp/downloaded_plugin.zip': Operation not permitted


This problem seems to originate from Volumio and not the plugin itself. From the logs it looks like it's a user permission error with /tmp/downloaded_plugin.zip not being able to be overwritten.

Here's what I would do:
Code: Select all
sudo rm /tmp/downloaded_plugin.zip


From the logs it appears you were running as root, but the plugin should be installed with normal volumio user. So, exit from root and retry the 'volumio plugin install' command.
User avatar
patrickkfkan
Serious Listener
Serious Listener
 
Posts: 94
Joined: Tue Nov 05 2019 10:52
Location: Hong Kong


[PLUGIN] YouTube for Volumio

Postby arnold » Mon Feb 03 2020 20:28

hello
have now tried to talk to
cd /home/volumio/volumio_youtube_install
miniunzip ../youtube-20191224.zip
volumio plugin install

volumio restarted
YouTube Pluging only standard then 3 positions filled again restart volumio and RUNS!!!!!!!!
as a beginner I am MEGA proud


Patrick super Performance
Random avatar
arnold
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Sun Jun 30 2019 17:51


[PLUGIN] YouTube for Volumio

Postby Minimumrage » Sat Feb 15 2020 05:46

Excuse me for butting in here. I was wondering what was happening with the YT plugin, is it broken for everyone? I think i remember reading there was a problem with it. Is there going to be an update or repair at some point, anytime soon? It hasn't been working for me for ages, I cant remember the error message as I currently have the plugin uninstalled.
Also, would it be a good idea to have a news section on the forum for announcements and updates on current volumio system status?
Thanks for all the hard work for an otherwise great system.
Tim - Oxford
Random avatar
Minimumrage
Fresh off the boat
Fresh off the boat
 
Posts: 8
Joined: Tue Oct 22 2019 21:05

PreviousNext

Return to Development talks

Who is online

Users browsing this forum: No registered users and 1 guest