Wikia

Music Player Daemon Community Wiki

Mpdrandom

525pages on
this wiki
Talk0

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

Around Wikia's network

Random Wiki