| 1 |
# This is a sample randomplayrc, copy it into your home directory as ~/.randomplayrc |
| 2 |
|
| 3 |
# base directory from which music will be searched if the specified directory or filename doesn't exist |
| 4 |
# in the current directory, or if no directory is specified |
| 5 |
basedir ~/music |
| 6 |
|
| 7 |
# history file |
| 8 |
history ~/.randomplay_history |
| 9 |
|
| 10 |
# how many days a song must have last been played before it can be played again |
| 11 |
days=10 |
| 12 |
|
| 13 |
# only play songs with modification time newer than last six months |
| 14 |
# newer-than=6M |
| 15 |
|
| 16 |
# only play songs with modification time before 1/1/2006 |
| 17 |
# older-than=1/1/2006 |
| 18 |
|
| 19 |
# hide output from player programs |
| 20 |
verbose=no |
| 21 |
|
| 22 |
# show the track information before each track is played |
| 23 |
quiet=no |
| 24 |
|
| 25 |
# default to remember songs played |
| 26 |
remember=yes |
| 27 |
|
| 28 |
# print tags in UTF-8 format |
| 29 |
utf8=yes |
| 30 |
|
| 31 |
# default to random shuffle |
| 32 |
random=yes |
| 33 |
|
| 34 |
# pause between songs, default to one second |
| 35 |
pause=1 |
| 36 |
|
| 37 |
# weight favorite songs more heavily than others |
| 38 |
weight=yes |
| 39 |
|
| 40 |
# default history filename |
| 41 |
history=~/.randomplay_history |
| 42 |
|
| 43 |
# default player programs |
| 44 |
player[mp3]=mpg321 |
| 45 |
player[ogg]=ogg123 |
| 46 |
# player[wav]=play-sample |
| 47 |
# player[flac]=mplayer |
| 48 |
# player[avi]=mplayer |
| 49 |
# etc.. |
| 50 |
|
| 51 |
# default "new song announce" program |
| 52 |
announce = osd_cat -p bottom -l 2 -A right -c white -d 5 -f '-etl-fixed-medium-r-*-*-24-*-*-*-*-*-*-*' |
| 53 |
|
| 54 |
# define keystrokes -- multiple characters means all those characters will work |
| 55 |
|
| 56 |
# like - the key to increase a song's random weighting |
| 57 |
key[like]=+ |
| 58 |
|
| 59 |
# dislike - the key to decrease a song's random weighting |
| 60 |
key[dislike]=- |
| 61 |
|
| 62 |
# reset - the key to reset a song's random weighting to 0 |
| 63 |
key[reset]=0= |
| 64 |
|
| 65 |
# next - the key to advance to the next song |
| 66 |
key[next]=NnFf |
| 67 |
|
| 68 |
# back - the key to go to the previous song |
| 69 |
key[back]=Bb |
| 70 |
|
| 71 |
# quit - the key to quit immediately |
| 72 |
key[quit]=Qq |
| 73 |
|
| 74 |
# last - the key to quit after the current song is done |
| 75 |
key[last]=Ll |
| 76 |
|
| 77 |
# help - the key to display define keystrokes |
| 78 |
key[help]=Hh? |