OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: kclayton on December 07, 2004, 02:32:03 pm

Title: Xmms - Streaming Audio
Post by: kclayton on December 07, 2004, 02:32:03 pm
Installed XMMS the other day from the feed and it won't play mp3 streams that my icecast2 server puts out.

Will launch fine and will play local mp3s fine.   When I attempt to play a URL though, it just sits there and does nothing.

Tried launching from the command line to look for errors, but doesn't complain about anything.

Double checked my URL to make sure I'm not doing something stupid with spelling and URL is fine.  Same stream will play in XMMS on my laptop.

I saw a note on the web about needing to append :mp3 or :ogg to the URL to get it to detect streams without an extension (my case) but still no joy.

Triple checked my icecast config to make sure I'm streaming mp3 rather than ogg . .  they are mp3 streams.

Is anyone successfully listening to streams with XMMS from the 3.5.2 feed?  If so, could you point me to a public URL that I could try.  I'd like to make sure its not some weird icecast2 issue or something.

Are there any specific libs needed to stream mp3 (beyond libmad) that maybe I'm missing?

Title: Xmms - Streaming Audio
Post by: ironstorm on December 07, 2004, 03:19:29 pm
Dido...  XMMS plays normal MP3 and OGG fine.... I tried XTC Radio icecast with XMMS from oz3.5.1 and it does nothing...   The same link works on my desktop and used to work with Opie Media Player 2 back in the 3.3.6pre1 days...
Title: Xmms - Streaming Audio
Post by: STrRedWolf on December 07, 2004, 03:54:13 pm
You need to have the stream end in .MP3 or .OGG, or else it won't play.
Title: Xmms - Streaming Audio
Post by: thesing on December 07, 2004, 04:03:10 pm

From http://xmms-embedded.sourceforge.net/faq.html (http://xmms-embedded.sourceforge.net/faq.html) :
Shoutcast/Icecast stream recognition
If a streams url doesn't end with .ogg or .mp3 it will not be recognized. You need to append :mp3 or :ogg to force recognition of stream.

Title: Xmms - Streaming Audio
Post by: kclayton on December 07, 2004, 07:38:13 pm
Saw that FAQ from xmms-e site.  I did append a :mp3 at the end.  Still didn't play.  I'll try modifying my darkice.cfg to force the stream name to have a .mp3 at the end of the stream name and see if that does the trick.

Title: Xmms - Streaming Audio
Post by: kclayton on December 07, 2004, 09:04:25 pm
Modified my darkice.cfg to push out the stream as mpd_stream.mp3   XMMS on my laptop plays it just fine.   XMMS-e still just sits there blankly . .

Anyone got a public stream URL that they've successfully played with xmms-e that I can try?

Title: Xmms - Streaming Audio
Post by: kclayton on December 08, 2004, 03:29:53 pm
Ah hah!  Something appears to be borked with XMMS' URL entry into the playlist.  Here's what I found.

First off thanks to

https://www.oesf.org/forums/inde...?showtopic=5709 (https://www.oesf.org/forums/index.php?showtopic=5709)

I found that I need to create a /root/.xmms/config file with entries for streaming.   Still didn't work after that however.  In digging around I saw another entry talking about creating m3u files.

https://www.oesf.org/forums/inde...?showtopic=8178 (https://www.oesf.org/forums/index.php?showtopic=8178)

I hand entered my URL into the /root/.xmms/xmms.m3u file and bang, it plays fine.  A little further testing shows that if I use the add button on the gui to put a local file into the play list,  don't delete it and quit xmms, there is an entry for it in the m3u file and if I restart xmms, its still in the playlist.  However if I enter a stream in via the URL button on the gui and quit, its not in the m3u file.  When I hand enter the URL into the m3u file I can quit, start, etc and the stream remains in the playlist till I delete it.  

Appears that something is amiss internally when entering URLs.   Is the xmms-e development still active?  Where to send a bug report?

Title: Xmms - Streaming Audio
Post by: CaptainZilog on March 14, 2005, 09:42:06 pm
Hmm, blast from the past.

This thread and the threads it references got my XMMS to accept my Ogg Vorbis ICES2 stream.
Here's what needs to be done, in a condensed form:

Go to ~/.xmms and create a file called config
Edit config and enter this:
Code: [Select]


Then, you have to edit the xmms.m3u file.

In there you put your stream info. In my instance it goes like this:

Code: [Select]
#EXTINF, -1, Captain Zilog's Stream

This works for me. However, when the stream changes songs, the program dies, and when I attempt to run xmms from the CLI, it won't start the GUI part and I can't play the stream to get it to crash so I can see output...

Any ideas?