LinuxQuestions.org
Visit Jeremy's Blog.
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 05-10-2006, 04:05 AM   #1
nutthick
Member
 
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

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

Rep: Reputation: 31
Code:
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, 07:10 AM   #3
nutthick
Member
 
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.
 
  


Reply


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

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

All times are GMT -5. The time now is 10:22 AM.

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