From owner-freebsd-questions@FreeBSD.ORG Wed Dec 13 19:59:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE7E416A514 for ; Wed, 13 Dec 2006 19:59:03 +0000 (UTC) (envelope-from mark@mkproductions.org) Received: from server1.tntpowerhost.com (server1.tntpowerhost.com [208.100.3.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12FA043E88 for ; Wed, 13 Dec 2006 19:50:35 +0000 (GMT) (envelope-from mark@mkproductions.org) Received: from ppp-70-248-222-106.dsl.spfdmo.swbell.net ([70.248.222.106] helo=localhost) by server1.tntpowerhost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Gua8y-0008hg-PA; Wed, 13 Dec 2006 13:51:56 -0600 Date: Wed, 13 Dec 2006 13:51:50 -0600 From: Mark Kane To: Olivier Regnier Message-ID: <20061213135150.335c8af1@localhost> In-Reply-To: <457FE1D4.6050007@ixsys.org> References: <457FE1D4.6050007@ixsys.org> X-Mailer: Claws Mail 2.6.1cvs28 (GTK+ 2.10.6; x86_64-unknown-freebsd6.2) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=MP_wwbcfZXwBKSU0VAAwwXXfX. X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server1.tntpowerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - mkproductions.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org Subject: Re: mpg123 with shoutcast radio X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 19:59:04 -0000 --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.--