[PLUGIN] YouTube Music

Both plugins released as stable!
Enjoy! :wink:

2 Likes

Tested YT Music today on my good old rPi 3B and works great, so BIG thanks for that.
Here’s the outcome after today’s test.
Sign in: working
Browsing: working
Playback: working
Search: not working

Thanks again!

Im having a bit of an issue with my youtube music plugin. The cookie works fine and I can sign in, browse and search. However I select something to play and it will seem to halt and then once I refresh my screen it shows the album art but nothing is playing. It shows the seconds move but only when I refresh the page. Strangely I try spotify and it works and plays fine. Ive tried restarting, re installing a few times now and still nothing makes it play properly. I’ve enabled the logs and this is what im seeing

info: [ytmusic-play] clearAddPlayTrack: ytmusic/video@explodeTrackData:o=%7B%22type%22%3A%22video%22%2C%22title%22%3A%22Overture%20(Live%20from%20the%20Royal%20Albert%20Hall)%22%2C%22artist%22%3A%22Dua%20Lipa%22%2C%22album%22%3A%22%22%2C%22albumart%22%3A%22https%3A%2F%2Fi.ytimg.com%2Fvi%2F8cdR_qh-FtI%2Fhq720.jpg%3Fsqp%3D-oaymwEXCNUGEOADIAQqCwjVARCqCBh4INgESFo%26rs%3DAMzJL3ksqNRJY_5Bb_HczXMOaBSD1Ng9LA%22%2C%22endpoint%22%3A%7B%22type%22%3A%22watch%22%2C%22payload%22%3A%7B%22videoId%22%3A%228cdR_qh-FtI%22%2C%22playlistId%22%3A%22OLAK5uy_m3euCKWKzGGw_cZdUxEYUmgbaxunEALq0%22%2C%22params%22%3A%22OAHyAQIIAaIDC21aNDRwb0JOT0tN%22%2C%22index%22%3A0%2C%22playlistSetVideoId%22%3A%2277818B147BC796F4%22%7D%2C%22musicVideoType%22%3A%22MUSIC_VIDEO_TYPE_OMV%22%7D%2C%22autoplayContext%22%3A%7B%22fetchEndpoint%22%3A%7B%22type%22%3A%22watch%22%2C%22payload%22%3A%7B%22videoId%22%3A%228cdR_qh-FtI%22%2C%22playlistId%22%3A%22OLAK5uy_m3euCKWKzGGw_cZdUxEYUmgbaxunEALq0%22%2C%22params%22%3A%22OAHyAQIIAaIDC21aNDRwb0JOT0tN%22%2C%22index%22%3A0%2C%22playlistSetVideoId%22%3A%2277818B147BC796F4%22%7D%2C%22musicVideoType%22%3A%22MUSIC_VIDEO_TYPE_OMV%22%7D%7D%7D
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig eth0
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root

info: CoreCommandRouter::executeOnPlugin: my_volumio , getAutoUpdateCheckEnabled
info: CoreCommandRouter::executeOnPlugin: updater_comm , getUpdateMessageCache
info: CoreCommandRouter::volumioGetVisibleSources
info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::executeOnPlugin: metavolumio , getInfinityPlayback
info: CoreCommandRouter::volumioGetQueue
info: CoreStateMachine::getQueue
info: CorePlayQueue::getQueue
info: Listing playlists
info: CoreCommandRouter::executeOnPlugin: multiroom , getMultiroom
info: Received Get System Info
info: CoreCommandRouter::executeOnPlugin: system , getSystemInfo
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , getThisDevice
info: Discovery: Getting this device information
info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::executeOnPlugin: network , getCachedIPAddresses
info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::executeOnPlugin: appearance , getUiSettings
info: CoreCommandRouter::executeOnPlugin: system , getPrivacySettings
info: CoreCommandRouter::getUIConfigOnPlugin
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: Received Get System Info
info: CoreCommandRouter::executeOnPlugin: system , getSystemInfo
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , getThisDevice
info: Discovery: Getting this device information
info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::executeOnPlugin: network , getCachedIPAddresses
info: CoreCommandRouter::executeOnPlugin: wizard , getOnboardingWizard
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: Received Get System Info
info: CoreCommandRouter::executeOnPlugin: system , getSystemInfo
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , getThisDevice
info: Discovery: Getting this device information
info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::executeOnPlugin: network , getCachedIPAddresses
info: CoreCommandRouter::executeOnPlugin: appearance , isLatestTOSAccepted
info: CoreCommandRouter::executeOnPlugin: system , getPrivacySettings
info: CALLMETHOD: system_controller my_volumio retreiveBackendEventStates undefined
info: CoreCommandRouter::executeOnPlugin: my_volumio , retreiveBackendEventStates
info: Received Get System Version
info: CoreCommandRouter::executeOnPlugin: system , getSystemVersion
info: Received Get System Info
info: CoreCommandRouter::executeOnPlugin: system , getSystemInfo
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , getThisDevice
info: Discovery: Getting this device information
info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::executeOnPlugin: network , getCachedIPAddresses

