LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-09-2004, 11:04 AM   #1
chasingmytail
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:



====================================
#!/bin/bash

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

if [ -n "$DISPLAY" ]; then
PLAYER=xmms
else
PLAYER=mpg123
fi

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, 01:50 PM   #2
Komakino
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, 09:32 PM   #3
chasingmytail
LQ Newbie
 
Registered: Jun 2004
Distribution: Slack 10-current
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
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.
 
  


Reply



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 12:50 PM
Command line based Media Player OmnipotentOscar Linux - Software 1 02-01-2005 07:31 AM
Command line MP3 player? Kanon Linux - Newbie 8 01-19-2005 10:34 AM
What is the best command-line MP3 player? fatman Linux - Software 4 03-17-2004 04:18 PM
MP3 player from the command line? jsbush Linux - Newbie 3 10-18-2003 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:37 PM.

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