This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Smart playlist creation for mpd

Project Description

A smart playlist generator for MPD written in python.

Installation

Using pip

$ pip install smarty

Using easy_install

$ easy_install smarty

Usage

In default configuration, smarty will try to use $MPD_HOST (environment variable) and port 6600. If $MPD_HOST is not set, it will use localhost.

usage: smarty [-h] [-i <ip>] [-p <port>] [--maxnum <num>] [--dist <num>]
                [--norepeat] [-v] [--exclude <genre> [<genre> ...]]


Smart playlist generator written in python.

optional arguments:
  -h, --help            show this help message and exit
  -i <ip>, --ip <ip>    IP address of mpd server
  -p <port>, --port <port>
                        Port mpd server is listening on
  --maxnum <num>        Maximal number of songs in playlist
  --dist <num>          Add new song if only <x> songs are left to play in current playlist
  --norepeat            Don't add songs which are already in playlist.
  -v, --verbose         Print information about running process
  --exclude <genre> [<genre> ...]
                        Never add these genres to playlist

Example

Smarty could be used like this

smarty --norepeat --maxnum 3000 --verbose --exclude Comedy

This would only add songs which are not already in the current playlist, allow a maximum number of 3000 songs (deletes from the beginning if that number is exceeded). It will furthermore display the genre of each added song and not add the genre ‘Comedy’.

Bug Reports

Please submit any bugs you find to https://github.com/kpj/Smarty/issues.

Release History

Release History

This version
History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
smarty-0.3.3-py3.3.egg (10.4 kB) Copy SHA256 Checksum SHA256 3.3 Egg Jan 17, 2014
smarty-0.3.3.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Jan 17, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting