[PLUGIN] YouTube2

Here are some screenshots:

Then I click the TRUE button but it does not do anything. ? Then I go back to volumio.local and restart volumio, then back in Volumio, only version 2.1.0 for Youtube2 is showing, not the latest betas. ?

Sooo Sooo bummed out. I had issues with my SHD Studio from MiniDSP running Volumio because Youtube plugin stopped working. I then setup a dedicated music PC for Volumio was overjoyed and over the moon that it was allowing me to use Youtube 2 plugin, along with a host of other plugins that the minidsp version of Volumio was not showing. Now…Youtube plugin is no longer working. I tried to SSH into my volumio and it is not accepting the password…goodness, I though I had written down all the passwords, but perhaps that one slipped through. Is there any high quality, low-price option, of streaming Youtube in high quality that Volumio offers, when the plugin works, where we do not have to face this uncertainty and drama when Youtube makes changes? I have tens of thousands of dollars in DACs, and amplifiers, and run a fully-active digital crossover system, with my own custom-built DIY speaker system, so I take my audio hobby very seriously, and this Youtube plugin is such a HOOT when it works!!

It’s very clearly posted above that the plugin is currently not working due to changes by YT. Hopefully a fix or workaround will come, but that is the situation right now.

I have installed V1.2.2 right now and so far it plays fine :slight_smile:
Many thx for your efforts!

Patrick, is there a way we can compensate you for your time on this? Can you please please please provide the new Youtube2 plugin for minidspshd ? The Minidsp SHD Studio is trying to download the plugin from https://plugins.volumio.workers.dev/pluginsv2/downloadLatest/youtube2/minidspshd/buster/armhf and only version 1.1.5 is there. Please? I would really really appreciate it.
And I would like to add one additional note to VOLUMIO. I am seriously contending for which system/environment/ecosystem I will settle with for streaming Youtube music and this issue with not only MINIDSP not having access to current plugins, but overall the problems with volumio and the way the plugins interact with streaming services is really a huge turn-off for me. I was seriously considering purchasing a license for using Volumio on my dedicated PC because it seems the PC has much more access to all the plugins that are not showing up for the miniDSP SHD Studio Volumio version. BUT this issue with the Youtube plugin continually breaking is really just got me considering a different company/path, whatever. Very very frustrated…

@TubemanRQ

Please keep in mind that the youtube plugins are contributed by community members, just like you and me and not Volumio.
The fact that they break is not caused by Volumio and/or @patrickkfkan. They break because Google thinks it’s funny to keep adding changes and changes.
This was already mentioned by Patrickkfan. So please read the topics before drawing the wrong conclusion.

The YouTube plugin had worked perfectly for a few weeks when I joined Volumio with version 3.6xx, can’t remember exactly. About a week ago, when I turned on the system and tried to play YouTube music, it shows ā€œError No resultā€.
I had tried:

  1. Uninstall plugin, restart, install plugin, restart again, problem persist
  2. Reflash the sd, loaded with latest version 3.779 and YouTube music plugin version 1.1.3, problem persist

However, I observed under the Music folder, Favorites always shows a YouTube music that I saved before. When I tried to remove it from the Favorites, it stays and cannot be removed.

I appreciate if anyone had a solution with this problem before and please let me know.

The youtube cast streaming option DOES work and is a good workaround for now. It’s not airplay so it doesn’t have extra layers of bs from your phone. I have been using that and it’s made it totally tolerable. Huge volumio fan and most of my music is flac anyways, but I use YT Music alot for songs I’m practicing / learning.

YouTube2 plugin updated. See here:

4 Likes

its the same also for youtube cast receiver or there its different?
thanks for your effort maintaining the plugins!

i just tested also youtube2 and youtube music works fine…
if its possible to add also beta for youtube cast receiver…

Made an account and came here just to post this: Youtube Music plugin works for me on version 1.1.3 IF I DON’T SIGN IN.

Yes, I don’t have access to my playlists and favorites and history and all that. No, I can’t control every little setting the same way I can when I’m logged in. But you know what I can do? Listen to music. And that’s why I built this thing in the first place. I’m appreciative that someone is working on this in the background, and as someone who works in IT and routinely deals with cloud-provided services just changing things on me ALL THE FREAKING TIME, its just something that comes with the territory.

SUPER,YouTube2 v1.3.1we are on the right track !!!,
but I have no access to my playlists, history.

now it works again on beta versions using cookies if you need the playlists also…

Hi :wave:t3: Casting stopped working for me. It does connect to the service but it refuses to play from YT and YTMusic plugin version 1.1.2

Tried to put the plugin test mode on true and restarted, but this will not give me any other versions I already have.

Uninstalled the YT casting plugin, restarted and installed v1.1.2 again.

In the logging I see eventually: error: Cannot update RT Device info: Error: Reference.set failed: first argument contains undefined in property ā€˜user_devices.###.stack.track’

UPnP client error: Error: this socket has been ended by the other party

Running Volumio version 3.782 on a Virtuoso license.

