Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-09 Thread lomcovaks


lomcovaks wrote: 
> Hi Philippe,
> 
> I recently upgraded my Pi3 1Gb LMS system to a Pi4 8Gb with external SSD
> and had to reconfigure my YouTube plugin.
> 
> I worked my way around the project creation and OAuth configuration
> screens fairly well and authorised the plugin to access LMS.
> 
> The YouTube plugin is working fine - I can access my YouTube playlists
> etc and see the artwork thumbnails in the overview screen.
> You can see the artwork when within a particular playlist and both
> individual tracks and playlists play.
> 
> However, when a playlist is selected to play, the playing track in the
> screen only displays the generic YouTube icon and not the individual
> track's artwork.
> 
> The log is also showing some errors (below the images) but I can't see
> where I can correct the problem.
> 
> If you or anyone is able to offer any insights I'd much appreciate it.
> 
> Many thanks.
> 
> UPDATE - SOLUTION FOUND!
> 
> To update the forum I found the solution to the artwork not showing.
> 
> It wasn't anything to do with the set up of the Google Cloud Platform
> Credentials Screen.
> 
> For some reason, LMS YouTube Plugin Settings page default enters the
> 'Country For Categories' section with 'EN_GB'
> Simply by changing this to 'GB' allowed the track artwork to appear in
> the 'now playing screen' of my client.



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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-02 Thread lomcovaks

Hi Philippe,

I recently upgraded my Pi3 1Gb LMS system to a Pi4 8Gb with external SSD
and had to reconfigure my YouTube plugin.

I worked my way around the project creation and OAuth configuration
screens fairly well and authorised the plugin to access LMS.

The YouTube plugin is working fine - I can access my YouTube playlists
etc and see the artwork thumbnails in the overview screen.
You can see the artwork when within a particular playlist and both
individual tracks and playlists play.

However, when a playlist is selected to play, the playing track in the
screen only displays the generic YouTube icon and not the individual
track's artwork.

The log is also showing some errors (below the images) but I can't see
where I can correct the problem.

If you or anyone is able to offer any insights I'd much appreciate it.

Many thanks.

37101

Log -

"https://www.googleapis.com/youtube/v3/videos?key=AIzaSyCVjJF37f0W6sMOPjpfdN8dP-BJg_K2qSY=28761G6UKf0%2CtetvnQqkxGA%2CGYQWGomAbns%2C9f7UyUDHFaA%2CpzX4rIdODwM%2CRR8Bh4alfRI%2CNvryolGa19A%2CLrP73SfV-eM%2CuAcALH67-2A%2C9kZJI43p_gs%2CBOUpNtk5Spk%2CAmv_2A4__Bc=50=date=snippet%2CcontentDetails®ionCode=EN_GB;,
"400 Bad Request",
undef,
undef,
undef,
undef,
undef,
undef,
], "Slim::Networking::SimpleAsyncHTTP");
$a->[3]{DEBUG} = $a->[3]{ALL};
$a->[3]{FATAL} = $a->[3]{ERROR};
$a->[3]{INFO} = $a->[3]{ALL};
$a->[3]{OFF} = $a->[3]{ERROR};
$a->[3]{TRACE} = $a->[3]{ALL};
$a->[3]{WARN} = $a->[3]{ALL};
($a, "400 Bad Request");
} at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm
line 169.
[22-02-02 12:45:53.5541] Plugins::YouTube::API::__ANON__ (170) 400 Bad
Request
[22-02-02 12:45:53.5543] Plugins::YouTube::ProtocolHandler::__ANON__
(932) 400 Bad Request


+---+
|Filename: playlists overview.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37101|
+---+


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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-04-03 Thread lomcovaks


Philippe, you absolute bloody legend sir!

Update installed and working perfectly!

I hadn't realised how important the YouTube plugin has become to my
listening pleasure and your support of the plugin is just fantastic. I
really can't thank you enough.

Lom.



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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-04-02 Thread lomcovaks


slartibartfast wrote: 
> The issue seems to be that the plugin doesn't login to a Google account.
> I assumed that providing credentials from the API did that but maybe
> not.
> 
> Sent from my Pixel 3a using Tapatalk

I think you're spot on.

If you open the log and accept the embedded link to enable Google
cookies the video starts streaming in Chrome immediately.

Google have changed the behaviour of the API to force log-in for each
video it appears. You really would think linking the plugin to your
account would invalidate the need for this but I'm guessing they're
getting irritated by people streaming without being served advertising.



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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-04-02 Thread lomcovaks


