LinuxQuestions.org
Help answer threads with 0 replies.
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-27-2012, 02:48 PM   #1
JackL92
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Rep: Reputation: Disabled
Unhappy How do you make MPlayer with shuffle and loop 0?


Currently I am start my mplayer with the following command:
Code:
mplayer -playlist playlist -loop 0
and it works fine.

However, if I use
Code:
mplayer -playlist playlist -loop 0 -shuffle
My songs will play in a random order, but the loop does not work anymore. The player will stop when it play all the songs from the playlist.

Is there anyway to make MPlayer shuffle and also loop forever? Thank you for helping!

Syst: CentOS 6.x x86_64

Last edited by JackL92; 08-29-2012 at 03:43 PM.
 
Old 08-28-2012, 08:38 PM   #2
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Quote:
Originally Posted by JackL92 View Post
Currently I am start my mplayer with the following command:
Code:
mplayer -playlist playlist -loop 0
and it works fine.

However, if I use
Code:
mplayer -playlist playlist -loop 0 -shuffle
My songs will play in a random order, but the loop does not work anymore. The player will stop when it play all the songs from the playlist.

Is there anyway to make MPlayer shuffle and also loop forever? Thank you for helping!

Syst: CentOS 6.x x86_64
This:
Code:
mplayer -loop 0 -shuffle $(cat your_playlist.m3u)
seems to work.
 
1 members found this post helpful.
Old 08-28-2012, 11:11 PM   #3
JackL92
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by SharpyWarpy View Post
This:
Code:
mplayer -loop 0 -shuffle $(cat your_playlist.m3u)
seems to work.
Let me give it a try! I will give you a reply tomorrow!
Thank you so much!

EDIT: Confirmed, it works fine, as what I wanted to. Thank you again! Problem Solved!

Last edited by JackL92; 08-29-2012 at 03:43 PM.
 
  


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
Loop option in mplayer GUI zarglink Linux - Software 3 05-29-2012 05:54 AM
mplayer: load a directory of movies, play on repeat shuffle fullscreen? danpaluska Linux - Software 2 06-08-2010 06:48 PM
Infinite loop while trying to install mplayer. dr_zayus69 Linux - Software 3 07-05-2008 06:34 AM
How do set mplayer to loop by default? walterbyrd Linux - Software 3 07-24-2004 05:40 PM
-shuffle not working in mplayer HwzrHlslndr Linux - Software 0 12-01-2003 07:42 PM


All times are GMT -5. The time now is 03:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration