-
Notifications
You must be signed in to change notification settings - Fork 0
/
xhippo.config
154 lines (122 loc) · 5.22 KB
/
xhippo.config
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# Default config file for GNU xhippo. Please see the xhippo manual for
# more information on configuration options.
# A hash at the start of a line means a comment.
# The config file parser is a bit simple, so don't put extraneous spaces
# around, particularly at the end of lines.
# These define the "types" that xhippo uses.
# Usage: type:extension:command[:flags]
# The extension is the extension of the filename.
# Flags can include "i" to redirect input from /dev/null, or "g" to
# run the command in a seperate process group.
# This works with both the real mpg123 and with the free mpg321.
type:mp3:ffplay -loglevel quiet -nodisp
# But this is preferred anyway.
#type:mp3:madplay:i
#type:mp3:splay
type:wav:ffplay -loglevel quiet -nodisp
type:mid:ffplay -loglevel quiet -nodisp
type:mod:xmp -f44100
type:s3m:xmp -f44100
type:xm:xmp -f44100
type:it:xmp -f44100
type:mov:mplayer -really-quiet -vo null
type:avi:mplayer -really-quiet -vo null
type:mpg:mplayer -really-quiet -vo null
type:mpeg:mplayer -really-quiet -vo null
type:ogm:mplayer -really-quiet -vo null
type:ogg:ffplay -loglevel quiet -nodisp
type:flac:ffplay -loglevel quiet -nodisp
# Use this instead if you're having trouble with ogg123 not exiting correctly.
#type:ogg:mplayer -really-quiet -vo null
type:sid:sidplay -f44100 -16 -s
type:spx:speexdec
# Use "usercommand" to add any user commands that you want to the menu.
# %s will be replaced with the full filename of the selected song.
#usercommand:List file:ls -l "%s"
#usercommand:Print file:lpr "%s"
#usercommand:View file:rxvt -e less "%s" &
# Use the "load" command to force a playlist to be read.
#load:/home/azz/.xhippo/playlists/mpegs
# Use "exec" to execute a command. You could, for instance, use "find"
# to automatically remake a playlist when you start up xhippo, like this:
#exec:locate .mp3 >tmp-playlist
#load:tmp-playlist
#exec:rm -f tmp-playlist
# Make this "autostart:yes" if you want xhippo to start playing immediately
# when it's run.
autostart:no
# Make this "scroll:no" if you don't want xhippo to scroll the playlist
# when it selects a random item.
scroll:yes
# Make this "leftscroll:yes" if you want xhippo's scrollbar to be on the
# left (which looks better with NeXTStep-style themes).
leftscroll:no
# Make this "mustplayall:no" if you want xhippo to prematurely repeat
# playlist items.
mustplayall:yes
# Make this "showpid:yes" if you want xhippo to show the PID of its
# player processes.
showpid:no
# Make this "readid3:yes" if you want xhippo to attempt to read ID3 tags
# from files.
readid3:no
# Make this "savewinstate:no" if you don't want xhippo to save the position
# and state (minified or not) of its window between sessions.
savewinstate:yes
# Make this "startmini:yes" if you want xhippo to start up in
# "minified" state (as if you'd checked the "Mini" checkbox).
startmini:no
# Make this "ordered:yes" if you want xhippo to start up with the
# "Random" checkbox cleared.
ordered:no
# Make this "stripextension:no" if you don't want xhippo to strip
# the extensions off files displayed in the playlist.
stripextension:yes
# Make this "hideplayeroutput:yes" if you want the output of child
# processes redirected to /dev/null.
hideplayeroutput:no
# This specifies the type of sort to do on startup. "none" (or any
# other unrecognised value) means don't sort; "name" (or any non-zero
# numeric value) means to sort by name, "swapped" to sort by swapped
# name, "mtime" to sort by mtime.
sortonload:none
# Specify this if you want to use a different directory for playlists.
#playlistdir:/usr/local/lib/playlists
# Make this "demanglenames:no" if you don't want xhippo to replace
# %20s and underscores with spaces in the playlist display.
demanglenames:yes
# Make this "onetime:yes" if you want xhippo to stop once all the songs
# in the list have been played.
onetime:no
# Make this "playlisttitle:no" if you don't want xhippo to set the
# window title to include the name of the loaded playlist.
playlisttitle:yes
# Make this "titlebasename:no" if you want xhippo to use the full
# path of the playlist in the window title instead of the basename.
titlebasename:yes
# Make this "nocheckfiles:yes" if you don't want xhippo to check that
# all files added or read from a playlist actually exist.
nocheckfiles:no
# Make this "writeplaying:yes" if you want xhippo to write the display
# name of the currently-playing song to ~/.xhippo/current_song.
writeplaying:no
# Make this "skippath:n" to always skip the first n components of the
# path in filenames when converting to the display name; the default is
# 0, which means to use the basename.
#skippath:2
# Uncomment one of these to assume that non-option arguments are files
# or directories to add to the playlist.
#commandlinefiles:yes
#commandlinedirs:yes
# Make this "deletewhenplayed:yes" to make xhippo remove files from
# the playlist after they have been played.
deletewhenplayed:no
# Make this "persistplaylist:yes" to automatically load and save the
# playlist on startup and shutdown.
persistplaylist:no
# Make this "commandlineguess:no" if you don't want xhippo to attempt
# to guess what command-line arguments are.
commandlineguess:yes
# Make this "persistfrequently:yes" to make xhippo save the playlist
# after starting each song if persistplaylist is turned on.
persistfrequently:no