Seems like I am pretty close, but something is wrong...

Instructions say to click "create credentials", then "OAuth Client ID",
then "Other"

I do not see an "Other" in the applications types.  I first tried with
"Web Application" 

And I was not able to get an authorization code and the link "click here
to authorize" did not appear, in the logs I had the error:
Plugins::YouTube::Oauth2::__ANON__ (97) 401 Unauthorized

I then tried again and chose "Desktop App"

That got me quite a bit closer, I got the authorization code in red, and
the link "click here to authorize".  I clicked and authorized
successfully.

I can now see my playlists in "My Playlists", I can open them and see
the songs inside them, but when I try to play a song, it does not work
and I get the error:
Slim::Control::Request::execute (1888) Error: While trying to run
function coderef [Slim::Control::Commands::playlistJumpCommand]: [Can't
locate object method "get_cookies" via package "HTTP::Cookies" at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
line 386.]

It does show the art work for the song and it shows the length of the
track, and it looks like it is playing with track time incrementing, but
no sound.  Track loops over and over.

when I refresh the web interface the track time goes back and 0:00 and
then starts incrementing again...

Frustrated... I feel like I am SO close.  Google music plugin stopped
working for me some time ago and I thought this plugin would be the way
forward since Google Music is gone and Youtube Music took its place.

Should I be choosing one of the other application types when I create
the OAuth Client ID?

Logitech Media Server Version: 7.9.1 - 1522157629 @ Fri Mar 30 12:28:01
CEST 2018
Hostname: lms
Server IP Address: 192.168.60.209
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.24.1 - x86_64-linux-gnu-thread-multi
Audio::Scan: 0.95
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 6


------------------------------------------------------------------------
mikeybs's Profile: http://forums.slimdevices.com/member.php?userid=62630
View this thread: http://forums.slimdevices.com/showthread.php?t=105840

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to