! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Another playlist type
Status:
RESOLVED: WONTFIX
Severity:
enhancement
Product:
Xfmedia
Component:
general

Comments

Description Bernhard Walle 2004-12-30 21:12:21 CET
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.
Comment 1 Bernhard Walle 2004-12-30 21:12:39 CET
Created attachment 139 
Playlist
Comment 2 Brian J. Tarricone (not reading bugmail) 2004-12-31 02:05:21 CET
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.
Comment 3 Bernhard Walle 2004-12-31 12:52:33 CET
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. 
Comment 4 Brian J. Tarricone (not reading bugmail) 2004-12-31 13:41:26 CET
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.
Comment 5 Brian J. Tarricone (not reading bugmail) 2005-04-02 09:33:02 CEST
*** Bug 849 has been marked as a duplicate of this bug. ***
Comment 6 Brian J. Tarricone (not reading bugmail) 2005-06-16 07:09:40 CEST
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.

Bug #637

Reported by:
Bernhard Walle
Reported on: 2004-12-30
Last modified on: 2005-06-16

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

Playlist (258 bytes, text/plain)
2004-12-30 21:12 CET , Bernhard Walle
no flags

Additional information