State here: Plugin says I’m signed in however I can’t search nor play. I keep trying.

Wonder if this is the same issue im having too. Says im signed in but just wont play

Same here. I can sign in and see my albums and playlists, but nothing plays.
I get the following error:-

Error

Failed to decode https://rr5---sn-aigzrnze.c.youtube.com/videoplayback?expire=1733866678&ei=VmBYZ5WgBNP8hcIP6Nq5yQk&ip=90.248.222.88&id=o-AAqBif48YZguX8QSyxEpUd86riWagtJcoBTwtCkZZRw-&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1733845078%2C&mh=XL&mm=32%2C26&mn=sn-aigzrnze%2Csn-5hne6nzk&ms=su%2Conr&mv=m&mvi=5&pl=19&rms=su%2Csu&sc=yes&gcr=gb&initcwndbps=1731250&siu=1&bui=AQn3pFTdpriohqCqzaFPFJ3tEJPX8Nnwtqn1kYI3FRHm8WmqiXQBZgsfzbUZ9_8vmSKJ654UZQ&spc=qtApAe8L9paucd4_0W63CJkQ_vwA99ArgBOknPx7wT-vwdtEaAYEdnbsCzE42ig8PMwHkFoHnQ&vprv=1&prv=1&svpuc=1&mime=audio%2Fmp4&ns=Eh6mWYZU4gAUjaOccsYmCMwQ&rqh=1&gir=yes&clen=12230329&dur=755.533&lmt=1591624248470000&mt=1733844766&fvip=3&keepalive=yes&fexp=51326932%2C51335594%2C51347746&c=WEB_REMIX&sefc=1&n=vcFOIeZFAU6BefNsGi&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Csiu%2Cbui%2Cspc%2Cvprv%2Cprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAP2YExz87a0bQrIg6jQtQIx41gFJjm7X1__Pw2etYnymAiAYxGlO2uN8IwijJSTWy4X8de; got HTTP status 403

2 Likes

I can’t see mine

3 Likes

… that sounds good.
I will give it a try when i come home. I hope version 1.2.1 somehow appears :slight_smile:
Thx for all the work you put in the plugin

Strange. I was convinced I installed the 1.2.1 version, of course it didn’t work. When looking in the plugnin list, the 1.2.0 is installed. I don’t get it :face_with_diagonal_mouth:

Next try tomorrow! :smiley:

Latest is v1.2.2 . @balbuze might be busy. Perhaps @nerd can help in unblocking the ā€˜beta’ status of the YT plugins?

Hey @Daraia,

It is showing version 1.2.2

image

Perhaps reboot?

Kind Regards,

Sorry for the delay. I’ll be able to have a look in one hour…

2 Likes

I see that


I had to push Youtube2 1.3.3 as stable. It seems the problem was due to the fact we removed the plugin from the store.
Youtube2 1.3.3 install ok. But can’t play. I’m not connected. I don’t use it, so I don’t know what should happen.
I’m going to check other plugin.

Tried to update to v1.2.2, now it doesn’t work, I can successfully sign in and browse in my account, but unable to play anything, I’ll keep checking the coming days, thanks again to the developer :slight_smile:

Pushed youtube music v1.2.2.
Remove previous version. Reboot and install it.

Thanks @balbuze. I can see and install both plugins now.

I think Volumio should show a message reminding users to reboot every time a plugin is updated / installed.

This the case only for beta… But as we removed previous version from the store and restore (first time it happens) with new version, it seems to be the cause… But if now ok, super! Thank you for your work! :wink:

