Author Topic: format of xmms-embedded playlists?  (Read 1648 times)

talmage

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://talmage.pycs.net/
format of xmms-embedded playlists?
« on: November 01, 2004, 05:56:51 pm »
I'm trying to figure out the format of playlists for xmms-embedded.  I have some of it figure out but not all.  I hope that one of you can will in the rest.

So far, I've determined that a playlist begins

#EXTM3U

followed by one or more entries of the form
#EXTINF:-1,<name>
<url>

where <name> the name of the stream and <url> is the location of the stream.  For example, an entry for WBAR, the Barnard College radio station, is

#EXTINF:-1, WBAR
http://130.39.100.900:8000/wbar-hi.ogg

I've found that xmms-embedded plays any stream whose URL ends in ".ogg" or ".mp3".  

Alas, I can't make it play a stream whose URL doesn't have an extension.  The notes on the xmms-embedded web site say that if I put ":mp3" or ":ogg" at the end of such a URL.  All that does is make xmms-embedded terminate with a SIGABRT.  How can I make xmms-embedded play an mp3 stream like WeFunk (http://131.211.220.106:8000)?

macabro

  • Newbie
  • *
  • Posts: 1
    • View Profile
format of xmms-embedded playlists?
« Reply #1 on: November 04, 2004, 03:40:30 am »
Talmage,
This may help you along the way in your investigations:

=====
  Got a file via e-mail and don't know how to open it? Downloaded a document and don't know what archiver was used to compress it? Let's try to see what TrID can tell you about it!

http://marcopon.trustedwebhost.com/onlinetrid/trid.aspx
=====

Hope it helps,

macabro
|\\/|

talmage

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://talmage.pycs.net/
format of xmms-embedded playlists?
« Reply #2 on: November 05, 2004, 09:06:51 am »
It turns out that I had the format correct.  I was missing ~/.xmms/config.  Without config, xmms-embedded used bogus values for its http_buffer.  I know this because when I ran xmms-embedded under  Opie Terminal, it exited on account of a failed assertion, buffer_size < HTTP_BUFFER_SIZE.

I found the solution in https://www.oesf.org/forums/inde...?showtopic=5709\" target=\"_blank\"]XMMS embedded, gcc3 compatible[/a].  There is plenty of talk in these forums about xmms-embedded failing because of a missing ~/.xmms/config but only one mention of what to put in that file.  This ought to be part of our FAQ!
« Last Edit: November 18, 2004, 11:58:23 am by talmage »