Re: scanUrl not being called
philippe_44 <philippe_44.a244zb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
Paul Webster wrote: > Next problem ... > > I have myplugin://something playing OK when I use the Radio/Tune in URL > function. > > However, if I put the item into OPML menu then it fails > > > Code: -------------------- > > > [21-05-23 16:34:18.6325] Plugins::MyPlugin::ProtocolHandler::new (76) Remote streaming MyPlugin track: https://example.com/something.aac/playlist.m3u8 > [21-05-23 16:34:18.7997] Slim::Formats::Playlists::parseList (54) Type: aac for: myplugin://something > [21-05-23 16:34:18.8007] Slim::Formats::Playlists::parseList (84) Error: While running $playlistClass->read(): [Can't locate object method "read" via package "Slim::Formats::Movie" at /usr/local/slimserver/Slim/Formats/Playlists.pm line 82. > ] > [21-05-23 16:34:18.8032] Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: Can't use an undefined value as a HASH reference at /usr/local/slimserver/Slim/Player/Song.pm line 530. > ; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x84ff1f0) > -------------------- > > > > I am working through it trying to understand if this is a fundamental > problem or I have not set something correctly. > This line might indicate an issue > > Code: -------------------- > > Slim::Formats::Playlists::parseList (54) Type: aac for: myplugin://something -------------------- > > > because it is showing my PH url not the one that my ProtocolHandler > module had already calculated and passed in. Don't you need to explode the playlist in your handler? LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3 ------------------------------------------------------------------------ philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=114599