iTunes/Ogg in iTunes
To enable iTunes to play Ogg files, install the official Xiph QuickTime Components. This is straightforward, as outlined below.
If you wish to also associate a file type with Ogg, the process is somewhat more involved; see below.
Install components
[edit | edit source]- Make sure iTunes is not running.
- Install the official Xiph QuickTime Components from Xiph.org. iTunes is a QuickTime based application, these components and frameworks allow any QuickTime application to play Ogg files for that matter.
- Files may be dragged into the iTunes Library window or added via the File > Add to Library… command.
- Enjoy your new music!
Conflicts
[edit | edit source]If you have installed older QuickTime Ogg components, there may be conflicts, so you will want to remove these. Read the installation/uninstallation instructions that came with the older packages, or check in the following directory for files with Ogg in the name, and remove them: /Library/Components, /Library/QuickTime, and similarly in your home directory.
File type association – advanced
[edit | edit source]iTunes by default does not have a file type association with Ogg files despite the fact that it has an Ogg icon. Enabling the association in Mac OS X requires editing the Info.plist file with a text editor, not Property List Editor (as it does not support copying and pasting branches of the XML tree).
- Right click on iTunes.app and choose "Show Package Contents", open the Contents folder and then select the Info.plist file and make a copy of it.
Modify your Info.plist by adding this :
<dict> <key>CFBundleTypeExtensions</key> <array> <string>ogg</string> </array> <key>CFBundleTypeIconFile</key> <string>iTunes-generic.icns</string> <key>CFBundleTypeName</key> <string>OGG Audio File</string> <key>CFBundleTypeOSTypes</key> <array> <string>ogg!</string> <string>OGG!</string> <string>ogg</string> <string>OGG</string> <string>Ogg </string> </array> <key>CFBundleTypeRole</key> <string>Editor</string> <key>LSIsAppleDefaultForType</key> <string>Yes</string> </dict>
You can change the icon if you want also.
This section is a stub. You can help Wikibooks by expanding it. |