Requirements:
When playing a song series by mplayer, if you want to play all the songs, you can continue to listen to them next time.
Analysis:
Play all audio
Put in background to pause
Play back again
After listening, continue to put it in the background for pause
Method 1:
$ Mplayer * [play audio]
$ Ctrl + Z [put it in the background and pause playback]
$ Jobs-L [view all jobs in the background]
$ FG % number [obtain the job number in the background to the foreground to continue the job]
Method 2:
$ Mplayer *
$ Space key [paused, terminal not closed]
Note:
When using mplayer, it is recommended that you do not use remote connection. The terminal in the original machine is very stable.
This article is from the "andyhdchoice" blog, please be sure to keep this source http://andyhdchoice.blog.51cto.com/1521623/1548757
Example: Play a song (mplayer + jobs + FG)