# This is a sample randomplayrc, copy it into your home directory as ~/.randomplayrc # base directory from which music will be searched if the specified directory or filename doesn't exist # in the current directory, or if no directory is specified basedir ~/music # history file history ~/.randomplay_history # how many days a song must have last been played before it can be played again days=10 # only play songs with modification time newer than last six months # newer-than=6M # only play songs with modification time before 1/1/2006 # older-than=1/1/2006 # hide output from player programs verbose=no # show the track information before each track is played quiet=no # default to remember songs played remember=yes # print tags in UTF-8 format utf8=yes # default to random shuffle random=yes # pause between songs, default to one second pause=1 # weight favorite songs more heavily than others weight=yes # default history filename history=~/.randomplay_history # default player programs player[mp3]=mpg123 player[ogg]=ogg123 # player[wav]=play-sample # player[flac]=mplayer # player[avi]=mplayer # etc.. # default "new song announce" program announce = osd_cat -p bottom -l 2 -A right -c white -d 5 -f '-etl-fixed-medium-r-*-*-24-*-*-*-*-*-*-*' # define keystrokes -- multiple characters means all those characters will work # like - the key to increase a song's random weighting key[like]=+ # dislike - the key to decrease a song's random weighting key[dislike]=- # reset - the key to reset a song's random weighting to 0 key[reset]=0= # next - the key to advance to the next song key[next]=NnFf # back - the key to go to the previous song key[back]=Bb # quit - the key to quit immediately key[quit]=Qq # last - the key to quit after the current song is done key[last]=Ll # help - the key to display define keystrokes key[help]=Hh?