#45: Playlist format always defaulting to scpls ?
-------------------------+--------------------------------------------------
Reporter: Gilou | Owner: toots
Type: Bugs | Status: assigned
Priority: 5 | Milestone:
Component: Liquidsoap | Version: 0.3.3
Resolution: | Keywords: playlist scpls
-------------------------+--------------------------------------------------
Changes (by toots):
* owner: admin => toots
* priority: 1 => 5
* version: 0.3.4 => 0.3.3
* status: new => assigned
Comment:
Well, that's a bug and that's not a bug..
The main thing to understand is that playlist parsing is based on format
detection.
For xml, which is very structured, there's no issue.
But for more basics formats that's problematic.
*But* that's a bug since scpls format is detectable, it should start the
playlist with [playlist], so there's a bug there, I'll fix soon.
Besides, you have to keep in mind that playlist parsing will always try
with mpegurl, or the first not detectable format, especially if the format
is one uri per line, which will never fail, and we do want to parse empty
playlist.
So I think I'll also let the user pass a mime type to the playlist
operator to work around this issue too.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/45#comment:1>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !