Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-09-2004, 12:04 PM   #1
LQ Newbie
Registered: Jun 2004
Distribution: Slack 10-current
Posts: 23

Rep: Reputation: 15
Command Line .pls player

I'm attemping to play streaming audio on a headless box. I've tried mp3blaster, to no avail, and mpg123 with this shell script:


### a little script to help handle shoutcast pls files

if [ -n "$DISPLAY" ]; then

cat $1 | grep -e '^File1' | cut -f 2 -d = | xargs $PLAYER

This was designed to work as a 'plug-in' for web browsers, but doesn't help in the least for command line.

Does anyone have suggestions as to what players will use .pls files from the command line?
Old 08-09-2004, 02:50 PM   #2
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
I think mplayer will use a pls file as a playlist when given the -playlist argument.
Old 08-09-2004, 10:32 PM   #3
LQ Newbie
Registered: Jun 2004
Distribution: Slack 10-current
Posts: 23

Original Poster
Rep: Reputation: 15
Originally posted by Komakino
A quick English lesson:
1. blah blah blah
2. etc etc etc
3. yada yada yada

I must admit, I re-read my post about 5 times after seeing this sig on you're (haha) post.
This sig is informative but definately wins the "Making Others Self-Concious" Award.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
command line or console Audio Cd Player perfect_circle Slackware 4 02-15-2005 01:50 PM
Command line based Media Player OmnipotentOscar Linux - Software 1 02-01-2005 08:31 AM
Command line MP3 player? Kanon Linux - Newbie 8 01-19-2005 11:34 AM
What is the best command-line MP3 player? fatman Linux - Software 4 03-17-2004 05:18 PM
MP3 player from the command line? jsbush Linux - Newbie 3 10-18-2003 04:52 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration