ClearLyrics.js
Tags: Lyrics
Added On: 12th Jan 08
Links: [site] [download]
This script removes ALL lyrics from ALL songs in your library.
It is not reversible so you will lose all lyrics from all songs in iTunes. This can be useful if you want to add the lyrics from scratch, using a plugin from this website. Just check out the “Lyrics” tag.
var ITTrackKindFile = 1;
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);
// is this a file track?
if (currTrack.Kind == ITTrackKindFile)
{
try {
if (currTrack.Lyrics != "")
{
currTrack.Lyrics = "";
}
}
catch(er)
{
// ignore these errors
}
}
}
WScript.Echo("All Lyrics Cleared!")



No Comments
Leave a comment