iTunes is very peculiar about the formats that it will support as well as import, so importing all of the information from DVDpedia will not work as DVDpedia is much more open. But if you know that all your movie can be played by iTunes you can use the following text template:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<!-- <meta name="date-format" content="YYYY-MM-dd'T'hh:mm:ss'Z'" /> -->
<dict>
<key>Major Version</key><integer>1</integer>
<key>Minor Version</key><integer>1</integer>
<key>Application Version</key><string>9.0.3</string>
<key>Features</key><integer>5</integer>
<key>Show Content Ratings</key><true/>
<key>Tracks</key>
<dict><!--BeginRepeat-->
<key>[key:uid]</key>
<dict>
<key>Track ID</key><integer>[key:uid]</integer>
<key>Name</key><string>[key:title]</string>
<key>Artist</key><string>[key:studio]</string>
<key>Genre</key><string>Movies</string>
<key>Kind</key><string>Protected MPEG-4 video file</string>
<key>Year</key><integer>[key:year]</integer>
<key>Date Modified</key><date>[key:dateEdited]</date>
<key>Date Added</key><date>[key:dateAdded]</date>
<key>Comments</key><string>[key:comments]</string>
<key>Disabled</key><true/>
<key>Track Type</key><string>File</string>
<key>Has Video</key><true/>
<key>HD</key><false/>
<key>Movie</key><true/>
<key>Location</key><string>file://localhost[linksBegin][link:url][linksEnd]</string>
</dict><!--EndRepeat-->
</dict>
</dict>
</plist>
Copy/paste the above to a text file and save it into your DVDpedia data folder ~/Library/Application Support/DVDpedia/Templates (you might have to create the last templates folder). Name the file iTunesExport.txt (the .txt over xml is necessary for the format of the exported linked file). From DVDpedia you can then use the export command and select iTunesExport under the text template option. The resulting file can be imported into iTunes using the File-->Library-->Import Playlist command.
There are several caveats to this. iTunes will recognize unique movies based on the file path and if a movie already exists within iTunes it will be ignored by iTunes. So you can't use the this XML export to update information from original iTunes movies unless you remove them from the iTunes listing first. On DVDpedia's part there can only be one link for each movie, as otherwise the attribute Location in the XML export will contain all the links together.
If you do use this XML export please test it first with just a handful of movies to make sure it importing new movies into iTunes before running a large import.