Using iTunes/Ogg in iTunes

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Here are two options to enable iTunes to play Ogg files:

[edit] Basic

  1. Make sure iTunes is not running.
  2. 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.
  3. Files may be dragged into the iTunes Library window or added via the File > Add to Library… command.
  4. Enjoy your new music!

[edit] Advanced

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).

  1. 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.

Personal tools
Create a book