Hi,
Last night YouTube plugin stopped working for me. I have a feeling its
me. By not working, I can search as normal but music will not play. 

I'm using the following repository:
http://tenet.dl.sourceforge.net/project/lms-youtube/dev/repo-sf.xml

My server setup:
Logitech Media Server Version: 7.9.2 - 1578996832 @ Tue Jan 14 12:16:57
CET 2020
Operating system: Debian - EN - utf8
Platform Architecture: armv7l-linux
Perl Version: 5.24.1 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 1.02
IO::Socket::SSL: 2.044
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)

Following is an edited log excerpt with YouTube logging set to debug
(back to info now). I made a search and then attempted to play one of
the results. Can't say I know what to look for but the error near the
bottom at 12:26:28.7495 looks important.

Code:
--------------------
    
  [20-01-24 12:26:28.0096] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(784) already fetching metadata: a0j22lecULw
  [20-01-24 12:26:28.0315] Slim::Utils::Misc::msg (1255) Warning: 
[12:26:28.0306] {
  etag     => "\"Fznwjl6JEQdo1MGvHOGaz_YanRU/m3i4wtLZB_5HGNfa8ZMfIHl2-kY\"",
  items    => [
  CONTENT REMOVED FOR BREVITY
  ],
  kind     => "youtube#videoListResponse",
  pageInfo => { resultsPerPage => 1, totalResults => 1 },
  } at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm 
line 159.
  [20-01-24 12:26:28.0337] Plugins::YouTube::ProtocolHandler::__ANON__ (869) 
Duration: PT4M3S
  [20-01-24 12:26:28.1726] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(755) getmetadata: youtube://www.youtube.com/v/a0j22lecULw
  [20-01-24 12:26:28.1742] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(768) updating thumbnail cache with hires 
https://i.ytimg.com/vi/a0j22lecULw/maxresdefault.jpg
  [20-01-24 12:26:28.1751] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(778) cache hit: a0j22lecULw
  [20-01-24 12:26:28.1771] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(755) getmetadata: youtube://www.youtube.com/v/a0j22lecULw
  [20-01-24 12:26:28.1783] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(778) cache hit: a0j22lecULw
  [20-01-24 12:26:28.1829] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(755) getmetadata: youtube://www.youtube.com/v/a0j22lecULw
  [20-01-24 12:26:28.1841] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(778) cache hit: a0j22lecULw
  [20-01-24 12:26:28.1858] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(755) getmetadata: youtube://www.youtube.com/v/a0j22lecULw
  [20-01-24 12:26:28.1872] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(778) cache hit: a0j22lecULw
  [20-01-24 12:26:28.6139] Plugins::YouTube::ProtocolHandler::__ANON__ (342) 
<!DOCTYPE html>
  ...
  </html>
  [20-01-24 12:26:28.6993] Plugins::YouTube::ProtocolHandler::__ANON__ (356) 
trying regular streams
  [20-01-24 12:26:28.7004] Plugins::YouTube::ProtocolHandler::__ANON__ (361) no 
stream found, trying MPD/DASH
  [20-01-24 12:26:28.7027] Plugins::YouTube::ProtocolHandler::__ANON__ (372) 
adaptiveFormat(JSON): [{"itag":137,"mimeType":"video/mp4; 
  ...
  ]
  [20-01-24 12:26:28.7066] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(465) found itag: 137
  [20-01-24 12:26:28.7077] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(466) HASH(0x8197dd8)
  [20-01-24 12:26:28.7087] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(465) found itag: 248
  [20-01-24 12:26:28.7097] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(466) HASH(0x81e2f00)
  ...
  [20-01-24 12:26:28.7283] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(466) HASH(0x8110730)
  [20-01-24 12:26:28.7288] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(465) found itag: 140
  [20-01-24 12:26:28.7293] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(466) HASH(0x8159780)
  [20-01-24 12:26:28.7298] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(470) matching format 140
  [20-01-24 12:26:28.7308] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(497) candidate itag: 140, url/cipher:
  ...
  [20-01-24 12:26:28.7314] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(498) candidate aac sig 
hVKnUMQKVKqpwHG85Hjfu-f94IETeBIP0LZ6LDUlSpFAICIF5VsbUIutsxsYK-MTAv_MJ6TC1M4_ctpP75XH7WawJgIARww2IxgLALGLG
 encrypted 1
  [20-01-24 12:26:28.7319] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(465) found itag: 249
  [20-01-24 12:26:28.7324] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(466) HASH(0x811a8c8)
  [20-01-24 12:26:28.7329] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(470) matching format 249
  [20-01-24 12:26:28.7334] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(465) found itag: 250
  [20-01-24 12:26:28.7338] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(466) HASH(0x77c7da8)
  [20-01-24 12:26:28.7343] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(470) matching format 250
  [20-01-24 12:26:28.7348] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(465) found itag: 251
  [20-01-24 12:26:28.7353] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(466) HASH(0x7958dd0)
  [20-01-24 12:26:28.7358] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(470) matching format 251
  [20-01-24 12:26:28.7369] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(497) candidate itag: 251, url/cipher: 
  ...
  [20-01-24 12:26:28.7375] Plugins::YouTube::ProtocolHandler::getStreamJSON 
(498) candidate ops sig 
l==Qrl1l=TBmxw9bNQiSWvMDQ5sJABAnPAm3162AnbYjdgBAA4Sa5eGZwIe_QYQdfbBf0yxYSfDNeDeFL5QeYVcivgrNAhIQRww2IxgLALiLi
 encrypted 1
  [20-01-24 12:26:28.7388] Plugins::YouTube::ProtocolHandler::getSignature 
(716) player_url: 
https://www.youtube.com/yts/jsbin/player_ias-vfl7lL1_p/en_US/base.js
  [20-01-24 12:26:28.7495] Slim::Networking::IO::Select::__ANON__ (130) Error: 
Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: Not 
an ARRAY reference at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm 
line 235.
  ; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x776e2e0)
  [20-01-24 12:26:29.2005] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(755) getmetadata: youtube://www.youtube.com/v/a0j22lecULw
  [20-01-24 12:26:29.2017] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(778) cache hit: a0j22lecULw
  [20-01-24 12:26:29.4157] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(755) getmetadata: youtube://www.youtube.com/v/a0j22lecULw
  [20-01-24 12:26:29.4171] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(778) cache hit: a0j22lecULw
  ...
  [20-01-24 12:28:35.6013] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(755) getmetadata: youtube://www.youtube.com/v/a0j22lecULw
  [20-01-24 12:28:35.6039] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(778) cache hit: a0j22lecULw
  [20-01-24 12:28:35.7210] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(755) getmetadata: youtube://www.youtube.com/v/a0j22lecULw
  [20-01-24 12:28:35.7234] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(778) cache hit: a0j22lecULw
  
--------------------


I would be grateful if anyone can help shed light on this. 

;)


------------------------------------------------------------------------
milk's Profile: http://forums.slimdevices.com/member.php?userid=65884
View this thread: http://forums.slimdevices.com/showthread.php?t=111543

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

Reply via email to