maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Usefull Mplayer options (https://talk.maemo.org/showthread.php?t=3035)

bsterix 2006-12-21 09:21

Quote:

Originally Posted by smackpotato
there are times you will want to use -playlist

Is there any documentation of this option? what is it good for?

thanks
bsterix

Serge 2006-12-26 15:03

MPlayer supports -playlist option, its usage is described in mplayer documentation: http://www.mplayerhq.hu/DOCS/HTML/en/index.html

But generally you need to create a text file which contains names of your media files, one file name per line (playlist.txt for example). Then you need to run MPlayer with -playlist option:
mplayer -playlist playlist.txt

Some other useful options are -shuffle (randomize order) and -loop (play files in a loop). For example the following command line uses all these options to infinitely play files from some playlist in random order:
mplayer -loop 0 -shuffle -playlist playlist.txt

PS. You need the latest version on MPlayer (at least mplayer_1.0rc1-maemo.6) as the older versions had a bug that prevented from playing more than one file per mplayer run.

bnk1999 2007-06-29 17:25

Re: Usefull Mplayer options
 
Quote:

Originally Posted by Serge (Post 27272)
MPlayer supports -playlist option, its usage is described in mplayer documentation: http://www.mplayerhq.hu/DOCS/HTML/en/index.html

But generally you need to create a text file which contains names of your media files, one file name per line (playlist.txt for example). Then you need to run MPlayer with -playlist option:
mplayer -playlist playlist.txt

Some other useful options are -shuffle (randomize order) and -loop (play files in a loop). For example the following command line uses all these options to infinitely play files from some playlist in random order:
mplayer -loop 0 -shuffle -playlist playlist.txt

PS. You need the latest version on MPlayer (at least mplayer_1.0rc1-maemo.6) as the older versions had a bug that prevented from playing more than one file per mplayer run.

How do you create a "text file which contains names of your media files"? Which program(s) on the N800 do you use? I am a newbie to working with mplayer, Could you guide me through the process of creating and playing a playlist step by step? Thanking you in advance for any help that you can provide.

rcull 2007-06-29 18:16

Re: Usefull Mplayer options
 
bnk1999
If you have installed Xterm ( look it up ) and your music ( for instance ) is in
Code:

/media/mmc1/mp3
then from the command line

Code:

find /media/mmc1/mp3/Gary_Moore -print > plist.txt
to give a playlist of just the one sub directory or for everything under /media/mmc1/mp3 then

Code:

find /media/mmc1/mp3 -print > plist.txt
then

Code:

mplayer -loop 0 -shuffle -playlist plist.txt
Rick

bnk1999 2007-06-29 19:49

Re: Usefull Mplayer options
 
Thanks rcull. I will try this out when I get home tonight.

bnk1999 2007-07-03 01:26

Re: Usefull Mplayer options
 
:D Works great! Thanks for your help.


All times are GMT. The time now is 12:48.

vBulletin® Version 3.8.8