NoLyricsPlaylist.js
Tags: Lyrics | Playlist
Added On: 26th Jan 08
Links: [site] [download]
Create a playlist of songs without lyrics. This script runs through every track looking for completely blank lyric tags and adds the files it finds into a playlist called “No Lyrics”.
You could then use another program like Evil Lyrics to tag those lyric files without overwriting tags for songs that already have the correct lyrics attached.
This script is the complete opposite of HasLyricsPlaylist.js. See the lyrics tag for more!
var iTunesApp = WScript.CreateObject(”iTunes.Application”);
var tracks = iTunesApp.LibraryPlaylist.Tracks;
var numTracks = tracks.Count;
var i;
NoLyricsPlaylist = iTunesApp.CreatePlaylist(”No Lyrics”);
for (i = 1; i <= numTracks; i++)
{ try {
var currTrack = tracks.Item(i);
if ( currTrack.Lyrics == “” )
NoLyricsPlaylist.AddTrack(currTrack);
}
catch(er)
{
}
}



No Comments
Leave a comment