Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > using applescript to edit itunes smart playlist preferences

using applescript to edit itunes smart playlist preferences
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2008
Status: Offline
Reply With Quote
Nov 23, 2008, 11:14 AM
 
Hello all,

So I have a smart playlist which pulls all unrated songs. I use this to force myself to rate songs hanging out there in my library. Now my problem is once I rate a song, I want it to be pulled off of the playlist. If I tick "live updating" in the preferences then the rated songs get taken off the list. Great... except iTunes pulls the song off of the playlist as soon as I rate it and when the song is taken off it stops playing. Even if I rate the song in the first minute, I still want to finish listening to the song.

Now my solution was to un-tick "live updating" but of course the problem there is that the playlist never updates then.

I was hoping to find/write an applescript which can set the playlist to "live updating" and then unset it again when I run it... but I can't seem to find anything in the applescript itunes dictionary where you can edit a smart playlists settings (i'm a newbie though when it comes to applescript).

I found these two applescripts for updating playlists which sounded promising but alas both require live update to work. I also tried using automator to follow my actions but couldn't get it to work reliably.
http://brettgrossphotography.com/200...ts-with-limits
http://www.macosxhints.com/article.p...40522132045223

Does anyone know of an easy way to automate this whether through applescript or another way? Thanks!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:09 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2