Created
August 2, 2013 08:00
-
-
Save grayatrox/6138210 to your computer and use it in GitHub Desktop.
logic/pesudo code for rebuilding "iTunes Music Library.xml"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
another program rearranged my music library, so I need to rebuild the itunes xml | |
without loosing playlists, so I can finish migrating to another media program | |
list files from xml that don't exist in listed posiston, including name, artist and album | |
find all files with old filename from xml (I want to keep duplicate songs from different albums) | |
if id3 matches xml, update file location (already written id3 function. It exctacts all meta data from id3 into an array) | |
fileselectfile any files that don't get automatically matched (most likely from missing id3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment