Debian Codegraph @

README

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 Randomplay is a 'scratch an itch' music file player. The primary itch was to be
2 able to play a large music collection in random order but not to have tracks
3 repeated if the player was shut down, or if new tracks were added to the
4 collection, etc.. Another itch was to be able to specify a song to play quickly
5 without having to track it down in a directory hierarchy. I also wanted to be
6 able to use randomplay to generate a list of songs to load into a portable MP3
7 player, using the same memory of what has been played recently on the computer
8 itself. The final itch was to have the random shuffle be biased toward
9 favorite songs.
10
11 Randomplay scratches all these itches, and some other ones too.
12
13 This is a command line tool, for people who eschew GUIs when it comes to
14 playing their music files. Many of the features in randomplay exist in other
15 GUI music players, but I am not aware of any command-line only player that
16 includes every feature of randomplay.
17
18 You will need an actual music file player as well--randomplay is just a
19 frontend. Randomplay defaults to using ogg123 for ogg files and mpg321 for mp3
20 files, but you can specify other programs at the command line or in the
21 ~/.randomplayrc file (for example, player[wav]=play-sample). A properly built
22 mplayer could probably be used for all music file types.
23
24 Invoking randomplay is straightforward. See the manpage or the help options
25 (randomplay --help) for a list of command line options and keybindings while
26 randomplay is running. You can also set all options permanently in a
27 ~/.randomplayrc file. See the sample randomplayrc that comes with this package
28 for the syntax.
29
30 I recommend creating aliases or shell scripts for common switch combinations
31 that you use. For example, I have a script 'rpr':
32
33 #!/bin/sh
34 randomplay -0 --noremember -r '$@'
35
36 You could use this to quickly play a particular track based on a fragment of
37 its filename, regardless of where it is in your music directory hierarchy
38 (assuming you have defined "basedir" in ~/.randomplayrc).
39
40 I welcome bug reports and comments.
41
42 Adam Rosi-Kessel <[email protected]>