1 Like

1.2.2 is working fine again.
Thanks

YoutubeMusic version 1.2.2. plays correctly but search doesn’t go.
Youtube2 version 1.3.3 doesn’t work !!!
hank you very much

Starting Live Log...
serial-getty@ttyS3.service: Current command vanished from the unit file, execution of the command list won't be resumed.
Reloading.
/lib/systemd/system/winbind.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/winbindd.pid → /run/samba/winbindd.pid; please update the unit file accordingly.
Reloading.
/lib/systemd/system/winbind.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/winbindd.pid → /run/samba/winbindd.pid; please update the unit file accordingly.
pam_unix(sudo:session): session closed for user root
info: enable SSH service success
info: CALLMETHOD: system_controller system enableLiveLog true
info: CoreCommandRouter::executeOnPlugin: system , enableLiveLog
info: Launching a new LiveLog session
info: Preload queue cleared
info: CoreCommandRouter::volumioReplaceandPlayItems
info: CoreStateMachine::ClearQueue
info: CoreStateMachine::stop
info: CoreStateMachine::setConsumeUpdateService undefined
info: CorePlayQueue::clearPlayQueue
info: CorePlayQueue::saveQueue
info: CoreCommandRouter::volumioPushQueue
info: CoreStateMachine::addQueueItems
info: CorePlayQueue::addQueueItems
info: Preload queue cleared
info: Adding Item to queue: youtube2/generic@endpoint:o=%7B%22type%22%3A%22browse%22%2C%22payload%22%3A%7B%22browseId%22%3A%22UCcXkVzu0xAvW7gQNKNZlH7g%22%7D%7D
info: Using cached record of: youtube2/generic@endpoint:o=%7B%22type%22%3A%22browse%22%2C%22payload%22%3A%7B%22browseId%22%3A%22UCcXkVzu0xAvW7gQNKNZlH7g%22%7D%7D
info: CoreCommandRouter::volumioPushQueue
info: CorePlayQueue::saveQueue
info: CoreStateMachine::updateTrackBlock
info: CorePlayQueue::getTrackBlock
info: CoreCommandRouter::volumioPlay
info: CoreStateMachine::play index 0
info: CoreStateMachine::setConsumeUpdateService undefined
info: CoreStateMachine::stop
info: CoreStateMachine::setConsumeUpdateService undefined
info: CoreStateMachine::play index undefined
info: CoreStateMachine::setConsumeUpdateService undefined
info: CorePlayQueue::getTrack 0
info: CoreStateMachine::startPlaybackTimer
info: CorePlayQueue::getTrack 0
info: [youtube2-play] clearAddPlayTrack: youtube2/video@endpoint:o=%7B%22type%22%3A%22watch%22%2C%22payload%22%3A%7B%22videoId%22%3A%228vY6WvwPSzc%22%2C%22playlistId%22%3A%22PLxPBJ9UVuE7iH1gXS1RCkCEgSvuFs5ozu%22%2C%22params%22%3A%22OAE%253D%22%2C%22index%22%3A0%7D%7D@explodeTrackData:o=%7B%22title%22%3A%22Ozork%C3%B3w%20Tesco%202%22%2C%22artist%22%3A%22James%20L.%20Rozier%22%2C%22albumart%22%3A%22https%3A%2F%2Fi.ytimg.com%2Fvi%2F8vY6WvwPSzc%2Fhqdefault.jpg%3Fsqp%3D-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg%3D%3D%26rs%3DAOn4CLCpZ1xl22d-s79yWkmftD4m1a03Zw%22%2C%22endpoint%22%3A%7B%22type%22%3A%22watch%22%2C%22payload%22%3A%7B%22videoId%22%3A%228vY6WvwPSzc%22%2C%22playlistId%22%3A%22PLxPBJ9UVuE7iH1gXS1RCkCEgSvuFs5ozu%22%2C%22params%22%3A%22OAE%253D%22%2C%22index%22%3A0%7D%7D%7D
info: CorePlayQueue::getTrack 0

info: sendMpdCommand stop took 9 milliseconds

info: sendMpdCommand clear took 1 milliseconds

