Make smart playlists in iTunes?

Is it possible to do this? I have a pile of unsmart PLs that I want to convert to smart ones. I've got a scpt going that basically does the job, but although I say
make user playlist with properties {smart: true, name:PLname}
they always come out unsmart.
I note that the iTunes dictionary says smart is r/o, but surely for a new PL I'm just making, I can say smart:true ?

In case anyone else wants to do what I did, here's the final form of my scpt. But it has a couple of bug workarounds, so it may not work beyond iTunes 8.1.1 (6). Good luck!
(* Make smart PLs from unsmart Composer-based *)
(* Doesn't test if unsmart PL name actually IS a composer contained in Music PL. Would take too long. *)
(* - - - - - - - >>> !!!! TURN OFF AirPort !!!!! <<<- - - - - - - else you can get killed by e.g. Software Update *)
tell application "iTunes"
delay 3 -- Delay 3secs to get a chance to click the iT window after launching the scpt.
set allPLs to (get every user playlist)
repeat with thisPL in allPLs
if name of thisPL is not "Music" then
(* extract 1st word (surname) of unsmart PL name... *)
if smart of thisPL is false then
set comp to name of thisPL
set comp to words of comp -- ludicrous - takes 4 operations to get word out of Unicode text
set comp to (comp as string)
ignoring hyphens
set AppleScript's text item delimiters to " " --necessary for words
set comp to word 1 of comp -- got 1st word at last
end ignoring
tell application "System Events" to tell process "iTunes"
delay 0.5
keystroke "n" using {option down, command down} ---- <---- <---- create New smart PL
(* change Artist to Composer *)
delay 0.5
tell scroll area 1 of group 1 of window 1
delay 0.5
click pop up button 2
delay 0.5
click menu item "Composer" of menu 1 of pop up button 2 -- Change Artist to Composer
delay 0.5
keystroke comp & quote -- the quote stops iT auto-complete filling in the whole name etc. See ASCII below
(*Cursor is still in TF1 of SA1 of G1 of W1, so keystroke comp works almost regardless of where we are*)
end tell
(* Change Random to Album *)
delay 0.5
click pop up button 1 of window 1
delay 0.5
click menu item "Album" of menu 1 of pop up button 1 of window 1
(* as soon as you change above menu item, Checkbox 3 (to left of 25) gets set. Bug?
Solution: Click Checkbox 3 of w1 later (below)
It seems NOTHING can change the 25 to e.g. 999 (another bug?) *)
(* Now we can complete the Composer *)
delay 0.5
keystroke (ASCII character 8) -- rubout the quot in the PL name with a Backspace character
(* workaround the Limit to 25 checkbox bug *)
delay 0.5
click checkbox 3 of window 1 -- uncheck the "limit to 25"
(* The above WILL DO THE REVERSE OF WHAT I WANT if they ever fix the bug above *)
(* finish comp and close the New SPL window *)
delay 0.5
keystroke return
(* Now we need a Return to finish the new SPL Name in the sidebar *)
delay 1
keystroke return
end tell
end if
end if
end repeat
end tell
beep 3 -- Say we're all done
tell application "Script Editor" -- TEST
activate
end tell*)
As I said, Good luck!
David Whitford

Similar Messages

  • Can not make smart playlists anymore?

    Since a few weeks I'm not able anymore to make smart playlists.  It just doesn't appear anymore in the menu 'File'.  Also I am not able to change the names of the existing smart playlists.  Why do I have this problem and how to fix it?

    If you're asking if you can do it without connecting your ipod to your computer, the answer is no. If you're asking if you can create the same smartplaylists on your ipod (via itunes) but have different rules (which can make them slightly different than what the same playlist in iTunes Library shows) then the answer is yes. Make sure something (one of your playlists or even just the "Music" or name of your ipod) is highlighted first. Then go to File-->New Smart Playlist and then set the rules to how you want them. (ie, "Last Played", "Recently Added", etc).

  • I have an iphone 5s and when I make a playlist on itunes for music videos and sync my iphone the playlist does not show up. What can I do to fix the problem?

    I have an iphone 5s and when I make a playlist on itunes for music videos and sync my iphone the playlist does not show up. What can I do to fix the problem?

    Version 11.1.5.5 of iTunes was just released today. If you update to that, does that help with the recognition troubles?
    http://www.apple.com/itunes/download/

  • Hopefully someone can help.... I have an Iphone 5 and want to create a music video playlist on my phone so then i can play through my apple tv... but when i make a playlist in itunes and try to add it over to my iphone it wont let me sync the playlist...?

    Hopefully someone can help.... I have an Iphone 5 and want to create a music video playlist on my phone so then i can play through my apple tv... but when i make a playlist in itunes and try to add it over to my iphone it wont let me sync the playlist...? I have already added the music videos to my iphone so that is not the problem.... i cant seem to figure out how to make a playlist for them... IE: to make the videos play consecutively in the order i want without stopping after each video and gong back to the list.... this is what i have had to resort to make it work....what i want to do....is be able to make a playlist of videos on my iphone 5....take my apple tv to friends houses and with wifi....set up apple tv and play videos at the party and not have to stand by with the remote and find a new video to play stopping the music between the songs/videos....very annoying....and have spent over 4 hours one day and an hour and a half today on the phone today with a sr. advisor with apple and they have no clue.... this seems sooooo simple.... please somebody that really knows how to do this....i will be indebted forever...............
    Mike

    Thank you for replying.    Yes I deleted the old email address..   

  • Smart Playlist in iTunes not the same as on iPod?

    Hi all,
    Currently I am in the process of making my entire CD collection (> 800 CD's) available on my new iPod classic. Ripping goes fine, no problem at all. But I have a problem with the Smart Playlists. Every CD in my collection has a unique number. I put that number in the 'Comments' section of every ripped CD (select all tracks of an album, go into 'Get info' and fill the 'Comments' section with a number like 0245).
    In iTunes I create a smart playlist containing every CD within a range of, say, 02. In iTunes I then see every CD starting with the number 02 (from 0200 to 0299). When i sync with my iPod, the playlists are available, but the sorting is not ok. I see a lot of tracks, but not organised by CD as in iTunes. Is there a way to change this so that on the iPod the sorting is the same as in iTunes.

    Select your Smart Playlist in iTunes, arrange it in the order you want, then right-click on the Smart Playlist title in the sources panel and click on *Copy to Play Order*. Sync. Your iPod should now have the correct play order.
    tt2

  • How can I get my smart playlists on iTunes match to update automatically on my iPhone?

    I've been trying to figure out how to have my smart playlist in iTunes update on my iPhone automatically via iTunes Match, but everytime I create a smart playlist it shows up on my iPhone but it contains every single song in my library rather than just the ones that are supposed to be in the playlist.

    Experienced same situation with my iPhone4.  Just started using the cloud last week for my music library.
    Solution:  Click "Update iTunes Match" using iTunes on my MacBook Pro.  A minute or two later all of my playlissts appeared on my iPhone.  Hope this is helpful

  • Can't make an unrated smart playlist in itunes

    i have 1/2 star ratings enabled on my imac. when i make a smart playlist with "ratings is 0" i get a playlist of all 1/2 star rated songs and none rated 0. i have itunes 11.
    i tried it on my macbook (itunes 10.7) and it works fine. but i don't have 1/2 stars enabled on that.

    I didn't think that smart playlists would work with half star ratings. However, I discovered that they do recognise the half star, but don't display it in the rule. It all depends on where you click on the star-scale. For example, if you wanted a smart playlist to show all songs you have rated four and a half stars, you click on the left side of the fifth star dot. In this example, it would show a four star rating in the rule, but show four and a half star rated songs in the actual playlist.
    So, in your case, Edit Smart Playlist rule screen, click and drag from a star then to the left of the scale. It should recognise that you want all songs rated with nothing, rather than songs rated with half a star. Just make sure your click ends after being dragged past the actual scale. Confusing, I know.
    Here is a screenshot of a smart playlist with the same idea of displaying all unrated songs that I created less than fifteen minutes ago.

  • Smart Playlists in iTunes

    Is there a way to make a subfolder within iTunes. I'm not able to create a playlist list I want without combining two different smart playlist.
    Thanks
    Bill

    *Is there a way to make a subfolder within iTunes.*
    You can make folder to put playlists into only. It doesn't to do anything else like put the music into different folders. It just helps to keep playlist straight.
    I'm not able to create a playlist list I want without combining two different smart playlist.
    and?
    Is there some reason you don't want to do this?

  • 6.0.2: not able to make smart playlists with rating criteria=3 stars!

    hi there,
    installed 6.0.2 and wanted to make a smart playlist of all songs that match the criteria "rating is from 3 to 5 stars".
    wasn't able to drag the first ("from") stars box to three stars with the mouse! it always snapped to 2, 4 or 5 stars! entering 3 stars is not possible!
    can anybody confirm this? is it a known bug?
    thx,
    Stefan.
    p.s.: entering one star isn't possible either!
    p.p.s.: mac os x 10.4.4 (not available in the dropdown list here...;-)

    well, that's nice of Apple but just for those guys who want to make a smart playlist with rating=3.
    doesn't solve my initial problem to make a playlist with 3<=rating<=5.
    but they say they'll update as more information comes available.
    I'm quite sure we'll see iTunes 6.0.3 soon. This is not the only bug according to the postings in this discussion board.
    What's going on at Apple? QuickTime 7.0.4 had critical bugs, too. And Aperture 1.0 was a huge flop, too. (And 1.0.1 is snail slow on my dual g5 2.7 GHz PowerMac...)
    I guess all the money went to the hardware departments to speed up the Intel switch...
    oh, but I'm off-topic. sorry!
    just my $0.02.
    Stefan.

  • Smart Playlists crash iTunes

    I have the latest iTunes (10.x, b*** 6), and when I went into iTunes all my smart playlists were gone and when i went to create a new one, iTunes stops working and needs to be shut down. I never knew i used the 'Recently Added' Playlist sooo much...Well, actually i did.

    *Is there a way to make a subfolder within iTunes.*
    You can make folder to put playlists into only. It doesn't to do anything else like put the music into different folders. It just helps to keep playlist straight.
    I'm not able to create a playlist list I want without combining two different smart playlist.
    and?
    Is there some reason you don't want to do this?

  • Can't create smart playlists because iTunes can't see all my playlists

    I noticed that my smart playlists aren't updating properly. When I tried to edit them, I got an error message saying "This smart playlist depends on one or more playlists that cannot be found."  I am using as one of my rules "Playlist is" but the dropdown list next to that rule does not show all of my playlists. It shows some of my smart playlists, none of the "regular" playlists. That means I cannot fix the smart playlist.
    For example, I have a playlist called "exercise" that is a regular playlist. It contains 965 songs that I have added manually. I can see the "Exercise" playlist just fine in iTunes, and I can add/remove songs from it. But my smart playlist, "Top Exercise Rare Recent," does not work, because it depends on the rule "Playlist Is Exercise." When I try to edit the rule "Playlist is," I cannot choose "Exercise" from the dropdown list--that playlist simply does not show up. But it is there. I can see it in iTunes. I just can't see it in the dropdown list.
    I don't even know what to try to fix this.
    In case it matters, a few versions ago, an iTunes update "lost" my library. I had saved backup of my library files, fortunately, so I did not lose all of my ratings and playlists (at least, I didn't think I did). After I restored my library files, iTunes did not recognize my iPod classic so I had to re-sync it (removing everything that was on it and replacing it with whatever was in iTunes, i.e., exactly the same files). Then the next update broke my ability to burn playlists to cds AND it broke my system clock. I had to revert to a restore point that preceded the iTunes update, then reinstall iTunes, then "repair" the installation to get my cd burning ability back.
    I am now using iTunes 11.3.1.2 on a Windows 8.1 PC (64-bit). Wishing I had never update

    Thanks for the clarification. Sorry, it's working for me so I'm not sure what to suggest. Perhaps someone else will have ideas.
    Regards.

  • I can't change the view of a smart playlist in iTunes 11.  Columns display at the top will not convert to list

    Hi -  I just upgraded from the previous version of iTunes to iTunes 11.  One of my previous playlists appeared as a smart playlist, and when it displays there is a set of columns at the top with a separation splitting the columns from the list.  I am trying to get rid of the columns from the top of this screen, but have been unable to find any information on how to do this.  This only happens in this playlist, and I am unable to locate a view option or display setting that will change it.  The "Column Browser' is unavailable in the view menu.
    Thanks

    Is the App-Installation restriction in Settings/General/Restrictions on that iPod activated?
    Does the problem come back after restoring "as new iPod" without using the backup?
    Message was edited by: Ingo2711

  • Is there a way to make movies playlists in itunes 10?

    I would like to be able to make a playlist consisting of movies without having to change info to make them into music videos. If there were a sperarte music video category in the itunes library section, that sure would be neat. But instead there is a music video playlist where the music videos will be, but they also show up in the Music library which I do not like or want. So is there a way to make a movies playlist w/o them ending up clogging the Music section of my itunes library?

    You can make a playlist that contains any combination of audio and video from the Music, Movies, TV Shows, Books (Audiobooks) and Podcasts sources. If you really object to the music videos appearing in Music, either make them Movies, or perhaps better yet, TV Shows and give them a common Show name to group them together.
    tt2

  • How do I change the name of a smart playlist in iTunes?

    How do I change the name of a smart plylist in Itunes please?

    Simply double click on the playlist name.
    Really easy
    Let me know

  • My smart playlists in iTunes match are not interpreting "date added" property correctly for some songs.

    I have many smart playlists that are dependent upon the "date added" property of my songs. I use iTunes match on a PC, my iPad (4th gen), and my iPhone 5, and my music is stored on my iMac. For some reason, (on my iPhone only) a handful of songs stubbornly continue to appear in smart playlists even though their "date added" is much earlier than the playlists dictate. And they are the same handful of songs on all playlists that have this problem.
    Turning off Live Updating resolves the problem, but then what's the point of a smart playlist if I have to continually update it manually? Turning off iTunes Match on my iPhone, deleting music, and turning iTunes Match back on does not resolve the problem.

    I think I have figured this out, so I'll share in case anyone else has this issue. I had automatic downloads enabled for my iPhone, so any iTunes music purchases were automatically downloaded to my phone. As a result, the "date added" attribute of a song is tied to when it was downloaded to the phone rather than when I originally purchased the song and added it to my iTunes library.
    I disabled iTunes Match, deleted these songs from my phone, re-enabled iTunes Match, and that seems to have done the trick.

Maybe you are looking for

  • Not all fields show up on fields to be changed

    Why some fields that are selected in the planning level don´t show up in the tab fields to be changed? I have around 20 fields selected and only 10 are showing up.... Is it because of the selection I´ve done in the planning package? Thanks Cris.

  • FCP  Sequence Settings

    Help, I am using a mix of jpeg stills with jpeg video for final out put of a DVD and Bluray 16:9 what settings do I use in the Sequence settings? I am keen to use the full quality of my material as I am using the Nikon D3s. Until now I have been usin

  • What url is used to send videos in camera roll to youtube?

    Our school blocks youtube.com on the wireless network, which is fine, but my students need to send videos they create on 4g iPod Touches to YouTube and currently can't. School personnel says if I can tell them url to unblock, they will allow the uplo

  • ??? Make a CD recording from audio track

    I need to make a CD recording of an audio track that I have in FCP. Can anyone help? Thanks, Glenn

  • Post operation processing initiated

    Hi, We are implementing Oim 11.1.1.15.4 We have created a request template for providing access to resource ABC I have attached default Beneficiary Manager Approval process with this template at operation level. There is no other approval associated