Mopidy tool controlling playback from command line
Mopidy tool for controlling playback from command line
Install by running:
pip install mopidycli
Or, if available, install the Debian/Ubuntu package from apt.mopidy.com.
Now export the ip address of your mopidy server if it is not running on the same machine. Like this:
After installation, you’ll get the following scripts:
mopidy-next: Change to the next track. mopidy-pause: Pause playback. mopidy-play: play the currently active track. mopidy-previous: Change to the previous track. mopidy-resume: If paused, resume playing the current track. mopidy-shuffle: Shuffles the entire tracklist. mopidy-state: Get The playback state: 'playing', 'paused', or 'stopped'. If PLAYING or PAUSED, show information on current track. mopidy-tracklist: Get tracklist mopidy-play-backend-uri: Play a specific backend uri, like 'plex:album:6247' or 'spotify:track:XXX'
New command, mopidy-play-backend-uri, to play an album or track by backend uri.
Basic control of a given Mopidy server.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.