Mercurial > minori
comparison dep/animia/data/players.anisthesia @ 137:69db40272acd
dep/animia: [WIP] huge refactor
this WILL NOT compile, because lots of code has been changed
and every API in the original codebase has been removed.
note that this api setup is not exactly permanent...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 10 Nov 2023 13:52:47 -0500 |
parents | |
children | 54c5d80a737e |
comparison
equal
deleted
inserted
replaced
136:7d3ad9529c4c | 137:69db40272acd |
---|---|
1 # This file includes media player data for Anisthesia. It is used to detect | |
2 # running players and retrieve information about current media. | |
3 # | |
4 # Please read before editing this file: | |
5 # - Indentation is significant. You must use tabs rather than spaces. | |
6 # - Regular expressions begin with a '^' character. ECMAScript grammar is used. | |
7 # | |
8 # The latest version of this file can be found at: | |
9 # <https://github.com/erengy/anisthesia> | |
10 # | |
11 # This file is in the public domain. | |
12 | |
13 5KPlayer | |
14 windows: | |
15 Qt5QWindowIcon | |
16 executables: | |
17 5KPlayer | |
18 strategies: | |
19 open_files | |
20 | |
21 Ace Player HD | |
22 windows: | |
23 QWidget | |
24 executables: | |
25 ace_player | |
26 strategies: | |
27 # Must be enabled from: Advanced Preferences -> Interface -> Main | |
28 # interfaces -> Qt -> Show playing item name in window title | |
29 # | |
30 # We use the last alternative to avoid detecting other windows such as | |
31 # Preferences dialog, which has the same generic class name. | |
32 window_title: | |
33 ^Ace Player HD.*|(.+) - Ace Player HD.*|.+ | |
34 | |
35 ALLPlayer | |
36 windows: | |
37 TApplication | |
38 executables: | |
39 ALLPlayer | |
40 strategies: | |
41 open_files | |
42 | |
43 Baka MPlayer | |
44 windows: | |
45 Qt5QWindowIcon | |
46 executables: | |
47 Baka MPlayer | |
48 strategies: | |
49 open_files | |
50 # We cannot avoid detecting other windows such as Preferences dialog, which | |
51 # has the same generic class name. | |
52 window_title: | |
53 ^Baka MPlayer|(.+) | |
54 | |
55 BESTplayer | |
56 windows: | |
57 TBESTplayerApp.UnicodeClass | |
58 executables: | |
59 BESTplayer | |
60 strategies: | |
61 open_files | |
62 window_title: | |
63 ^BESTplayer.*|(.+) - BESTplayer.* | |
64 | |
65 bomi | |
66 windows: | |
67 Qt5QWindowGLOwnDCIcon | |
68 executables: | |
69 bomi | |
70 strategies: | |
71 open_files | |
72 window_title: | |
73 ^bomi|(.+) - bomi | |
74 | |
75 BS.Player | |
76 windows: | |
77 BSPlayer | |
78 executables: | |
79 bsplayer | |
80 strategies: | |
81 open_files | |
82 | |
83 DivX Player | |
84 windows: | |
85 Qt5QWindowIcon | |
86 QWidget | |
87 executables: | |
88 DivX Player | |
89 DivX Plus Player | |
90 strategies: | |
91 open_files | |
92 | |
93 GOM Player | |
94 windows: | |
95 GomPlayer1.x | |
96 GomPlayerPlus32_2.x | |
97 GomPlayerPlus64_2.x | |
98 executables: | |
99 GOM | |
100 GOM64 | |
101 strategies: | |
102 open_files | |
103 window_title: | |
104 ^GOM Player(?: Plus)|(.+)(?:\[Subtitle\]) - GOM Player(?: Plus) | |
105 | |
106 Kantaris | |
107 windows: | |
108 ^WindowsForms10\.Window\.20008\.app\..+ | |
109 executables: | |
110 Kantaris | |
111 KantarisMain | |
112 strategies: | |
113 open_files | |
114 window_title: | |
115 ^Kantaris.*|(.+) \d{2}:\d{2}:\d{2} - \d{2}:\d{2}:\d{2} | |
116 | |
117 KMPlayer | |
118 windows: | |
119 KMPlayer 64X | |
120 TApplication | |
121 executables: | |
122 KMPlayer | |
123 KMPlayer64 | |
124 strategies: | |
125 open_files | |
126 window_title: | |
127 ^(?:The )?KMPlayer|(?:\[\d+/\d+\] )?(.+) - (?:The )?KMPlayer|(.+) | |
128 | |
129 Kodi | |
130 windows: | |
131 Kodi | |
132 XBMC | |
133 executables: | |
134 kodi | |
135 XBMC | |
136 strategies: | |
137 open_files | |
138 | |
139 Light Alloy | |
140 windows: | |
141 TApplication | |
142 executables: | |
143 LA | |
144 strategies: | |
145 open_files | |
146 window_title: | |
147 ^Light Alloy.*|(.+) - Light Alloy.* | |
148 | |
149 Media Player Classic | |
150 windows: | |
151 MediaPlayerClassicW | |
152 executables: | |
153 mplayerc | |
154 mplayerc64 | |
155 strategies: | |
156 open_files | |
157 # Depends on: Options -> Player -> Title bar | |
158 window_title: | |
159 ^Media Player Classic|(.+) - Media Player Classic | |
160 | |
161 Media Player Classic Qute Theater | |
162 windows: | |
163 ^Qt.+QWindowIcon | |
164 executables: | |
165 mpc-qt | |
166 strategies: | |
167 open_files | |
168 # Depends on: Options -> Player -> Title bar | |
169 # | |
170 # We use the last alternative to avoid detecting other windows such as | |
171 # Options dialog, which has the same generic class name. | |
172 window_title: | |
173 ^Media Player Classic Qute Theater|Media Player Classic Qute Theater - (.+)|.+ | |
174 | |
175 Memento | |
176 windows: | |
177 ^Qt.+QWindowIcon | |
178 executables: | |
179 memento | |
180 strategies: | |
181 open_files | |
182 window_title: | |
183 ^Memento|(.+) - Memento | |
184 | |
185 Miro | |
186 windows: | |
187 gdkWindowToplevel | |
188 executables: | |
189 Miro | |
190 strategies: | |
191 open_files | |
192 | |
193 MPC-BE | |
194 windows: | |
195 MediaPlayerClassicW | |
196 MPC-BE | |
197 executables: | |
198 mpc-be | |
199 mpc-be64 | |
200 strategies: | |
201 open_files | |
202 # Depends on: Options -> Player -> Title bar | |
203 window_title: | |
204 ^MPC-BE.*|(.+) - MPC-BE.* | |
205 | |
206 MPC-HC | |
207 windows: | |
208 MediaPlayerClassicW | |
209 executables: | |
210 mpc-hc | |
211 mpc-hc64 | |
212 # Some codec installers append "_nvo" to the filename, if NVIDIA Optimus | |
213 # is present on the system. Similarly, various guides recommend | |
214 # appending "-gpu", etc. in order to fix some GPU-related issues. | |
215 ^mpc-hc.+ | |
216 # LAV Filters Megamix | |
217 iris | |
218 shoukaku | |
219 strategies: | |
220 open_files | |
221 # Depends on: Options -> Player -> Title bar | |
222 window_title: | |
223 ^Media Player Classic Home Cinema|MPC-HC|(.+) | |
224 | |
225 MPCSTAR | |
226 windows: | |
227 ^wxWindow@.* | |
228 wxWindowClassNR | |
229 executables: | |
230 mpcstar | |
231 strategies: | |
232 open_files | |
233 window_title: | |
234 ^MPCSTAR.*|(.+) - MPCSTAR.* | |
235 | |
236 MPDN | |
237 windows: | |
238 ^WindowsForms10\.Window\.8\.app\..+ | |
239 executables: | |
240 MediaPlayerDotNet | |
241 strategies: | |
242 open_files | |
243 window_title: | |
244 ^MPDN - Media Player .NET \((?:32|64)-bit Edition\)|(.*) - MPDN \((?:32|64)-bit Edition\) | |
245 | |
246 mpv | |
247 windows: | |
248 mpv | |
249 executables: | |
250 mpv | |
251 strategies: | |
252 open_files | |
253 # May be in an unexpected format if "--title" option is used. Ideally, it | |
254 # should return only "${filename}", "${path}" or "${media-title}". | |
255 window_title: | |
256 ^No file - mpv|(.+) - mpv|mpv - (.+) | |
257 | |
258 mpv.net | |
259 windows: | |
260 ^WindowsForms10\.Window\.8\.app\..+ | |
261 executables: | |
262 mpvnet | |
263 strategies: | |
264 open_files | |
265 window_title: | |
266 ^mpv\.net.*|(.+) - mpv\.net.* | |
267 | |
268 MV2Player | |
269 windows: | |
270 TApplication | |
271 executables: | |
272 Mv2Player | |
273 Mv2PlayerPlus | |
274 strategies: | |
275 open_files | |
276 # Depends on: Options -> Player -> Constant app. title | |
277 window_title: | |
278 ^MV2 Player|(.+) | |
279 | |
280 PotPlayer | |
281 windows: | |
282 PotPlayer | |
283 PotPlayer64 | |
284 executables: | |
285 PotPlayer | |
286 PotPlayer64 | |
287 PotPlayerMini | |
288 PotPlayerMini64 | |
289 # LAV Filters Megamix | |
290 sumire | |
291 zuikaku | |
292 strategies: | |
293 open_files | |
294 window_title: | |
295 ^PotPlayer|(.+) - PotPlayer | |
296 | |
297 SMPlayer | |
298 windows: | |
299 # Qt5QWindowIcon, Qt5152QWindowIcon, etc. | |
300 ^Qt.+QWindowIcon | |
301 # Older versions | |
302 QWidget | |
303 executables: | |
304 smplayer | |
305 smplayer2 | |
306 strategies: | |
307 # "open_files" strategy does not work here, because files are loaded by | |
308 # a child process of SMPlayer (mplayer or mpv, depending on the selected | |
309 # multimedia engine). | |
310 # | |
311 # We use the last alternative to avoid detecting other windows such as | |
312 # Preferences dialog, which has the same generic class name. | |
313 window_title: | |
314 ^SMPlayer|(.+) - SMPlayer|.+ | |
315 | |
316 Splash | |
317 windows: | |
318 DX_DISPLAY0 | |
319 executables: | |
320 Splash | |
321 SplashLite | |
322 strategies: | |
323 open_files | |
324 | |
325 SPlayer | |
326 windows: | |
327 MediaPlayerClassicW | |
328 executables: | |
329 splayer | |
330 strategies: | |
331 open_files | |
332 # Does not work in theater mode. | |
333 window_title: | |
334 ^SPlayer|(?:\[(?:GPU Accel\+)?EVR\] )?(.+) - SPlayer | |
335 | |
336 UMPlayer | |
337 windows: | |
338 QWidget | |
339 executables: | |
340 umplayer | |
341 strategies: | |
342 # "open_files" strategy does not work here, because files are loaded by | |
343 # a child process of UMPlayer (mplayer). | |
344 # | |
345 # We use the last alternative to avoid detecting other windows such as | |
346 # Preferences dialog, which has the same generic class name. | |
347 window_title: | |
348 ^UMPlayer|(.+) - UMPlayer|.+ | |
349 | |
350 VLC media player | |
351 windows: | |
352 # Qt5QWindowIcon, Qt5151QWindowIcon, etc. | |
353 ^Qt.+QWindowIcon | |
354 # Older versions | |
355 QWidget | |
356 # Skinnable interface | |
357 SkinWindowClass | |
358 executables: | |
359 vlc | |
360 strategies: | |
361 open_files | |
362 # Must be enabled from: Advanced Preferences -> Interface -> Main | |
363 # interfaces -> Qt -> Show playing item name in window title | |
364 # | |
365 # We use the last alternative to avoid detecting other windows such as | |
366 # Preferences dialog, which has the same generic class name. | |
367 window_title: | |
368 ^VLC media player|(.+) - VLC media player|.+ | |
369 | |
370 WebTorrent Desktop | |
371 windows: | |
372 Chrome_WidgetWin_1 | |
373 executables: | |
374 WebTorrent | |
375 strategies: | |
376 window_title: | |
377 ^WebTorrent(?: \(BETA\))?|Main Window|Preferences|About WebTorrent.*|(.+) | |
378 | |
379 Winamp | |
380 windows: | |
381 Winamp v1.x | |
382 executables: | |
383 winamp | |
384 strategies: | |
385 open_files | |
386 window_title: | |
387 ^Winamp [\d.]+ Build \d+|\d+\. (.+) - Winamp(?: \[.+\])? | |
388 | |
389 Windows Media Player | |
390 windows: | |
391 WMPlayerApp | |
392 WMP Skin Host | |
393 executables: | |
394 wmplayer | |
395 strategies: | |
396 open_files | |
397 | |
398 Zoom Player | |
399 windows: | |
400 TApplication | |
401 executables: | |
402 zplayer | |
403 strategies: | |
404 open_files | |
405 window_title: | |
406 ^Zoom Player|(.+) - Zoom Player (?:FREE|MAX) | |
407 | |
408 ################################################################################ | |
409 # Web browsers | |
410 | |
411 Brave Browser | |
412 windows: | |
413 Chrome_WidgetWin_1 | |
414 executables: | |
415 brave | |
416 strategies: | |
417 ui_automation | |
418 window_title: | |
419 ^(.+) \(Private\)(?: - Brave)?|(.+) - Brave|(.+) | |
420 type: | |
421 web_browser | |
422 | |
423 Google Chrome | |
424 windows: | |
425 Chrome_WidgetWin_1 | |
426 executables: | |
427 chrome | |
428 strategies: | |
429 ui_automation | |
430 window_title: | |
431 ^(.+) \(Incognito\)(?: - Google Chrome)?|(.+) - Google Chrome|(.+) | |
432 type: | |
433 web_browser | |
434 | |
435 Internet Explorer | |
436 windows: | |
437 IEFrame | |
438 executables: | |
439 iexplore | |
440 strategies: | |
441 ui_automation | |
442 window_title: | |
443 ^(.+) - Internet Explorer(?: - \[InPrivate\])? | |
444 type: | |
445 web_browser | |
446 | |
447 Microsoft Edge | |
448 windows: | |
449 Chrome_WidgetWin_1 | |
450 executables: | |
451 msedge | |
452 strategies: | |
453 ui_automation | |
454 window_title: | |
455 ^(.+) and \d+ more pages? - .+|(.+) - [^-]+ - Microsoft.*Edge|(.+) | |
456 type: | |
457 web_browser | |
458 | |
459 Mozilla Firefox | |
460 windows: | |
461 MozillaUIWindowClass | |
462 MozillaWindowClass | |
463 executables: | |
464 firefox | |
465 strategies: | |
466 ui_automation | |
467 window_title: | |
468 ^(?:Mozilla Firefox|Firefox Developer Edition)|(.+) (?:-|—) (?:Mozilla Firefox|Firefox Developer Edition)(?: \(Private Browsing\))? | |
469 type: | |
470 web_browser | |
471 | |
472 Opera | |
473 windows: | |
474 Chrome_WidgetWin_1 | |
475 executables: | |
476 opera | |
477 strategies: | |
478 ui_automation | |
479 window_title: | |
480 ^(.+) - Opera(?: \(Private\))? | |
481 type: | |
482 web_browser | |
483 | |
484 Waterfox | |
485 windows: | |
486 MozillaWindowClass | |
487 executables: | |
488 waterfox | |
489 strategies: | |
490 ui_automation | |
491 window_title: | |
492 ^(.+) - Waterfox(?: \(Private Browsing\))? | |
493 type: | |
494 web_browser |