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

2022-10-08 Thread gattacus


JedY wrote: 
> Just to add i'm experiencing the same problem.
> 
> > 
Code:

  >   > [22-10-08 12:04:10.1453] Plugins::YouTube::JSInterp::extract_function 
(405) Could not find JS function: va
  > [22-10-08 12:04:10.1456] Plugins::YouTube::ProtocolHandler::__ANON__ (817) 
cannot load player code: Could not find JS function 'va' at 
/usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm line 
406.

> > 
> 
> LMS 8.2.0 on Raspberry pi running Youtube plugin 0.144.1.

same here



gattacus's Profile: http://forums.slimdevices.com/member.php?userid=42228
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-02-24 Thread gattacus


Man in a van wrote: 
> Hey Philippe, hope you are keeping warm and safe :)
> 
> I'm an infrequent user of the YouTube plugin but have expererinced a
> problem today :(:confused:
> 
> It is a couple of months since I last used the Plugin :o:o
> 
> Playback on a Squeezebox Radio using "Playlist Search" results in
> everything appearing to be correct, but with no sound.
> 
> Info log included
> 
> 
> 
> Low prio on this as I don't see others complaining 
> 
> Many thanks 
> 
> ronnie

I have the same issue and looking at your log I have the same error
entry:
[21-02-24 12:42:41.2782] Slim::Networking::IO::Select::__ANON__ (130)
Error: Select task failed calling
Slim::Networking::Async::HTTP::_http_read_body: Unsupported JS
expression 'Mx["do"](a,17)' at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
line 353.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0xbd35420)



gattacus's Profile: http://forums.slimdevices.com/member.php?userid=42228
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-01-06 Thread gattacus


Hi there

I have a new problem with the plugin regarding playlists: If I want to
play the playlist not all songs are ending up in the queue. It just
skips some. I don't know why. There is no error log and the songs and
playlist play fine on YT Music. The displaying of the playlist in LMS
(material skin) is also odd:
32855
The skipped songs don't have the context menu with the three dots.
Using LMS 8.1.1, happened also with 8.1.0 and 8.0.1


+---+
|Filename: 2021-01-06_11-14-11.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32855|
+---+


gattacus's Profile: http://forums.slimdevices.com/member.php?userid=42228
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-12-03 Thread gattacus


I also just had the problem with no stream/DASH found. The cause was LMS
upgrade from logitechmediaserver_8.0.1~1606756069 to
logitechmediaserver_8.0.1~1606928904. A downgrade fixed the issue.



gattacus's Profile: http://forums.slimdevices.com/member.php?userid=42228
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-10-31 Thread gattacus


dawansv wrote: 
> Can you provide a youtube link to one of the tracks that is failing? I
> would be curious to see what it looks like.
> 
> And as Hawkeyenl mentions, you can certainly combine both the old and
> new checks
> 
> > 
Code:

  >   > 
  > # Try getting the player's url using assets:..js value
  > my ($player_url) = ($content =~ /"assets":.+?"js":\s*("[^"]+")/);
  > 
  > # if unavailable, try jsUrl value
  > if ( !$player_url ) {
  > ($player_url) = ($content =~ /"jsUrl":\s*("[^"]+")/);
  > }
  > 

> > 
> 
> There might be a clever way to combine both statements into one with
> some fancy Perl syntax and remove the if statement but I am not really
> that proficient with Perl to do that (especially since we are dealing
> with regex extractions, not simple assignments)...

This actually worked for me. Thanks for the code. I can now play YT
Music with SB



gattacus's Profile: http://forums.slimdevices.com/member.php?userid=42228
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