Ticket #163 (assigned enhancement)
QuickTime file icons for custom video formats
| Reported by: | anonymous | Owned by: | astrange |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3 |
| Component: | PrefPane | Version: | |
| Severity: | minor | Keywords: | |
| Cc: |
Description
Some kind of replacement icons for formats such as FLV and MKV which QuickTime doesn't have icons for?
Attachments
Change History
comment:4 Changed 8 years ago by dconrad
We could do something like what Flip4Mac does and have a mini application that handles the various media types and simply tells QuickTime player to open them. Though I don't know if LaunchServices? would pick up on it if it was inside the prefpane bundle.
Changed 8 years ago by anonymous
-
attachment
flv.icns
added
QT Icon I modified for FLV, will try to do an MKV one too
comment:5 follow-ups: ↓ 6 ↓ 8 Changed 8 years ago by Jon N.
Nice icons. Now how do I apply them systemwide to flv files. I've mucked about with candybar but with no solution. Actually, how do I apply .icns files to systemwide files in general?
comment:6 in reply to: ↑ 5 ; follow-up: ↓ 7 Changed 8 years ago by tick
Replying to Jon N.:
Nice icons. Now how do I apply them systemwide to flv files. I've mucked about with candybar but with no solution. Actually, how do I apply .icns files to systemwide files in general?
Hence the reason for this ticket, to figure out how to get them to apply.
comment:7 in reply to: ↑ 6 Changed 8 years ago by Jon N
Replying to tick:
Hence the reason for this ticket, to figure out how to get them to apply.
Now I see. Sorry about that. Good luck with the solution. It will certainly be a welcome change from the generic document icons.
comment:8 in reply to: ↑ 5 ; follow-up: ↓ 9 Changed 7 years ago by RunAway
Replying to Jon N.:
Nice icons. Now how do I apply them systemwide to flv files. I've mucked about with candybar but with no solution. Actually, how do I apply .icns files to systemwide files in general?
I've manually modified QuickTime Player's Info.plit to handle Perian file types with correct icons. You must put new .icns files inside the Resources folder (in the QuickTime Player application bundle) and add new types in the Info.plist file (also inside the bundle). In attachment my modified Info.plist file of version 7.1.6 of QuickTime Player.
Changed 7 years ago by RunAway
-
attachment
Info.plist
added
QuickTime Player's Info.plist (version 7.1.6) modified to handle Perian file types with correct icons
comment:9 in reply to: ↑ 8 Changed 7 years ago by Liza Ng
Replying to RunAway:
I've manually modified QuickTime Player's Info.plit to handle Perian file types with correct icons. You must put new .icns files inside the Resources folder (in the QuickTime Player application bundle) and add new types in the Info.plist file (also inside the bundle). In attachment my modified Info.plist file of version 7.1.6 of QuickTime Player.
Besides replacing Info.plist, you will need to run /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -f /Applications/QuickTime\ Player.app/ in the Terminal (to update Launch Services' cache of Info.plist) and relaunch the Finder in order for the changes to take effect. Touching the file may do as well (but I've not tried this).
Changed 7 years ago by RunAway
-
attachment
PerianAddFile.zip
added
Little AppleScript? application to automate the patching of QuickTime Player to handle Perian file types with correct icons. The script is freely usable and modificable iside the bundle (main.scpt)
comment:10 Changed 7 years ago by RunAway
The script that I've attached essentially copies the icons from itself to Resources folder inside QuickTime Player.app, after this operation pathces the Info.plist adding entries for new files (using a bundled copy of PlistBuddy?). Finally LaunchServices? are updated (thanks to Liza Ng) and Finder relaunched. For info: ranauei [at] gmail [dot] com
comment:11 Changed 7 years ago by OwlBoy
That script works really well.
comment:12 Changed 7 years ago by floam
If you start using the systemwide PlistBuddy? instead of your copy, it stops crashing here.
You might also want to not hardcode the path of lsregister. It's not a guarantee it will remain that, and it's in a completely different place here, so I had to change that too.
Works fine beyond those, though.
comment:13 in reply to: ↑ description Changed 7 years ago by K3vinMartin
Replying to anonymous:
Some kind of replacement icons for formats such as FLV and MKV which QuickTime doesn't have icons for?
This is a great little script! I have modified the code for version PerianAddFile4.zip to also include .divx file associations. Hope nobody minds. For future reference to all noobs to this site, ALL you need is to download is the latest PerianAddFile?.zip script. All icons and plist changes are added and made automatically. Once the script is run it will ask to relaunch finder. Make sure that you associate the particular file type movies to by default open with Quicktime. You can does this: Right Click the particular movie file you want associated>Select GetInfo?>Select Quicktime using the dropdown menu under the Open With: subsection>Select Change All Button>log out then log back in or restart Finder.
Changed 7 years ago by K3vinMartin
-
attachment
PerianAddFile.4.zip
added
Added support for .DIVX files. File types supported in this version include: .divx, .flv, .mkv, .mka, .vob, and .ac3. All icons and .plist changes are included in this package. Just run the script. Be sure to associate your file types to open with Quicktime automatically. -divx support added by K3vinmartin
Changed 7 years ago by K3vinMartin
-
attachment
divx.icns
added
Divx icon for Quicktime file association
comment:14 Changed 7 years ago by tick
I wonder if it would be beneficial if we don't differentiate between different file formats in the icons.
comment:15 follow-up: ↓ 16 Changed 7 years ago by Thargok
What we need is a basic "Perian" Application that has all the plist settings and icons, however the application is merely a script that passes the file onto quicktime and closes itself. This is how Flip4Mac got around this problem and this should really only take a moment or two.
comment:16 in reply to: ↑ 15 Changed 7 years ago by tick
- Priority changed from normal to low
- Severity changed from normal to minor
Replying to Thargok:
What we need is a basic "Perian" Application that has all the plist settings and icons, however the application is merely a script that passes the file onto quicktime and closes itself. This is how Flip4Mac got around this problem and this should really only take a moment or two.
We welcome patches.
comment:17 Changed 7 years ago by torpy
Path to lsregister has changed in Leopard, execute the following instead"
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -f /Applications/QuickTime\ Player.app/
Everything else is the same, though none of the scripts will work until this change is made..
comment:18 Changed 7 years ago by K3vinMartin
torpy,
hmm...I tried adding the new Isregister path but I still get several errors. Did you change anything else? I am not a script guru. Could you post a corrected version? Thanks
Changed 7 years ago by Skyjersey
-
attachment
PerianAddFile_Leopard.zip
added
Changed Isregister path to work with leopard.
comment:19 Changed 7 years ago by makemute
I get the following error while trying to run PerianAddFile under Leopard:
sh: .../PerianAddFile.app/Contents/Resources/PlistBuddy: cannot execute binary file
Not too sure why the error arises, considering that QuickTime Player's Info.plist seems to be in XML, rather than binary format.
comment:20 Changed 7 years ago by Dani
I've the same problem as makemute.
Changed 7 years ago by Thargok
-
attachment
Perian Importer.zip
added
Fixed for 10.5 compatibility, still needs HQ icons.
comment:21 Changed 7 years ago by rabb0159
Can someone please post a script that will add icons to Quicktime 7.4.5 for 10.5.2?
I have tried the PerianAddFile_Leopard.zip and Perian Importer.zip scripts but neither has worked... Or if someone can post how to manually set this, I'd appreciate the help.
Thank you.
Changed 6 years ago by makemute
-
attachment
Info.2.plist
added
QuickTime Player's Info.plist (version 7.4.5) modified to handle Perian file types with correct icons and to add Quick Look support
comment:22 follow-up: ↓ 23 Changed 6 years ago by Madd_the_Sane
I am with the "make a simple application that redirects files opened by it to QuickTime" camp. It would still be usable even if Apple update the Quicktime Player.
comment:23 in reply to: ↑ 22 ; follow-up: ↓ 24 Changed 6 years ago by tagscuderia
Replying to Madd_the_Sane:
I am with the "make a simple application that redirects files opened by it to QuickTime" camp. It would still be usable even if Apple update the Quicktime Player.
comment:24 in reply to: ↑ 23 Changed 6 years ago by tagscuderia@…
Replying to tagscuderia: Sorry guys, had an issue submitting my comment. I've used 'Perian Importer' and it's worked, the icons got moved across but the info.plist file did not so I downloaded the second version and moved that across. However, I still don't get quick look support which is a shame. I was wondering if anyone else is having trouble and if anyone's found a solution? I think it would be good to keep this as is rather than mimicking Flip4Mac. I hope this gets into the next Perian build.
comment:25 in reply to: ↑ description Changed 6 years ago by RunAway
Hi, PerianAddFile? was updated by me a bit long time ago, now its name is Perian's Type Installer and can be found at macupdate.
Changed 6 years ago by dak180
-
attachment
PerianOpener.zip
added
A mini app to launch files through Quicktime (and give them icons).
comment:26 Changed 6 years ago by Madd_the_Sane
My upload has a few failed attempts at creating a simple way of interacting with the program. The info.plist file has three UTIs defined: two for the Matroska formats (mka,mkv), and one for the Flash Video format. The Document Types definition takes advantage of the UTI if available, so don't be alarmed if there are no filename extensions or mime-types: They're in the UTI. The names are stored in the infoplist.strings file to make localization easier. The application in there is basically an AppleScript? droplet with its info.plist file altered. The main Application Icon is the perian icon, and the file icons were taken from this ticket. As in the file description, thanks dak180 for the AppleScript?.
comment:27 Changed 6 years ago by Madd_the_Sane
Now for info about my new version: This one will actually link, compile, and work. It needs to link against AppleScriptKit? and Cocoa.
It also uses a different style of nib (xib extension before compiled) that may or may not work with older versions of Xcode. And yes, it is needed in order to run. Again, UTIs are defined for Matroska(mka, mkv) and flash video(flv, f4v) containers. I did fix the UTIs so that the icon is properly defined in it, but with how I set up the plist it doesn't matter.
Changed 6 years ago by alex
-
attachment
fixedicons.zip
added
Fixed all the 16x16 icons for the ones I originally created (AC3, FLV, MKA, MKV, VOB) and changed the audio formats to the quicktime audio icon instead of movie icon
Changed 6 years ago by alex
-
attachment
PerianOpener.2.zip
added
replaced icons with my aforementioned fixed icons
Changed 6 years ago by Madd_the_Sane
-
attachment
Perian Open.zip
added
Perian Player source with icons
Changed 6 years ago by Madd_the_Sane
-
attachment
PerianPlayer.diff
added
diff against svn head to compile Perian Open
Changed 5 years ago by dak180
-
attachment
PerianOpener.app.zip
added
A mini app to launch files through Quicktime (and give them icons) with updated icons.
comment:28 Changed 5 years ago by astrange
- Owner set to astrange
- Priority changed from low to normal
- Status changed from new to assigned
- Component changed from Perian-Main to PrefPane
- Milestone changed from Sometime after 1.0 to 1.2
We'll leave installing new stuff to 1.2; I'm scared of touching the prefpane, really.
Changed 5 years ago by Madd_the_Sane
-
attachment
Perian Open-Info.plist
added
Yet another updated version of my plist with UTIs defined
comment:29 Changed 5 years ago by tick
Do any of these images use the QT logo? If so, we cannot use them. We got told by Apple Legal to not use the QT logo in anything.
comment:30 Changed 5 years ago by astrange
comment:31 Changed 5 years ago by tick
Do we need this for 10.6 due to the uti issue?
comment:32 Changed 5 years ago by Madd_the_Sane
So what's the status of the icons in the Perian Opener?
Changed 5 years ago by Madd_the_Sane
-
attachment
PerianOpener-Info.plist
added
My version of the PerianOpener? Plist with uti's defined (the FLV uti is the official one)
comment:33 Changed 5 years ago by astrange
The diff between SVN and that file is unexpectedly hard to read. Should I add vob to the opener?
We can't have icons using the QT logo. Perian's is okay.
comment:34 Changed 5 years ago by Madd_the_Sane
Sorry, let me upload the plist proper.
comment:35 Changed 5 years ago by Madd_the_Sane
Ugh, nevermind. I already did upload the plist proper.
I can understand why QuickTime Icons can't be used (Copyright issue). It's annoying, but unavoidable.
