PDA

View Full Version : Perhaps a replacement for "library playlist 1"...


S2_Mac
03-11-2007, 08:08 PM
I've only got the one Mac here today, so I can't fully test this. Does this work on your machine?

-- Sets the front window to the old "library playlist 1" view:
tell application "iTunes"
set view of front browser window to user playlist "Music" of source "Library"
end tell


-- Tests the front window's view for the old "library playlist 1":
tell application "iTunes"
set the_playlist to view of front browser window
if the_playlist is user playlist "Music" of source "Library" then
error "YAY"
else
error "NAY"
end if
end tell

I'm not sure what other uses "library playlist 1" was put to; think this is any help?

S2

WoodenBrain
03-20-2007, 04:32 AM
The main user of "library playlist 1" is that is well, the library playlist. which means if you want to totally remove something from iTunes I think it must be from library playlist 1. Not sure what happens if you just remove it from the new "Music" playlist? Suppose that's a basic question but I've never been inclined to find out. Or at least not until now.

edit: the code u posted works here with iT 7.1.1 on PPC 10.4.9