It would be also nice if Xfmedia can parse the attached playlist type, don't know how it is called. However, both Kaffeine and gXine can handle ist. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 139 Playlist
what extension does this format usually have? xfmedia currently does all playlist type detection by extension, so i need this info until i implement proper content detection.
Detecting by extension is a bit problemactic, since the audio service I got this file from give this playlist the extension mp3 :-/ See yourself at http://www.bnr.bg/RadioBulgaria/Emission_English/FullEmissions/Dec+30.htm. According to Kaffeine it is asf. Don't know much about xine-lib, but can it be that the xine-lib can handle such playlists? According to the debug info (-verbose) of Kaffeine they simply seems to try different input plugins and the plugin which feels responsible plays the file. BTW: I found a very nice overview about different playlist format at http://gonze.com/playlists/playlist-format-survey.html. I simply want to use Xfmedia as my primary media player (at least for audio, don't care about video very much), and streaming is very important.
mmm, i was afraid of that. i think for asf in particular, the demuxer in libxine has the ability to tell if it's an actual video file or a playlist, and take the appropriate action. i don't think this is always the case, though. actually, it may not even be the case here, since these playlists should work ok with xfmedia without having to do anything. anyway, i think i just need to implement proper content type detection before moving forward. the problem with this is that it moves around the detection time quite a bit. now i'll have to do some detection at file load time rather than file play time. i don't really like the idea of modifying the playlist at play time, though that may end up being easiest. another problem is that xine doesn't appear to tell you *why* xine_open() failed - so it could be "file not found", or "failed to connect to server", or, in the case that we care about for this, "invalid file type", in which case i'd want to look at it closer and see if it's a playlist we can parse. of course, this also may mean writing a mini-HTTP client for xfmedia. not difficult, but that means time. i need to think about this for a while, but first i need to sleep. i'll revisit this after new year's.
*** Bug 849 has been marked as a duplicate of this bug. ***
I've added support for this playlist type, but unfortunately xine-lib thinks it succeeded on opening this as well, and even playing it, despite that it doesn't. No way to fix this from my perspective.