[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 ma_sk1 » Tue Feb 26 2019 08:45

here is a log:

Code: Select all
Feb 26 08:44:15 volumio-mario volumio[805]: info: CURRENT POSITION 12
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreStateMachine::syncState   stateService play
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreStateMachine::syncState   currentStatus play
Feb 26 08:44:15 volumio-mario volumio[805]: info: Received an update from plugin. extracting info from payload
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreStateMachine::pushState
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreStateMachine::getState
Feb 26 08:44:15 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 12
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreCommandRouter::volumioPushState
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Feb 26 08:44:15 volumio-mario sudo[26880]: pam_unix(sudo:session): session closed for user root
Feb 26 08:44:15 volumio-mario sudo[26890]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:44:15 volumio-mario sudo[26890]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreStateMachine::pushState
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreStateMachine::getState
Feb 26 08:44:15 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 12
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreCommandRouter::volumioPushState
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Feb 26 08:44:15 volumio-mario sudo[26890]: pam_unix(sudo:session): session closed for user root
Feb 26 08:44:15 volumio-mario sudo[26902]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:44:15 volumio-mario volumio[805]: info: ControllerMpd::pushState
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreCommandRouter::servicePushState
Feb 26 08:44:15 volumio-mario volumio[805]: info: CoreStateMachine::syncState
Feb 26 08:44:15 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 12
Feb 26 08:44:15 volumio-mario volumio[805]: info: Received update from a service different from the one supposed to be playing music. Skipping notification.Current youtube Received mpd
Feb 26 08:44:15 volumio-mario sudo[26902]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:44:15 volumio-mario sudo[26908]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:44:15 volumio-mario sudo[26908]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:44:15 volumio-mario sudo[26902]: pam_unix(sudo:session): session closed for user root
Feb 26 08:44:15 volumio-mario volumio[805]: info: ------------------------------ 2208ms
Feb 26 08:44:15 volumio-mario sudo[26908]: pam_unix(sudo:session): session closed for user root
Feb 26 08:45:17 volumio-mario volumio[805]: info:
Feb 26 08:45:17 volumio-mario volumio[805]: ---------------------------- MPD announces state update: player
Feb 26 08:45:17 volumio-mario volumio[805]: info: Youtube Status Update: player
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::getState
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::sendMpdCommand status
Feb 26 08:45:17 volumio-mario volumio[805]: info: Youtube Status Update: player
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::getState
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::sendMpdCommand status
Feb 26 08:45:17 volumio-mario volumio[805]: info: Youtube Status Update: player
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::getState
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::sendMpdCommand status
Feb 26 08:45:17 volumio-mario volumio[805]: info: Youtube Status Update: player
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::getState
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::sendMpdCommand status
Feb 26 08:45:17 volumio-mario volumio[805]: info: Youtube Status Update: player
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::getState
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::sendMpdCommand status
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::getState
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::sendMpdCommand status
Feb 26 08:45:17 volumio-mario volumio[805]: info: sending command...
Feb 26 08:45:17 volumio-mario volumio[805]: info: sending command...
Feb 26 08:45:17 volumio-mario volumio[805]: info: sending command...
Feb 26 08:45:17 volumio-mario volumio[805]: info: sending command...
Feb 26 08:45:17 volumio-mario volumio[805]: info: sending command...
Feb 26 08:45:17 volumio-mario volumio[805]: info: sending command...
Feb 26 08:45:17 volumio-mario volumio[805]: info: parsing response...
Feb 26 08:45:17 volumio-mario volumio[805]: info: parsing response...
Feb 26 08:45:17 volumio-mario volumio[805]: info: parsing response...
Feb 26 08:45:17 volumio-mario volumio[805]: info: parsing response...
Feb 26 08:45:17 volumio-mario volumio[805]: info: parsing response...
Feb 26 08:45:17 volumio-mario volumio[805]: info: parsing response...
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::parseState
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::parseState
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::parseState
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::parseState
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::parseState
Feb 26 08:45:17 volumio-mario volumio[805]: info: ControllerMpd::parseState
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreStateMachine::syncState
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreStateMachine::pushState
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreStateMachine::getState
Feb 26 08:45:17 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 12
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreCommandRouter::volumioPushState
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Feb 26 08:45:17 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 12
Feb 26 08:45:17 volumio-mario volumio[805]: info: STATE SERVICE {"status":"stop","position":null,"seek":null,"duration":null,"samplerate":null,"bitdepth":null,"channels":null,"random":false,"updatedb":false,"repeat":false,"isStreaming":false,"title":null,"artist":null,"album":null,"uri":null,"trackType":"Fucking Youtube!!!!"}
Feb 26 08:45:17 volumio-mario volumio[805]: info: CURRENT POSITION 12
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreStateMachine::syncState   stateService stop
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreStateMachine::syncState   currentStatus play
Feb 26 08:45:17 volumio-mario volumio[805]: info: CURRENT POSITION 12
Feb 26 08:45:17 volumio-mario volumio[805]: info: CURRENT POSITION 13
Feb 26 08:45:17 volumio-mario volumio[805]: info: END OF QUEUE
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreStateMachine::pushEmptyState
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreCommandRouter::volumioPushState
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Feb 26 08:45:17 volumio-mario sudo[27510]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:45:17 volumio-mario sudo[27510]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreStateMachine::stPlaybackTimer
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreStateMachine::syncState
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreStateMachine::pushState
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreStateMachine::getState
Feb 26 08:45:17 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreCommandRouter::volumioPushState
Feb 26 08:45:17 volumio-mario volumio[805]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Feb 26 08:45:17 volumio-mario sudo[27510]: pam_unix(sudo:session): session closed for user root
Feb 26 08:45:17 volumio-mario sudo[27514]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:45:17 volumio-mario sudo[27514]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:45:18 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:18 volumio-mario volumio[805]: info: Received update from a service different from the one supposed to be playing music. Skipping notification.Current mpd Received youtube
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::syncState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::pushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::getState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::volumioPushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Feb 26 08:45:18 volumio-mario sudo[27524]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:45:18 volumio-mario sudo[27514]: pam_unix(sudo:session): session closed for user root
Feb 26 08:45:18 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:18 volumio-mario volumio[805]: info: Received update from a service different from the one supposed to be playing music. Skipping notification.Current mpd Received youtube
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::syncState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::pushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::getState
Feb 26 08:45:18 volumio-mario sudo[27524]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:45:18 volumio-mario sudo[27533]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:45:18 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::volumioPushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Feb 26 08:45:18 volumio-mario sudo[27533]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:45:18 volumio-mario sudo[27524]: pam_unix(sudo:session): session closed for user root
Feb 26 08:45:18 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:18 volumio-mario volumio[805]: info: Received update from a service different from the one supposed to be playing music. Skipping notification.Current mpd Received youtube
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::syncState
Feb 26 08:45:18 volumio-mario sudo[27533]: pam_unix(sudo:session): session closed for user root
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::pushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::getState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::volumioPushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Feb 26 08:45:18 volumio-mario sudo[27550]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:45:18 volumio-mario sudo[27550]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:45:18 volumio-mario sudo[27550]: pam_unix(sudo:session): session closed for user root
Feb 26 08:45:18 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:18 volumio-mario volumio[805]: info: Received update from a service different from the one supposed to be playing music. Skipping notification.Current mpd Received youtube
Feb 26 08:45:18 volumio-mario volumio[805]: info: ControllerMpd::pushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::servicePushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::syncState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::pushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::getState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::volumioPushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Feb 26 08:45:18 volumio-mario sudo[27564]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:45:18 volumio-mario sudo[27564]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:45:18 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:18 volumio-mario volumio[805]: info: STATE SERVICE {"status":"stop","position":null,"seek":null,"duration":null,"samplerate":null,"bitdepth":null,"channels":null,"random":false,"updatedb":false,"repeat":false,"isStreaming":false,"title":null,"artist":null,"album":null,"uri":null}
Feb 26 08:45:18 volumio-mario volumio[805]: info: CURRENT POSITION 0
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::syncState   stateService stop
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::syncState   currentStatus stop
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::pushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::getState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::volumioPushState
Feb 26 08:45:18 volumio-mario sudo[27564]: pam_unix(sudo:session): session closed for user root
Feb 26 08:45:18 volumio-mario sudo[27574]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:45:18 volumio-mario sudo[27574]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Feb 26 08:45:18 volumio-mario volumio[805]: info: No code
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::pushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreStateMachine::getState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CorePlayQueue::getTrack 0
Feb 26 08:45:18 volumio-mario sudo[27574]: pam_unix(sudo:session): session closed for user root
Feb 26 08:45:18 volumio-mario sudo[27585]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::volumioPushState
Feb 26 08:45:18 volumio-mario volumio[805]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Feb 26 08:45:18 volumio-mario sudo[27585]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:45:18 volumio-mario sudo[27585]: pam_unix(sudo:session): session closed for user root
Feb 26 08:45:18 volumio-mario sudo[27596]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
Feb 26 08:45:18 volumio-mario sudo[27596]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 26 08:45:18 volumio-mario sudo[27596]: pam_unix(sudo:session): session closed for user root
Feb 26 08:45:18 volumio-mario volumio[805]: info: ------------------------------ 675ms
User avatar
ma_sk1
Sunday DIYer
Sunday DIYer
 
Posts: 18
Joined: Tue Feb 06 2018 15:16

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


[PLUGIN] YouTube for Volumio

Postby ma_sk1 » Tue Feb 26 2019 19:51

At the moment the only functional way how to playback Youtube music through Volumio is Logitech Media Server and Squeeze lite player
User avatar
ma_sk1
Sunday DIYer
Sunday DIYer
 
Posts: 18
Joined: Tue Feb 06 2018 15:16


[PLUGIN] YouTube for Volumio

Postby novtom » Sun Mar 24 2019 08:17

Hello, is there something new in this topic? I have the same problem like others. My youtube songs end usually in 2/3 of the song length. Thanks
Random avatar
novtom
Sunday DIYer
Sunday DIYer
 
Posts: 15
Joined: Thu Mar 01 2018 18:42


[PLUGIN] YouTube for Volumio

Postby Pilcrw » Wed Apr 10 2019 13:04

Hello there,

I've the same problem, the song cut in the 2/3 of the end...

A topic is open in the node-ytdl-core here : https://github.com/fent/node-ytdl-core/issues/402

No fix were found in this moment...

Same problem with live stream here : https://github.com/fent/node-ytdl-core/issues/399

[EDIT] Topic issue 402 : a way to pass on "ytdl-core-discord" can be fix this problem ! But now, how to include this package ? I'm not too expert to do this ! If some buddies can be see this issue, it will be interesting ! [EDIT]

Stay tuned !

Best regards.

K.
User avatar
Pilcrw
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Sun Feb 18 2018 19:20


[PLUGIN] YouTube for Volumio

Postby ciszyn11 » Mon May 13 2019 06:32

Hi. I have myvolumio on raspberry based player using Android phone as remote. I have just installed youtube plugin in volumio, but I cannot see it on main board. Can anybode advise, what should I do do see it (sorry for my English). Thanks
Random avatar
ciszyn11
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Mon May 13 2019 06:27


[PLUGIN] YouTube for Volumio

Postby qrumba » Tue May 14 2019 13:27

Is YouTube switched on in Settings / MyMusic / Sources Visibility?
Keep listening!
q.
User avatar
qrumba
Sunday DIYer
Sunday DIYer
 
Posts: 37
Joined: Thu Jan 26 2017 16:05


[PLUGIN] YouTube for Volumio

Postby tiger9108 » Thu May 16 2019 11:57

Hello every one,
I'd like to know if there's a tutorial that helps to make youtube plugin work on Volumio ? Or how to install and use LMS with Squeezelite player on Volumio ?

I'm using Volumio on my RPi3 with Digi extension board and an external 7" touch screen.
Random avatar
tiger9108
Fresh off the boat
Fresh off the boat
 
Posts: 3
Joined: Wed Oct 24 2018 05:43


[PLUGIN] YouTube for Volumio / Error, Failed to decode

Postby Skysurfer14 » Wed Jun 12 2019 16:53

Hi there,

since yesterday I have problems with my YouTube Plugin. Most of the songs I want to hear ends with the error message "Error Failed to decode...". Complete error message in the attachment. Any ideas?
Attachments
Zwischenablage-1.jpg
Zwischenablage-1.jpg (70.45 KiB) Viewed 221 times
Random avatar
Skysurfer14
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Fri Jun 07 2019 20:05


[PLUGIN] YouTube for Volumio

Postby quatmo » Thu Jun 13 2019 08:30

Volumio Youtube
The Volumio Youtube extension allows you to queue up youtube music to your Volumio directly from the watch page!
Chrome Extension for sending video to the Volumio directly from your browser

Demo: https://www.youtube.com/watch?v=8W29QWHfKUk

Extensions Volumio Youtube: https://chrome.google.com/webstore/detail/volumio-youtube/mcpnohbckjkjmgpehoooobhbeefnajna
Random avatar
quatmo
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Thu Jun 13 2019 08:22


[PLUGIN] YouTube for Volumio

Postby tommy87 » Fri Jun 14 2019 12:08

At my job, we ran `npm i fent/node-ytdl-core` as user volumio, so we got ytdl-core@0.29.2. Then as root edited `/data/plugins/music_service/youtube/package.json` line 18 to same version `"ytdl-core": "^0.29.2"`, then removed whole node_modules folder, then `npm install`. After reboot it was working nicely again

_Originally posted by @tsrubar in https://github.com/fent/node-ytdl-core/ ... 502083412_
Random avatar
tommy87
Fresh off the boat
Fresh off the boat
 
Posts: 3
Joined: Mon Oct 12 2015 08:46
Location: Slovakia

PreviousNext

Return to Development talks

Who is online

Users browsing this forum: No registered users and 7 guests