2017年9月23日 星期六

raspbian 安裝 moc音樂播放

sudo apt-get install moc

mocp
執行於後台, 跟其他工作無關

-s: 停止播放
-G:暫停播放或繼續撥放
-f:播放下一首歌
-r:播放上一首歌
-i:顯示現在歌曲訊息
-x: 停止播放跳出

man mocp


------------------------------------------------------------
Music On Console (version 2.5.0, revision 2668)
Usage:
 mocp [OPTIONS]... [FILE]...
-V --version           Print program version and exit
-h --help              Print usage and exit
-D --debug             Turn on logging to a file
-S --server            Only run the server
-F --foreground        Run server in foreground and log to stdout
-R --sound-driver LIST Use the first valid sound driver from LIST
                       (sndio, oss, alsa, jack, null)
-m --music-dir         Start in MusicDir
-a --append            Append the files/directories/playlists passed in
                       the command line to playlist and exit
-q --enqueue           Add the files given on command line to the queue
-c --clear             Clear the playlist and exit
-p --play              Start playing from the first item on the playlist
-l --playit            Play files given on the command line without modifying
                       the playlist
-s --stop              Stop playing
-f --next              Play the next song
-r --previous          Play the previous song
-x --exit              Shutdown the server
-T --theme theme       Use the selected theme file (read from ~/.moc/themes
                       if the path is not absolute)
-C --config FILE       Use the specified config file instead of the default
-O --set-option NAME=VALUE
                       Override the configuration option NAME with VALUE
-M --moc-dir DIR       Use the specified MOC directory instead of the default
-P --pause             Pause
-U --unpause           Unpause
-G --toggle-pause      Toggle between playing and paused
-v --volume (+/-)LEVEL Adjust the PCM volume
-y --sync              Synchronize the playlist with other clients
-n --nosync            Don't synchronize the playlist with other clients
-A --ascii             Use ASCII characters to draw lines
-i --info              Print information about the currently playing file
-Q --format FORMAT     Print formatted information about the currently
                       playing file
-e --recursively       Alias for -a
-k --seek N            Seek by N seconds (can be negative)
-j --jump N{%,s}       Jump to some position of the current track
-o --on <controls>     Turn on a control (shuffle, autonext, repeat)
-u --off <controls>    Turn off a control (shuffle, autonext, repeat)
-t --toggle <controls> Toggle a control (shuffle, autonext, repeat)
-----------------------------------------------------------------------

沒有留言:

張貼留言