Re: scanUrl not being called

philippe_44 <philippe_44.a1uslb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
Paul Webster wrote: 
> I think I had scanUrl by itself before I added getNextTrack.
> It worked ... in that the stream played.
> But the More display (etc) showed the real URL not the PH version ...
> which is what I am trying to avoid.
> 
> I think I'll experiment with completely removing scanUrl (having now got
> it being called) to see if getNextTrack is still called and if that
> works then I guess I will have minimal level of code which might make it
> easier to understand.

The Song.pm says that getNextSong() first calls scanURL if any (unless
scanDone), optionally changes the song handler and *then* calls
getNextTrack using *original* song's 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
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.