askvictor wrote: 
> Hmmm; it has gotten uglier. Now (whether or not I use the modified
> ProtocolHandler.pm) Youtube music doesn't play at all. Attached is the
> new Info-level log - here's a truncated version without the JS code that
> gets dumped in the logfile:
> > 
Code:
--------------------
  >   > 
  > [18-11-07 17:21:08.4327] Plugins::YouTube::ProtocolHandler::getNextTrack 
(313) next track id: 43OFSXI5c94 url: 
http://www.youtube.com/watch?v=43OFSXI5c94 master: 
youtube://www.youtube.com/v/43OFSXI5c94
  > [18-11-07 17:21:09.5575] Plugins::YouTube::ProtocolHandler::__ANON__ (333) 
trying regular streams
  > [18-11-07 17:21:09.5581] Plugins::YouTube::ProtocolHandler::__ANON__ (338) 
no stream found, trying DASH
  > [18-11-07 17:21:09.5589] Plugins::YouTube::ProtocolHandler::getStream (395) 
found matching format 140
  > [18-11-07 17:21:09.5592] Plugins::YouTube::ProtocolHandler::getStream (398) 
itag: 140, props: 
https%3A%2F%2Fr4---sn-xmxuxa-hxal.googlevideo.com%2Fvideoplayback%3Fexpire%3D1541593269%26ei%3DVITiW_O8NYneqAHRh4iwAg%26ms%3Dau%252Crdu%26mt%3D1541571615%26itag%3D140%26pl%3D22%26mm%3D31%252C29%26mn%3Dsn-xmxuxa-hxal%252Csn-ntqe6n7k%26id%3Do-AOovuygUIlOfNZKnbCQYlS5BT2_G3dy0cPqyZwVNplNm%26keepalive%3Dyes%26c%3DWEB%26pcm2cms%3Dyes%26gir%3Dyes%26ip%3D115.70.114.134%26sparams%3Dclen%252Cdur%252Cei%252Cgir%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Ckeepalive%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpcm2cms%252Cpl%252Crequiressl%252Csource%252Cexpire%26dur%3D152.438%26lmt%3D1386397414138236%26key%3Dyt6%26mv%3Dm%26ipbits%3D0%26initcwndbps%3D990000%26mime%3Daudio%252Fmp4%26clen%3D2421745%26requiressl%3Dyes%26source%3Dyoutube%26fvip%3D5
  > [18-11-07 17:21:09.5597] Plugins::YouTube::ProtocolHandler::getStream (415) 
selected aac sig 
87E2671D7EFA818377F72CA952DA2875AF9A15F30.05B483B94624B4E46C5E643F9FB8442203700323C
 encrypted 1
  > [18-11-07 17:21:09.5601] Plugins::YouTube::ProtocolHandler::getStream (395) 
found matching format 171
  > [18-11-07 17:21:09.5604] Plugins::YouTube::ProtocolHandler::getStream (398) 
itag: 171, props: 
https%3A%2F%2Fr4---sn-xmxuxa-hxal.googlevideo.com%2Fvideoplayback%3Fexpire%3D1541593269%26ei%3DVITiW_O8NYneqAHRh4iwAg%26ms%3Dau%252Crdu%26mt%3D1541571615%26itag%3D171%26pl%3D22%26mm%3D31%252C29%26mn%3Dsn-xmxuxa-hxal%252Csn-ntqe6n7k%26id%3Do-AOovuygUIlOfNZKnbCQYlS5BT2_G3dy0cPqyZwVNplNm%26keepalive%3Dyes%26c%3DWEB%26pcm2cms%3Dyes%26gir%3Dyes%26ip%3D115.70.114.134%26sparams%3Dclen%252Cdur%252Cei%252Cgir%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Ckeepalive%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpcm2cms%252Cpl%252Crequiressl%252Csource%252Cexpire%26dur%3D152.380%26lmt%3D1406270509266936%26key%3Dyt6%26mv%3Dm%26ipbits%3D0%26initcwndbps%3D990000%26mime%3Daudio%252Fwebm%26clen%3D1954882%26requiressl%3Dyes%26source%3Dyoutube%26fvip%3D5
  > [18-11-07 17:21:09.5609] Plugins::YouTube::ProtocolHandler::getStream (415) 
selected ogg sig 
277ED3725240157A7CDE5FFB19451215550982CBA.4D8649EDD3D950FC1C0C9275CDA49472B77A77BBC
 encrypted 1
  > [18-11-07 17:21:09.8956] Plugins::YouTube::ProtocolHandler::__ANON__ (645) 
cannot load player code: Cannot find JS player signature function name in 'var 
_yt_player={};(function(g){var window=this
  > 
  > ****Loads of JS code here****
  > 
  > type.toString;g.ta("Float64Array",g0,void 0)};})(_yt_player);
  > ' at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/Signature.pm 
line 36.
  > 
--------------------
> > 
> 
> Methinks Google is changing the youtube code/interface/service as we
> discuss this.

Yes, that's a different problem in this log (signature cannot be found).
The protocolhandler I posted was allowing me to track HTTP timing while
in info logging mode (less verbose)



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express, GGMM E5
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
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