Update.js
Tags: MetaData | Update
Added On: 22nd Jan 08
Links: [site] [download]
Reload/update all songs in the library from the file tags. This can be useful if you use another tagging program like MediaMonkey to make changes to tags
Source Code [Originally written by Otto]
var iTunesApp = WScript.CreateObject("iTunes.Application");
var tracks = iTunesApp.LibraryPlaylist.Tracks;
var numTracks = tracks.Count;
var i;
for (i = 1; i < = numTracks; i++)
{
var currTrack = tracks.Item(i);
currTrack.UpdateInfoFromFile();
}



No Comments
Leave a comment