Other thing I see is a PlayerError: failed to extract signature decipher algorithm
And an Error: [ytcr] Error in videoloader.getInfo(##)
Error: Unexpected token (1:71)

I am able to cast from the same device and app to the Wiim Ultra.

1 Like

Hello :slight_smile:

The youtube2 plugin has stopped working for me in the last week or so.
I tried to uninstall/install it but nothing changed.
The UI appears to work and I am able to search for content but when I click on the video to play nothing happens.
Looking at the log I can see that every time I select an item to play I get this exception

info: [youtube2-play] clearAddPlayTrack: youtube2/video@endpoint:o=%7B%22type%22%3A%22watch%22%2C%22payload%22%3A%7B%22videoId%22%3A%22k1-TrAvp_xs%22%2C%22params%22%3A%22qgMGbW96YXJ0ugMKCNCK34Srk8XeRboDCwjfxcqYtqeIpYkBugMKCPP87ui1-ZCGRLoDCgjEq8KFmNjevEC6AwsI-7P_waOUwP67AboDCwjkp4_zk9bgks0BugMKCPGLv9H-r-7JbLoDCgiy97D16JTc0H26AwoI7bb2z-mFm7lQugMPEg1SRFJiMFVtckNYeFZBugMKCJeXteyH7vCMD7oDCgiTxOynw-2s2hq6AwsIwpvNnNvj36HRAboDCgiRibXP1Nv-n2G6AwsIraOH27OtxoTcAboDCgjxwsqBkYHl6QG6AwoI-evckJj2k-gtugMKCO-b4Y_E4__cA7oDCwj41oqv8aqezp0B8gMFDRjn2z6CBAIQAQ%253D%253D%22%7D%7D@explodeTrackData:o=%7B%22title%22%3A%22Mozart%20-%20Lacrimosa%22%2C%22artist%22%3A%22Rosa%20Music%22%2C%22albumart%22%3A%22https%3A%2F%2Fi.ytimg.com%2Fvi%2Fk1-TrAvp_xs%2Fhq720.jpg%3Fsqp%3D-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg%3D%3D%26rs%3DAOn4CLAKM5iogqZR9HYjDb9UoeKzqyjExw%22%2C%22endpoint%22%3A%7B%22type%22%3A%22watch%22%2C%22payload%22%3A%7B%22videoId%22%3A%22k1-TrAvp_xs%22%2C%22params%22%3A%22qgMGbW96YXJ0ugMKCNCK34Srk8XeRboDCwjfxcqYtqeIpYkBugMKCPP87ui1-ZCGRLoDCgjEq8KFmNjevEC6AwsI-7P_waOUwP67AboDCwjkp4_zk9bgks0BugMKCPGLv9H-r-7JbLoDCgiy97D16JTc0H26AwoI7bb2z-mFm7lQugMPEg1SRFJiMFVtckNYeFZBugMKCJeXteyH7vCMD7oDCgiTxOynw-2s2hq6AwsIwpvNnNvj36HRAboDCgiRibXP1Nv-n2G6AwsIraOH27OtxoTcAboDCgjxwsqBkYHl6QG6AwoI-evckJj2k-gtugMKCO-b4Y_E4__cA7oDCwj41oqv8aqezp0B8gMFDRjn2z6CBAIQAQ%253D%253D%22%7D%7D%7D
error: [youtube2] Error in VideoModel.getInfo(k1-TrAvp_xs):  Unexpected token (1:71) Error: Unexpected token (1:71)
    at Jinter.evaluate (/data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:30529:13)
    at Object.evaluate [as eval] (/data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:36917:26)
    at Player.decipher (/data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:31212:39)
    at Format.decipher (/data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:20915:19)
    at VideoModel._VideoModel_chooseFormat (/data/plugins/music_service/youtube2/dist/lib/model/VideoModel.js:86:39)
    at VideoModel.getPlaybackInfo (/data/plugins/music_service/youtube2/dist/lib/model/VideoModel.js:69:116)
    at runMicrotasks ()
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async Function.getPlaybackInfoFromUri (/data/plugins/music_service/youtube2/dist/lib/controller/play/PlayController.js:167:19)
    at async PlayController.clearAddPlayTrack (/data/plugins/music_service/youtube2/dist/lib/controller/play/PlayController.js:89:49)

I am running Volumio 3.782 with youtube2 plugin version 1.31 on a raspberry pi 400.
ā€œHelp me Obi Wan Kenobi, you’re my only hope!ā€ :smiley:

p.s. please let me know if you need any more info :slight_smile:

volumio_log_youtube2_not working.txt (27.2 KB)

It’s not just you, they changed something again… google and youtube… it’s terrible…

Check by trying to add the cookie again. In plugin settings. Works for me.

Hi,

I am new to Volumio, fresh install youtube2 and youtube music on my rpi4b with hifiberry spdif hat (latest volumio 3.779). Login with cookie is working, I can browse videos but can not play any video in youtube2, just got this error msg:

Some other interesting things: On the plugin manager under the youtube2, it shows version:1.3.1 But I am using the latest version so the new cookie login method in it.
Also the update button is active, I click it, run an install cycle and the update button still there like an infinite cycle.

What I tried: Many restart, many plugin reinstall, with or without login, plugin test mode activated.
Same issue with youtube music.

I have updated both YT and YT Music plugins. They’re just not showing up in the plugin store :man_shrugging: .

YT v1.3.2
YT Music v1.2.1

Any lower version will not work.

2 Likes

Same for the YT cast plugin, or is that a different thing?