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? |
I think mplayer will use a pls file as a playlist when given the -playlist argument.
|
Quote:
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. :D |
All times are GMT -5. The time now is 02:44 PM. |