I export my iTunes playlists (on a Win7 PC) for use with the squeeze
boxes in my home. I really have like some of the new "Genius Mixes"
that iTunes 9 generates automatically, but can only use them on my PC.
I have written a little PowerShell script (but should be a simple
translation to VBscript or the Windows script engine of your choice)
that will capture the Genius Mix of your choice and convert it to a
normal playlist in iTunes. This will allow the management,
re-shuffling, converting and exporting of these automatic playlists as
you currently can with you own manual playlists, smart playlists and the
previous genius playlists. It will also allow you to use these Genius
Mixes with older iPods that don't support this new feature.
To run the script just (1) start iTunes; (2) start playing the Genius
Mix of your choice; (3) execute the Powershell script; (4) allow it to
run through the list [it takes 6-7 minutes]; (5) rename the "TempMix"
playlist to whatever you wish; (6) [optional] clean up duplicates --
apparently the Genius Mix will begin repeating some tracks after playing
for a while - the exact point that this happens seems to vary depending
on your specific song library, but for me it always happens after
between 60-75 songs so I set this script to pull 75 and I go back and
manually clean up the duplicates -- you could always set the "for loop"
to run just 50 and you would probably be able to skip this step.
#grabmixes.ps1
$itunes=new-object -com itunes.application
$newplaylist = $itunes.CreatePlaylist("TempMix")
for ($i = 1; $i -le 75; $i++) {
$currentsong = $itunes.CurrentTrack
$tmp = $newplaylist.AddTrack($currentsong)
$itunes.NextTrack()
Start-Sleep -s 5
}
$itunes.Pause()
$itunes=$null
--
IPGuy
------------------------------------------------------------------------
IPGuy's Profile: http://forums.slimdevices.com/member.php?userid=961
View this thread: http://forums.slimdevices.com/showthread.php?t=72214
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss