a tiny webserver used to display the current itunes song
1module ITunesFix
2 Version = 1.1
3 Path = "/"
4
5 Classes = [
6 ["EQ_preset", "cEQP"],
7 ["EQ_window", "cEQW"],
8 ["URL_track", "cURT"],
9 ["application", "capp"],
10 ["artwork", "cArt"],
11 ["audio_CD_playlist", "cCDP"],
12 ["audio_CD_track", "cCDT"],
13 ["browser_window", "cBrW"],
14 ["device_playlist", "cDvP"],
15 ["device_track", "cDvT"],
16 ["encoder", "cEnc"],
17 ["file_track", "cFlT"],
18 ["folder_playlist", "cFoP"],
19 ["item", "cobj"],
20 ["library_playlist", "cLiP"],
21 ["playlist", "cPly"],
22 ["playlist_window", "cPlW"],
23 ["print_settings", "pset"],
24 ["radio_tuner_playlist", "cRTP"],
25 ["shared_track", "cShT"],
26 ["source", "cSrc"],
27 ["track", "cTrk"],
28 ["user_playlist", "cUsP"],
29 ["visual", "cVis"],
30 ["window", "cwin"],
31 ]
32
33 Enumerators = [
34 ["Books", "kSpA"],
35 ["Genius", "kSpG"],
36 ["Library", "kSpL"],
37 ["MP3_CD", "kMCD"],
38 ["Movies", "kSpI"],
39 ["Music", "kSpZ"],
40 ["Party_Shuffle", "kSpS"],
41 ["Podcasts", "kSpP"],
42 ["Purchased_Music", "kSpM"],
43 ["TV_Shows", "kSpT"],
44 ["TV_show", "kVdT"],
45 ["album_listing", "kAlb"],
46 ["albums", "kSrL"],
47 ["all", "kAll"],
48 ["artists", "kSrR"],
49 ["audio_CD", "kACD"],
50 ["cd_insert", "kCDi"],
51 ["composers", "kSrC"],
52 ["computed", "kRtC"],
53 ["detailed", "lwdt"],
54 ["device", "kDev"],
55 ["displayed", "kSrV"],
56 ["fast_forwarding", "kPSF"],
57 ["folder", "kSpF"],
58 ["iPod", "kPod"],
59 ["iTunes_U", "kSpU"],
60 ["large", "kVSL"],
61 ["library", "kLib"],
62 ["medium", "kVSM"],
63 ["movie", "kVdM"],
64 ["music_video", "kVdV"],
65 ["none", "kNon"],
66 ["off", "kRpO"],
67 ["one", "kRp1"],
68 ["paused", "kPSp"],
69 ["playing", "kPSP"],
70 ["radio_tuner", "kTun"],
71 ["rewinding", "kPSR"],
72 ["shared_library", "kShd"],
73 ["small", "kVSS"],
74 ["songs", "kSrS"],
75 ["standard", "lwst"],
76 ["stopped", "kPSS"],
77 ["track_listing", "kTrk"],
78 ["unknown", "kUnk"],
79 ["user", "kRtU"],
80 ]
81
82 Properties = [
83 ["EQ", "pEQp"],
84 ["EQ_enabled", "pEQ "],
85 ["address", "pURL"],
86 ["album", "pAlb"],
87 ["album_artist", "pAlA"],
88 ["album_rating", "pAlR"],
89 ["album_rating_kind", "pARk"],
90 ["artist", "pArt"],
91 ["band_1", "pEQ1"],
92 ["band_10", "pEQ0"],
93 ["band_2", "pEQ2"],
94 ["band_3", "pEQ3"],
95 ["band_4", "pEQ4"],
96 ["band_5", "pEQ5"],
97 ["band_6", "pEQ6"],
98 ["band_7", "pEQ7"],
99 ["band_8", "pEQ8"],
100 ["band_9", "pEQ9"],
101 ["bit_rate", "pBRt"],
102 ["bookmark", "pBkt"],
103 ["bookmarkable", "pBkm"],
104 ["bounds", "pbnd"],
105 ["bpm", "pBPM"],
106 ["capacity", "capa"],
107 ["category", "pCat"],
108 ["closeable", "hclb"],
109 ["collapseable", "pWSh"],
110 ["collapsed", "wshd"],
111 ["collating", "lwcl"],
112 ["comment", "pCmt"],
113 ["compilation", "pAnt"],
114 ["composer", "pCmp"],
115 ["container", "ctnr"],
116 ["copies", "lwcp"],
117 ["current_EQ_preset", "pEQP"],
118 ["current_encoder", "pEnc"],
119 ["current_playlist", "pPla"],
120 ["current_stream_URL", "pStU"],
121 ["current_stream_title", "pStT"],
122 ["current_track", "pTrk"],
123 ["current_visual", "pVis"],
124 ["data", "pPCT"],
125 ["database_ID", "pDID"],
126 ["date_added", "pAdd"],
127 ["description", "pDes"],
128 ["disc_count", "pDsC"],
129 ["disc_number", "pDsN"],
130 ["downloaded", "pDlA"],
131 ["duration", "pDur"],
132 ["enabled", "enbl"],
133 ["ending_page", "lwlp"],
134 ["episode_ID", "pEpD"],
135 ["episode_number", "pEpN"],
136 ["error_handling", "lweh"],
137 ["fax_number", "faxn"],
138 ["finish", "pStp"],
139 ["fixed_indexing", "pFix"],
140 ["format", "pFmt"],
141 ["free_space", "frsp"],
142 ["frontmost", "pisf"],
143 ["full_screen", "pFSc"],
144 ["gapless", "pGpl"],
145 ["genre", "pGen"],
146 ["grouping", "pGrp"],
147 ["id_", "ID "],
148 ["index", "pidx"],
149 ["kind", "pKnd"],
150 ["location", "pLoc"],
151 ["long_description", "pLds"],
152 ["lyrics", "pLyr"],
153 ["minimized", "pMin"],
154 ["modifiable", "pMod"],
155 ["modification_date", "asmo"],
156 ["mute", "pMut"],
157 ["name", "pnam"],
158 ["pages_across", "lwla"],
159 ["pages_down", "lwld"],
160 ["parent", "pPlP"],
161 ["persistent_ID", "pPIS"],
162 ["played_count", "pPlC"],
163 ["played_date", "pPlD"],
164 ["player_position", "pPos"],
165 ["player_state", "pPlS"],
166 ["podcast", "pTPc"],
167 ["position", "ppos"],
168 ["preamp", "pEQA"],
169 ["printer_features", "lwpf"],
170 ["rating", "pRte"],
171 ["rating_kind", "pRtk"],
172 ["raw_data", "pRaw"],
173 ["release_date", "pRlD"],
174 ["requested_print_time", "lwqt"],
175 ["resizable", "prsz"],
176 ["sample_rate", "pSRt"],
177 ["season_number", "pSeN"],
178 ["selection", "sele"],
179 ["shared", "pShr"],
180 ["show", "pShw"],
181 ["shufflable", "pSfa"],
182 ["shuffle", "pShf"],
183 ["size", "pSiz"],
184 ["skipped_count", "pSkC"],
185 ["skipped_date", "pSkD"],
186 ["smart", "pSmt"],
187 ["song_repeat", "pRpt"],
188 ["sort_album", "pSAl"],
189 ["sort_album_artist", "pSAA"],
190 ["sort_artist", "pSAr"],
191 ["sort_composer", "pSCm"],
192 ["sort_name", "pSNm"],
193 ["sort_show", "pSSN"],
194 ["sound_volume", "pVol"],
195 ["special_kind", "pSpK"],
196 ["start", "pStr"],
197 ["starting_page", "lwfp"],
198 ["target_printer", "trpr"],
199 ["time", "pTim"],
200 ["track_count", "pTrC"],
201 ["track_number", "pTrN"],
202 ["unplayed", "pUnp"],
203 ["update_tracks", "pUTC"],
204 ["version", "vers"],
205 ["video_kind", "pVdK"],
206 ["view", "pPly"],
207 ["visible", "pvis"],
208 ["visual_size", "pVSz"],
209 ["visuals_enabled", "pVsE"],
210 ["volume_adjustment", "pAdj"],
211 ["year", "pYr "],
212 ["zoomable", "iszm"],
213 ["zoomed", "pzum"],
214 ]
215
216 Elements = [
217 ["EQ_presets", "cEQP"],
218 ["EQ_windows", "cEQW"],
219 ["URL_tracks", "cURT"],
220 ["application", "capp"],
221 ["artworks", "cArt"],
222 ["audio_CD_playlists", "cCDP"],
223 ["audio_CD_tracks", "cCDT"],
224 ["browser_windows", "cBrW"],
225 ["device_playlists", "cDvP"],
226 ["device_tracks", "cDvT"],
227 ["encoders", "cEnc"],
228 ["file_tracks", "cFlT"],
229 ["folder_playlists", "cFoP"],
230 ["items", "cobj"],
231 ["library_playlists", "cLiP"],
232 ["playlist_windows", "cPlW"],
233 ["playlists", "cPly"],
234 ["print_settings", "pset"],
235 ["radio_tuner_playlists", "cRTP"],
236 ["shared_tracks", "cShT"],
237 ["sources", "cSrc"],
238 ["tracks", "cTrk"],
239 ["user_playlists", "cUsP"],
240 ["visuals", "cVis"],
241 ["windows", "cwin"],
242 ]
243
244 Commands = [
245 ["add", "hookAdd ", [
246 ["to", "insh"],
247 ]],
248 ["back_track", "hookBack", [
249 ]],
250 ["close", "coreclos", [
251 ]],
252 ["convert", "hookConv", [
253 ]],
254 ["count", "corecnte", [
255 ["each", "kocl"],
256 ]],
257 ["delete", "coredelo", [
258 ]],
259 ["download", "hookDwnl", [
260 ]],
261 ["duplicate", "coreclon", [
262 ["to", "insh"],
263 ]],
264 ["eject", "hookEjct", [
265 ]],
266 ["exists", "coredoex", [
267 ]],
268 ["fast_forward", "hookFast", [
269 ]],
270 ["make", "corecrel", [
271 ["new", "kocl"],
272 ["at", "insh"],
273 ["with_properties", "prdt"],
274 ]],
275 ["move", "coremove", [
276 ["to", "insh"],
277 ]],
278 ["next_track", "hookNext", [
279 ]],
280 ["open", "aevtodoc", [
281 ]],
282 ["open_location", "GURLGURL", [
283 ]],
284 ["pause", "hookPaus", [
285 ]],
286 ["play", "hookPlay", [
287 ["once", "POne"],
288 ]],
289 ["playpause", "hookPlPs", [
290 ]],
291 ["previous_track", "hookPrev", [
292 ]],
293 ["print", "aevtpdoc", [
294 ["print_dialog", "pdlg"],
295 ["with_properties", "prdt"],
296 ["kind", "pKnd"],
297 ["theme", "pThm"],
298 ]],
299 ["quit", "aevtquit", [
300 ]],
301 ["refresh", "hookRfrs", [
302 ]],
303 ["resume", "hookResu", [
304 ]],
305 ["reveal", "hookRevl", [
306 ]],
307 ["rewind", "hookRwnd", [
308 ]],
309 ["run", "aevtoapp", [
310 ]],
311 ["search", "hookSrch", [
312 ["for", "pTrm"],
313 ["only", "pAre"],
314 ]],
315 ["set", "coresetd", [
316 ["to", "data"],
317 ]],
318 ["stop", "hookStop", [
319 ]],
320 ["subscribe", "hookpSub", [
321 ]],
322 ["update", "hookUpdt", [
323 ]],
324 ["updateAllPodcasts", "hookUpdp", [
325 ]],
326 ["updatePodcast", "hookUpd1", [
327 ]],
328 ]
329end