Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want a media player that I can control from the command line. Ideally I would like it to have a GUI option, but I need to be able to run a command to "pause it", "play the next track in the playlist" etc. The player will be playing some media, then from another terminal I want to control the current instance.
What are my options? I'd prefer it not to be an mpd client if possible.
XMMS. GUI, yet you can control it from the command line.
Code:
Usage: xmms [options] [files] ...
Options:
--------
-h, --help Display this text and exit.
-n, --session Select XMMS session (Default: 0)
-r, --rew Skip backwards in playlist
-p, --play Start playing current playlist
-u, --pause Pause current song
-s, --stop Stop current song
-t, --play-pause Pause if playing, play otherwise
-f, --fwd Skip forward in playlist
-e, --enqueue Don't clear the playlist
-Q, --queue Add file(s) to playlist and queue
-S, --toggle-shuffle[=SWITCH] Toggle the 'shuffle' flag.
-R, --toggle-repeat[=SWITCH] Toggle the 'repeat' flag.
-A, --toggle-advance[=SWITCH] Toggle the 'no playlist advance' flag.
SWITCH may be either 'on' or 'off'
-m, --show-main-window Show the main window.
-i, --sm-client-id Previous session ID
-v, --version Print version number and exit.
-q, --quit Close remote session.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.