[vlc-commits] [Git][videolan/vlc][master] macosx: add m4b audiobook file type association
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Thu May 7 09:15:23 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
f718ff1f by Tim Bolton at 2026-05-07T10:51:48+02:00
macosx: add m4b audiobook file type association
.m4b (MPEG-4 Audiobook) files use the Apple system UTI com.apple.m4b-audio.
VLC can already play these files, but it was not registered as a handler, so
it did not appear in Finder's "Open With > Recommended Applications" list.
This adds a CFBundleDocumentTypes entry for com.apple.m4b-audio with
LSHandlerRank=Alternate so VLC appears as a recommended application without
claiming ownership from Books.app.
Note: the existing com.apple.m4a-audio entry does not explicitly declare
LSHandlerRank, as Music.app's ownership makes VLC's Alternate rank implicit.
For m4b, Books.app is the owner, so LSHandlerRank=Alternate is stated
explicitly to ensure correct behavior.
Fixes: https://trac.videolan.org/vlc/ticket/7791
- - - - -
1 changed file:
- share/Info.plist.in
Changes:
=====================================
share/Info.plist.in
=====================================
@@ -1164,6 +1164,20 @@
<string>com.apple.m4a-audio</string>
</array>
</dict>
+ <dict>
+ <key>CFBundleTypeIconFile</key>
+ <string>m4a.icns</string>
+ <key>CFBundleTypeName</key>
+ <string>MPEG-4 Audiobook File</string>
+ <key>CFBundleTypeRole</key>
+ <string>Viewer</string>
+ <key>LSHandlerRank</key>
+ <string>Alternate</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>com.apple.m4b-audio</string>
+ </array>
+ </dict>
<dict>
<key>CFBundleTypeIconFile</key>
<string>movie.icns</string>
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f718ff1f1545f43b0be2a6434fb4331f15f03fe1
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f718ff1f1545f43b0be2a6434fb4331f15f03fe1
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list