[PLUGIN] YouTube2

@lizard_dude, would you be able to test this?

I upload a volumio screenhot with youtube list added and marked the gaps with red arrows.
On right side you can see the empty scrollbar.
The 2 first ā€˜invisibleā€™ subscription links below:
https://www.youtube.com/channel/UCy4SdT--xlI1znqlfs2GwNg
https://www.youtube.com/channel/UCG-PWAwwnL8F6S4j_XCBFQQ

hope its helpfull
Thanks !!

I noticed that !
The visible subscriptionā€™s has this symbol - and its editable:
visible-link

The ā€˜invisibleā€™ abos shows so - and no popup menu on pressing bell - symbol:
invisible-link

Itā€™s a child - protection reason? and silenced notifications ?

Oh yes! I would love to! Iā€™m gonna try to install this on my Pi4 and Zero when I can, and will report back on how it goes.

@j.j.p , so Iā€™ve been trying to reproduce this issue by subscribing to the channels that were missing in your Volumio.

They do show up properly, so Iā€™m wondering what could be the problem. The ā€˜bellā€™ symbol is just a notification setting that should have nothing to do with this plugin.

What Region and Language did you specify in the YouTube2 plugin settings? If the channel is not available in the specified region, then it might not show upā€¦

Hi Patrick,

first of all thx for doing all this! I really enjoy this plugin!

What I am wondering is the version numbering, respectively the date in the name. The latest version is named ā€œ0.1.1a-20200311ā€, but I think it should be ā€œ0.1.1a-20210311ā€, isnā€™t it?

Regards Axel

Hi Axel, thanks for pointing this out. Yes, indeed it should be 2021 :grinning_face_with_smiling_eyes: Iā€™ll correct this on the next update.

HI,

Just wanted to say that this plugin works damm well :smiley:
I just installed it on the latest version of Volumio (2.882)
Installed like a charm and worked from the first try

Keep up the good work and thanks for this great plugin :slight_smile:

Thanks and welcome to the community~

patrick is there a diffrent way to update a sparky with you mpd version?
get stuck on error 2 ā€¦
i have to update because of the 3/4 cutt off of the songs on the latest sparky version of volumioā€¦

@dvo, what is error 2?

If neither the arm nor armv7 version works, then I doubt thereā€™s anything that can be done about it. My understanding is that Volumio for Sparky uses a really old Linux kernel (3.10) that may not be compatible with the MPD version I provide.

i made the spark a pihole instead of a streamer because of it

i dont know if i ve done something wrong. once a while i m finding the google account not logged in on the verification url step. do you know why?

Sorry, Iā€™ve been quite busy recently. Are you still having this problem?

yeah actually after i reboot the device sometimes i have to re do the verificationā€¦

Hey, I tried using this plugin on a Raspberry 3 B+ and 4, with Volumio 2.882 (with updated MPD) and Beta 3.015. I managed to install it and do find YouTube videos and playlists when using the search function, but whenever I try to play them (doesnā€™t matter which video/song) nothing happens.

Jun 24 12:24:56 beta volumio[738]: info: [youtube2-play] clearAddPlayTrack: youtube2/video@videoId=j1wgaFJ0750
Jun 24 12:24:57 beta volumio[738]: error: [youtube2-play] clearAddPlayTrack() error
Jun 24 12:24:57 beta volumio[738]: error: Status code: 404 {ā€œstatusCodeā€:404}

Iā€™m using the headphone jack of the Pi, no DAC. Tried both scraping and API. Everything else (webradio, Tidal, Spotify, my local music library) works.

Any help would be appreciated. Let me know what other info/logs you need.

both youtube cast and youtube 2 plugin are broken. waiting to hear from @patrickkfkan

YouTube has changed their API againā€¦ The YouTube2 and YouTube Cast Receiver plugins utilise the awesome ytdl-core library for some parts of data retrieval, and I believe a fix is underway for that library. When that happens, Iā€™ll update said plugins to use the updated version of ytdl-core.

Having said that, I would still need to implement a workaround to make sure the updated ytdl-core library will work with Volumio 2.x, because even the current version of that library has dropped support for the legacy Node 8 which Volumio 2.x still uses. This is going to take a bit of time and unfortunately, I donā€™t have much time on my hands recently. Iā€™ll get to this ASAP.

Thx Patrick for informing!
Iā€™m looking forward to the next update and hope it does not take too long!
But however, take your time, Regards Axel

I got it working on my Volumio v3 by updating the ytdl-core with the latest youtube2 git pull

login via ssh

username: volumio
password: volumio

volumio:~$ cd ~/youtube2-plugin/volumio-youtube2/node_modules
volumio:~/youtube2-plugin/volumio-youtube2/node_modules$ rm -rf ytdl-core
volumio:~/youtube2-plugin/volumio-youtube2/node_modules$ git clone https://github.com/fent/node-ytdl-core.git ytdl-core
ā€¦
volumio:~/youtube2-plugin/volumio-youtube2/node_modules$ cd ā€¦
volumio:~/youtube2-plugin/volumio-youtube2$ volumio plugin update

ytdl-core has been quick to push the fix (I see it was updated 6 hours ago). Iā€™ll adapt this to the plugin if I have time tonight.

Your procedure will work with Volumio 3, but I think it will generate a different kind of error with Volumio 2.x due to Node version incompatibility.