Author Topic: Xmms - Streaming Audio  (Read 3313 times)

kclayton

  • Newbie
  • *
  • Posts: 19
    • View Profile
Xmms - Streaming Audio
« 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?

TIA,
K

ironstorm

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • http://
Xmms - Streaming Audio
« Reply #1 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...
« Last Edit: December 07, 2004, 03:20:36 pm by ironstorm »

STrRedWolf

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://stalag99.net
Xmms - Streaming Audio
« Reply #2 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.

thesing

  • Newbie
  • *
  • Posts: 17
    • View Profile
Xmms - Streaming Audio
« Reply #3 on: December 07, 2004, 04:03:10 pm »
Hi,

From http://xmms-embedded.sourceforge.net/faq.html :
Quote
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.

CU
Thomas
Cheers,
Thomas

SL5500G Angstrom-unstable with Kernel 2.6 in devellopment
C3100 mostly occupied by my girlfriend ;)

kclayton

  • Newbie
  • *
  • Posts: 19
    • View Profile
Xmms - Streaming Audio
« Reply #4 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.

Gracias,
K

kclayton

  • Newbie
  • *
  • Posts: 19
    • View Profile
Xmms - Streaming Audio
« Reply #5 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?

K

kclayton

  • Newbie
  • *
  • Posts: 19
    • View Profile
Xmms - Streaming Audio
« Reply #6 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

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

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?

K

CaptainZilog

  • Newbie
  • *
  • Posts: 17
    • View Profile
Xmms - Streaming Audio
« Reply #7 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]
[vorbis]
http_buffer_size=128
http_prebuffer=25

[MAD]
http_buffer_size=65536

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]
#EXTM3U
#EXTINF, -1, Captain Zilog's Stream
http://192.168.1.78:8000/stream.ogg

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?

Thanks.