File: lircrc.simple

package info (click to toggle)
irmp3 0.4.3pre6-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 584 kB
  • ctags: 374
  • sloc: ansic: 3,955; makefile: 212; pascal: 39
file content (141 lines) | stat: -rw-r--r-- 2,241 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
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
##########################################################################
# $Id: lircrc.simple,v 1.3 2000/02/07 18:50:50 dpotter Exp $
#
# lircrc.simple -- Simple lircrc for use with LIRC and IRMP3
#
# Copyright (C) by Andreas Neuhaus <andy@fasta.fh-dortmund.de>
#

#
# Stop playing when the STOP button is pressed
begin
	prog = irmp3
	button = STOP
	config = stop
end

#
# Button PAUSE is used to pause/resume the playing
begin
	prog = irmp3
	button = PAUSE
	config = pause
end

#
# Buttons 1-3 will play a specific song
begin
	prog = irmp3
	button = 1
	config = play test1.mp3
end
begin
	prog = irmp3
	button = 2
	config = play test2.mp3
end
begin
	prog = irmp3
	button = 3
	config = play test3.mp3
end

#
# Buttons 4-9 will load playlists
begin
	prog = irmp3
	button = 4
	config = playlist load cd1.m3u
end
begin
	prog = irmp3
	button = 5
	config = playlist load cd2.m3u
end
begin
	prog = irmp3
	button = 6
	config = playlist load cd3.m3u
end
begin
	prog = irmp3
	button = 7
	config = playlist load cd4.m3u
end
begin
	prog = irmp3
	button = 8
	config = playlist load cd5.m3u
end
begin
	prog = irmp3
	button = 9
	config = playlist load cd6.m3u
end

#
# Button 0 clears the current playlist
begin
	prog = irmp3
	button = 0
	config = playlist clear
end

#
# Button SHUFFLE will shuffle the playlist thus providing
# a random play order of the current playlist.
begin
	prog = irmp3
	button = SHUFFLE
	config = playlist shuffle
end

#
# Buttons TRACK+ and TRACK- are used to skip a song forward
# or back in the current playlist.
begin
	prog = irmp3
	button = TRACK+
	config = playlist jump +1
end
begin
	prog = irmp3
	button = TRACK-
	config = playlist jump -1
end

#
# Buttons SEEK+ and SEEK- are used to seek 2 seconds in the
# currently playing song.
begin
	prog = irmp3
	button = SEEK+
	repeat = 1
	config = seek +2
end
begin
	prog = irmp3
	button = SEEK-
	repeat = 1
	config = seek -2
end

#
# Buttons VOL+ and VOL- are used to control the mixer
# and thus increasing/decreasing the master volume.
begin
	prog = irmp3
	button = VOL+
	repeat = 1
	config = mixer volume +2
end
begin
	prog = irmp3
	button = VOL-
	repeat = 1
	config = mixer volume -2
end

##########################################################################
# EOF
#