Review your favorite Linux distribution.
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 05-10-2006, 05:05 AM   #1
Registered: Jun 2004
Distribution: Slack
Posts: 214

Rep: Reputation: 30
mplayer playlist help

I have a system that allows the user to play mp3 files through mplayer. Currently though, they can trigger two mp3 files to play at the same time and the audio overlaps. What I need mplayer to do, is play one file after the other, like in a playlist. Once a file has been played once, mplayer can forget about it, but I need to be able to stack new track requests onto the end of the current playlist and for mplayer to play them as they appear.

Can this be done in mplayer, or some other mp3 playing package?

n.b. I'm operating in slave mode

Old 05-10-2006, 08:00 AM   #2
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
mplayer -playlist list.m3u
I don't know if mplayer caches it, if it doesn't then you can just append to the file.
Old 05-10-2006, 08:10 AM   #3
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
My only problem with that, is I have to monitor mplayer to see if it has finished playing the current playlist, else it would stop the existing one, and start the new one.

I think I've solved this. I'm working in slave mode and can use the loadfile command to append to the playlist.


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
mplayer playlist problem ceilath Linux - Software 3 02-22-2006 03:43 AM
mplayer playlist zeus_iit Linux - Newbie 1 04-02-2005 07:10 PM
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 09:12 AM
mplayer playlist or script help gotcha Linux - Software 0 09-02-2004 09:08 AM
mplayer playlist enzo250gto Linux - Software 7 09-07-2002 03:15 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:23 AM.

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
Open Source Consulting | Domain Registration