larigira/doc/source/audiogenerators.rst

27 lines
646 B
ReStructuredText
Raw Normal View History

2016-09-11 00:48:11 +02:00
Audiogenerators
===============
mpdrandom
---------
picks ``howmany`` song randomly from your mpd library. It follows this
strategy: it picks ``howmany`` artists from your MPD library, then picks a random song for each one
randomdir
----------
Given a directory ``path``, scan it recursively, then picks ``howmany`` random
files. No filename extensions checks are done, so beware of non-audio file in
that directory. Files are copied to ``TMPDIR`` before being returned.
static
---------
That simple: every element in ``paths`` is returned. Before doing so, they are
copied to ``TMPDIR``.
script
--------
see :doc:`audiogenerators-write`