/mopidycli

Mopidy tool for controlling playback from command line

Primary LanguagePythonApache License 2.0Apache-2.0

mopidycli

Latest PyPI version Number of PyPI downloads Travis CI build status Test coverage

Mopidy tool for controlling playback from command line

Installation

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:

export MOPIDYSERVER=192.168.0.100:6680

Commands

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'

Project resources

Credits

Changelog

v0.2.0 (2016-02-03)

  • New command, mopidy-play-backend-uri, to play an album or track by backend uri.

v0.1.0

  • Initial release.
  • Basic control of a given Mopidy server.