Skip to content

Commit 0d65c6d

Browse files
committed
MusPlayQt: Synced updates from the MixerX
1 parent d9fd9f5 commit 0d65c6d

File tree

3 files changed

+94
-177
lines changed

3 files changed

+94
-177
lines changed

MusicPlayer/AssocFiles/assoc_files.cpp

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ void AssocFiles::on_reset_clicked()
101101
defaultFormats["xmi"] = true;
102102
defaultFormats["mus"] = true;
103103
defaultFormats["cmf"] = true;
104+
defaultFormats["hmi"] = true;
105+
defaultFormats["hmp"] = true;
106+
defaultFormats["hmq"] = true;
104107

105108
defaultFormats["voc"] = true;
106109
defaultFormats["ay"] = true;
@@ -331,6 +334,24 @@ void AssocFiles::on_AssocFiles_accepted()
331334
" <magic priority=\"60\">\n"
332335
" <match type=\"string\" offset=\"0\" value=\"PTTUNE\"/>\n"
333336
" </magic>\n"
337+
},
338+
{
339+
"hmi",
340+
" <magic priority=\"60\">\n"
341+
" <match type=\"string\" offset=\"0\" value=\"HMI-MIDISONG061595\"/>\n"
342+
" </magic>\n"
343+
},
344+
{
345+
"hmp",
346+
" <magic priority=\"60\">\n"
347+
" <match type=\"string\" offset=\"0\" value=\"HMIMIDIP\"/>\n"
348+
" </magic>\n"
349+
},
350+
{
351+
"hmq",
352+
" <magic priority=\"60\">\n"
353+
" <match type=\"string\" offset=\"0\" value=\"HMIMIDIP\"/>\n"
354+
" </magic>\n"
334355
}
335356
};
336357

MusicPlayer/_resources/musplay.plist

Lines changed: 0 additions & 173 deletions
This file was deleted.

MusicPlayer/_resources/musplay.plist.in

Lines changed: 73 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<key>CFBundleTypeExtensions</key>
99
<array>
1010
<string>wav</string>
11-
<string>aiff</string>
11+
<string>aiff</string>
1212
</array>
1313
<key>CFBundleTypeIconFile</key>
1414
<string>file_musplay.icns</string>
@@ -68,9 +68,6 @@
6868
<string>midi</string>
6969
<string>kar</string>
7070
<string>rmi</string>
71-
<string>cmf</string>
72-
<string>xmi</string>
73-
<string>mus</string>
7471
</array>
7572
<key>CFBundleTypeIconFile</key>
7673
<string>file_musplay.icns</string>
@@ -81,6 +78,78 @@
8178
<key>LSHandlerRank</key>
8279
<string>Alternate</string>
8380
</dict>
81+
<dict>
82+
<key>CFBundleTypeExtensions</key>
83+
<array>
84+
<string>mus</string>
85+
</array>
86+
<key>CFBundleTypeIconFile</key>
87+
<string>file_musplay.icns</string>
88+
<key>CFBundleTypeName</key>
89+
<string>DMX Music file</string>
90+
<key>CFBundleTypeRole</key>
91+
<string>Viewer</string>
92+
<key>LSHandlerRank</key>
93+
<string>Alternate</string>
94+
</dict>
95+
<dict>
96+
<key>CFBundleTypeExtensions</key>
97+
<array>
98+
<string>xmi</string>
99+
</array>
100+
<key>CFBundleTypeIconFile</key>
101+
<string>file_musplay.icns</string>
102+
<key>CFBundleTypeName</key>
103+
<string>XMIDI music file for AIL/MSS</string>
104+
<key>CFBundleTypeRole</key>
105+
<string>Viewer</string>
106+
<key>LSHandlerRank</key>
107+
<string>Alternate</string>
108+
</dict>
109+
<dict>
110+
<key>CFBundleTypeExtensions</key>
111+
<array>
112+
<string>cmf</string>
113+
</array>
114+
<key>CFBundleTypeIconFile</key>
115+
<string>file_musplay.icns</string>
116+
<key>CFBundleTypeName</key>
117+
<string>Creative Music File for OPL2</string>
118+
<key>CFBundleTypeRole</key>
119+
<string>Viewer</string>
120+
<key>LSHandlerRank</key>
121+
<string>Alternate</string>
122+
</dict>
123+
<dict>
124+
<key>CFBundleTypeExtensions</key>
125+
<array>
126+
<string>klm</string>
127+
</array>
128+
<key>CFBundleTypeIconFile</key>
129+
<string>file_musplay.icns</string>
130+
<key>CFBundleTypeName</key>
131+
<string>KLM OPL2 music file</string>
132+
<key>CFBundleTypeRole</key>
133+
<string>Viewer</string>
134+
<key>LSHandlerRank</key>
135+
<string>Alternate</string>
136+
</dict>
137+
<dict>
138+
<key>CFBundleTypeExtensions</key>
139+
<array>
140+
<string>hmi</string>
141+
<string>hmp</string>
142+
<string>hmq</string>
143+
</array>
144+
<key>CFBundleTypeIconFile</key>
145+
<string>file_musplay.icns</string>
146+
<key>CFBundleTypeName</key>
147+
<string>HMI S.O.S. MIDI file</string>
148+
<key>CFBundleTypeRole</key>
149+
<string>Viewer</string>
150+
<key>LSHandlerRank</key>
151+
<string>Alternate</string>
152+
</dict>
84153
<dict>
85154
<key>CFBundleTypeExtensions</key>
86155
<array>

0 commit comments

Comments
 (0)