Fandom

Music Player Daemon Community Wiki

Mpdrandom

525pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

mpdrandom.py

is a python script designed to add the missing randomness to mpd's albums.


Features

  • Pick a random album from the playlist and play it
  • Daemon mode: Play a random album whenever you reach the end of the current one.
  • Shuffle: Shuffle all albums in the current playlist (seamless)

Installation

git clone git://github.com/axujen/mpdrandom.git
cd mpdrandom
sudo ./setup.py install

Usage

usage: mpdrandom [-h] [-d] [-z] [-p PORT] [-u HOST] [--password PASSWORD]

Pick and play a random album from the current playlist

optional arguments:
  -h, --help            show this help message and exit
  -d, --daemon          run the script in daemon mode.
  -z, --shuffle         shuffle the albums in the current playlist.
  -p PORT, --port PORT  specify mpd's port (defaults to 6600)
  -u HOST, --host HOST  specify mpd's host (defaults to 127.0.0.1)
  --password PASSWORD   specify mpd's password

Get the latest version of the script from the git repo

Also on Fandom

Random Wiki