Re: scanUrl not being called

philippe_44 <philippe_44.a1ydo0-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
Paul Webster wrote: 
> Tried it out and it does work.
> So thanks - it makes the code a bit smaller and helped me understand a
> bit more.
> 
> An issue that remains is that the bitrate is not shown.
> I think it needs to call Scanner::Remote::readRemoteHeaders to get it.
> 
> So I will see if I can call that and preserve the discovered info.
> An added bonus would be if the discovered format (aac v mp3 v ...) could
> also be preserved so that there is not need to hard-code it in
> getFormatForURL and getNextTrack ... especially as it is
> readRemoteHeaders that calls parseAACHeader/parseFlacHeader etc.

You can do, like in Wimp (Tidal), an update of metadata in the call back
once parseAacHeader call has been done



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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.