Re: scanUrl not being called
bpa <bpa.a1ugxb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
mherger wrote: > > I had problem with scanning with PlayHLS and I know I had to add an > > importer (either addImporter or in install.xml) for some reason. > I'm very much confused by this... And you mention this for the second > time this week... scanUrl in the protocol handler has been around for > years before the importer feature was implemented. I don't really know > what they would have to do with each other. In particular would > addImporter have nothing to do with a radio station? It's used to import > > tracks into your library. > > -- Ignore me, I got into my head Paul was trying to hide multiple formats under one. I was too lazy to look at the code as why importer was needed. PlayHLS is an oddity - the suffix m3u8 playlist &MIME is ambiguous, the content needs ot be examined before determining whether the playlist can either be m3u playlist or HLS ones. So PlayHLS had to do a scan of m3u8 playlist and decide whether they are to be handled by LMS or PlayHLS. There may be a better solution but part of the problem was learning how the real world has implemented HLS and where the rules have not been followed. ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=114599