File: randomplayrc

package info (click to toggle)
randomplay 0.60%2Bpristine-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: perl: 1,383; makefile: 26
file content (78 lines) | stat: -rw-r--r-- 1,864 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# 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?