info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info: sendMpdCommand addid "https://rr1---sn-uxaxpu5ap5-jp5l.googlevideo.com/videoplayback?expire=1734102298&ei=uvhbZ7GALeKvi9oPiqvSmA0&ip=79.19.246.233&id=o-AJlHy6bTMML3gLU8A73Ji6zJ3fag_h4J5kxipC-m1ilD&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1734080698%2C&mh=oT&mm=31%2C29&mn=sn-uxaxpu5ap5-jp5l%2Csn-hpa7zn6s&ms=au%2Crdu&mv=m&mvi=1&pl=24&rms=au%2Cau&initcwndbps=2257500&siu=1&bui=AfMhrI-ePC1lTT950Svv82ynOBllVYHMUFFNZZdBa-f9YYUbXxbQqT2fbWHOmEGbxnnKrp6y4A&spc=x-caUGjMFskgeV7-ZlvH_4lZSfgZ0QYxsT_gkPS9QkU2G8BkibQHN-1GFTfAmJDon-zS3Qj_gqwx&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=fJoLcceo3WWa_dudD8jQlswQ&rqh=1&gir=yes&clen=497144&dur=30.650&lmt=1712215253950785&mt=1734080237&fvip=2&keepalive=yes&fexp=51326932%2C51335594%2C51347747%2C51355912&c=WEB&sefc=1&txp=1432434&n=EggM7bOgirkqAA&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Csiu%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAP0iIy3-5f9TvO-_NGRMsDszS0TZHfnZonKfAUYGpRaeAiA5gO_JgGoGep0MM7uT1JbxmMTLWQFVfKmNUhy38MUMcg%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRgIhAIXNTg_2QYGGQ5WXNMvZG53NbsfO8wtOxbKyMSEJddLBAiEAt77vuJw3w8ubVVoP0Ee0l3oW4GTFWBWUVu6jKh5XrUU%3D&pot=MpgBmboATOB03zCZhvWNTfw0_HQDYbbodEMuGTf3j1zXbSAgzKGIhHRJRbnGufckpAbYpp8BBmmg9HRlB1op6QYa2H8X9G0R4O2TvlVGCJ8QOrGUW6lIPxkxbKHBN41OpEMdxZmo6hyij1hhcPpN1_7f3nIDAGTAIX2Ssgdl4-hl13qpmHb2z3TU0nJ2jWTl8_D5KLWUYNl85nk%3D&cver=2.20241121.01.00&t.YouTube" took 3 milliseconds



info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info: ------------------------------ 5ms
info: ------------------------------ 6ms
info: ------------------------------ 3ms
info: ------------------------------ 3ms
info: CoreStateMachine::setConsumeUpdateService mpd

info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info: ------------------------------ 6ms
info: sendMpdCommand play took 5 milliseconds
info: ------------------------------ 4ms
info: ------------------------------ 3ms
info:
---------------------------- MPD announces state update: player
info: ControllerMpd::getState

info:
---------------------------- MPD announces state update: player
info: ControllerMpd::getState

info:
---------------------------- MPD announces state update: player
info: ControllerMpd::getState


info: sendMpdCommand status took 9 milliseconds

info: sendMpdCommand status took 10 milliseconds

info: sendMpdCommand status took 10 milliseconds






info: sendMpdCommand clearerror took 18 milliseconds
info: sendMpdCommand clearerror took 15 milliseconds
info: sendMpdCommand clearerror took 14 milliseconds
info: sendMpdCommand playlistinfo took 6 milliseconds
info: sendMpdCommand playlistinfo took 4 milliseconds
info: sendMpdCommand playlistinfo took 4 milliseconds



info: ControllerMpd::pushState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: CorePlayQueue::getTrack 0


info: CoreStateMachine::syncState   stateService stop
info: CoreStateMachine::syncState   currentStatus stop
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: No code
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: ControllerMpd::pushState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CorePlayQueue::getTrack 0


info: CoreStateMachine::syncState   stateService stop
info: CoreStateMachine::syncState   currentStatus stop
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: No code
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: ControllerMpd::pushState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CorePlayQueue::getTrack 0


info: CoreStateMachine::syncState   stateService stop
info: CoreStateMachine::syncState   currentStatus stop
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: No code
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: ------------------------------ 138ms
info: ------------------------------ 137ms
info: ------------------------------ 137ms
Soliciting pool server 93.94.88.51