Paul Webster wrote: 
> Hoe about going through the setup again (not uninstall/reinstall) but
> everything related to API/account access.

Have done that Paul and it makes no difference.



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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-04-01 Thread lomcovaks


philippe_44 wrote: 
> Set YT debug to info and send me the long garbage in server.log

Hi Philippe,

This is the output I'm getting from the log when I select a YouTube
playlist and attempt to play it:

[21-04-01 16:07:46.3464]
Slim::Player::StreamingController::_playersMessage (796) Problem: Can't
open file for:: youtube://www.youtube.com/v/lPwgt4wN1DM
[21-04-01 16:07:46.3484] Slim::Player::StreamingController::_eventAction
(272) b8:27:eb:e5:2e:ae: NextTrackError in STOPPED-TRACKWAIT ->
Slim::Player::StreamingController::_NextIfMore
[21-04-01 16:07:46.3490] Slim::Player::StreamingController::_eventAction
(283) params: error => ARRAY(0x96f8d18) errorSong =>
Slim::Player::Song=ARRAY(0x96f5c28) errorIndex => undef
[21-04-01 16:07:46.3495]
Slim::Player::StreamingController::_setStreamingState (2386) new
streaming state IDLE
[21-04-01 16:07:46.3503] Slim::Player::StreamingController::nextsong
(889) The next song is number 0, was 49
[21-04-01 16:07:46.3508] Slim::Player::StreamingController::_eventAction
(302) b8:27:eb:e5:2e:ae: NextTrackError - new state STOPPED-IDLE



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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-03-31 Thread lomcovaks


slartibartfast wrote: 
> What are you trying to play?
> 
> Sent from my Pixel 3a using Tapatalk

It doesn't matter what you play -  YouTube link to your account within
LMS works, you can see your playlists etc with thumbnails but when you
select a playlist, LMS tries to play the first item, fails and moves on
to next item in playlist and repeats until playlist is finished but with
nothing played.

Everything has worked perfectly for the last 18 months and suddenly
this.



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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-03-24 Thread lomcovaks


Hi,

Having worked flawlessly for months I've suddenly encountered a
problem.

The plugin is installed and and configured correctly but as of two days
ago when selecting one of my YouTube playlists, instead of playing the
playlist displays the screencap for each song for a second or two before
scrolling to the next song in queue and repeating this behaviour to the
end of the playlist.

I've just looked at the log and it seems unable to find the stream -

[21-03-24 13:07:32.1919] Plugins::YouTube::ProtocolHandler::__ANON__
(448) no stream/DASH found
[21-03-24 13:07:32.7587] Plugins::YouTube::ProtocolHandler::__ANON__
(448) no stream/DASH found

Would this be a YouTube fault or has something changed at my end do you
think? I've tried re-authorising and I receive confirmation that my
account is now linked to LMS but nothing will play. I've changed nothing
else to cause this behaviour.

Any advice on how to proceed and correct would be much appreciated.



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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2020-07-19 Thread lomcovaks


philippe_44 wrote: 
> It should not have disappeared from the list, you probably want to retry
> a few times (sourceforge, where I host the plugin, is dead slow). Other
> than that, maybe due to the long inactivity, your key has been disabled,
> even the project might have suspended. Google does that more and more
> often. I would recommend you create a new project/key

Hi Philippe,

Many thanks for the prompt response - yes, I created a new project and
got the Oath consent and now all the images are displaying. Many thanks
indeed.

Kind regards,

Chris



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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2020-07-18 Thread lomcovaks


Hi Philippe,

Many thanks for the YouTube plugin - I've been using it for a year or so
already on my raspberry pi based 'Max2play' squeezelite server and it's
been fine.

However, I just returned to the country after being locked out for 6
months due to covid and discovered that the plugin had disappeared from
my 3rd party plugins list. Anyhow, I downloaded the plugin from your
Github page and ssh transferred the plugin to my little server and set
it up as advised.

I use Orange Squeeze as the client on my phone and when I open the app I
can see - and play my YouTube account playlists. I can also see the
artwork thumbnails on the playlist thread but as soon as I select a
track or playlist to play, I can hear the audio but there's just a
generic 'YouTube' jpg displayed instead of the artwork that I always
used to see. 

Have you any suggestions on how to overcome this?

I also note that whilst I can see my created playlists, I can no longer
search within the app on my phone for search strings to find videos to
stream the audio of - it just returns 'empty' as the result. I've
attached some screencaps to demonstrate the above points.

Kind regards,

Chris


+---+
|Filename: Screenshot_20200718-192008_Orange Squeeze.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31085|
+---+


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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins