QUOTE (ridurand @ Sep 23 2006, 11:27)
So, how can I create the standard popularimeter tag (no@email|205|0) and, using the itunes database export, do you please know how I can do to import the itunes infos in popularimeter tags for my whole library ? I have an idea, using List of tags - File -> Tags but it would be very long, doing that mp3 by mp3. Is it possible to do that massively ?
Thank you for your answer
this is a javascrit I wrote it runs on itunes (this is itunes windows)
it takes the rating from the itunes library and divides it by 20 ( rating of 5 is stored as 100 in the database) then saves it in the bpm and comment fields
I choses those fields becasue they do exist initunes and I dot use them otherwise.
it would be easy to do a tag to tag mappin and move them to popularity tag.
it would also be easy to do ther reverse. add them to the library and then run this script and move the bpm back into the rating
var iTunesApp = WScript.CreateObject("iTunes.Application");
var mainLibrary = iTunesApp.LibraryPlaylist;
var mainLibrarySource = iTunesApp.LibrarySource;
var tracks = mainLibrary.Tracks;
var numTracks = tracks.Count;
WScript.Echo("copying ratngs to comments");
// FIXME take a -v parameter eventually
var verbose = false;
// first, make an array indexed by album name
var albumArray = new Array();
for (i = 1; i <= numTracks; i++)
var CurrTrack = tracks.Item(i);
var rating= CurrTrack.rating;
if (rating != 0)
WScript.Echo("updated " + j+ " comments.");