Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2006 13:51:50 -0600
From:      Mark Kane <mark@mkproductions.org>
To:        Olivier Regnier <oregnier@ixsys.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mpg123 with shoutcast radio
Message-ID:  <20061213135150.335c8af1@localhost>
In-Reply-To: <457FE1D4.6050007@ixsys.org>
References:  <457FE1D4.6050007@ixsys.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--MP_wwbcfZXwBKSU0VAAwwXXfX.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Wed, Dec 13, 2006, at 12:19:48 +0100, Olivier Regnier wrote:
> Hello,
> 
> mpg123 is a relatively simple program but doesn't work with .pls file.
> 
> I used this command:
> 
> % mpg123 -@
> "http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=5761&file=filename.pls"
> 
> but i have this message:
> 
> > HTTP request failed: 404 Not Found
> 
> My pf firewall and proxy are disabled but anytime, i have the same
> thing. Estrange no ?
> 
> Can you help me please ?

Hi.

mpg123 doesn't support pls files by itself. I have attached a real
simple script that can help make this easier. Just chmod +x it, and
then do:

./mpg123_pls.sh "http://your.url.com/file.pls"

It would probably be good to make a shell alias to the script for easier
usage.

-Mark

-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)

--MP_wwbcfZXwBKSU0VAAwwXXfX.
Content-Type: application/octet-stream; name=mpg123_pls.sh
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=mpg123_pls.sh

IyEvYmluL3NoCgplbnYgZmV0Y2ggLXEgLW8gLSAkMSB8IGdyZXAgLWUgJ0ZpbGUxJyB8IGhlYWQg
LW4gMSB8IGN1dCAtZiAyIC1kID0gfCB4YXJncyBtcGcxMjMK

--MP_wwbcfZXwBKSU0VAAwwXXfX.--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061213135150.335c8af1>