Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to turn on / off live updating for all smart playlists at once?

Hello. Is there a way to turn live updating on or off for all my smart playlists at once? That would be a fantastic feature since too many smart playlists with live updating turned on brings iTunes to a crawl.


Currently, I run iTunes on Windows 7. I have over 40,000 songs, and I have hundreds of smart playlists to help organize all my songs and what's on my various iPods at any time. The problem with having so many smart playlists is that iTunes runs very slow. One thing that I do to make iTunes run slightly faster is to turn off live updating for as many smart playlists as I can stand (by going into each one and editing), but then it's hard to tell which have live updating turned on and which don't. As a result, many of my smart playlists don't get updated when I would like them to because I have to go in and manually edit each one again to turn it back on. Maybe showing which have live updating turned on or off would be useful, too?


On a related note, my iPod Classic will actually not work when I sync too many smart playlists. This has been a long-standing problem with iPods, and I'm surprised that it hasn't been fixed yet. I have not experimented to see if it makes any difference if the smart playlists have live updating turned on or off.


Thanks.

Posted on Mar 5, 2014 5:30 PM

Reply
8 replies

Mar 27, 2014 6:17 PM in response to Steve Crawford1

There is no way to automatically enable and disable automatic updating of smart playlists, though it would be a good feature. I write scripts many of which could work a lot faster I could get iTunes to wait until the script has finished making multiple changes before playlists are updated. Although there is some limited involvement from the community specialists Apple don't directly address feature requests in these forums. Suggestions should go to iTunes Feedback.

tt2

Jul 8, 2014 6:14 AM in response to turingtest2

i really wish apple would take this issue seriously -- i've been after them to add a global "smart updates off" control for 5 major versions now.


the problem seems to stem from the need to mandatorily update the XML version of the library after every single metadata change once the library crosses some as yet undetermined level of complexity. this means that itunes is recalculating and writing to disk practically every time you move the mouse -- in my case it is a 50-60 beach ball interlude every couple of seconds....


i have stumbled on a workaround: if you make all of your smart playlists dependent on a single smart playlist, and you deliberately break the playlist (by making it depend on a dumb playlist, which you delete without changing the dependency) it will break all of the other smart updating that refers to the broken list. this substantially improves performance, and can be undone by deleting the playlist dependency on the deleted playlist..,.,



it is awkward as **** and could quite easily be replaced with a real switch, if Apple cared at all about power users


which they don't

Dec 1, 2014 9:04 PM in response to Steve Crawford1

Well, it's less than ideal in that it takes some time to churn through all your playlists (and you can't do anything else on your computer while it's running), but here's a little script to switch off live updating on all of your smart playlists. I'm still running iTunes 10, so you may need to tweak it a bit for your own use.


tell application "iTunes"

activate

set allPlaylists to (get every user playlist)

repeat with thisPlaylist in allPlaylists

if (thisPlaylist is smart) and name of thisPlaylist is not in {"Music", "Movies", "Podcasts", "Books", "TV Shows", "iTunes U", "Apps", "Ping", "iTunes DJ", "Genius"} then

set view of browser window 1 to thisPlaylist

tell application "System Events"

tell process "iTunes"

tell menu bar 1

tell menu bar item "File"

tell menu "File"

click menu item "Edit Smart Playlist"

end tell

end tell

end tell

set theCheckbox to checkbox "Live updating" of window 1

tell theCheckbox

if (its value as boolean) then click theCheckbox

end tell

click button "OK" of window 1

end tell

end tell

end if

end repeat

end tell

Dec 2, 2014 9:14 AM in response to HelpfulStranger

Small improvement should make it run a tad faster.


tell application "iTunes"

activate

set allPlaylists to (get every user playlist whose (smart is true and special kind is none))

repeat with thisPlaylist in allPlaylists

set view of browser window 1 to thisPlaylist

tell application "System Events"

tell process "iTunes"

tell menu bar 1

tell menu bar item "File"

tell menu "File"

click menu item "Edit Smart Playlist"

end tell

end tell

end tell

set theCheckbox to checkbox "Live updating" of window 1

tell theCheckbox

if (its value as boolean) then click theCheckbox

end tell

click button "OK" of window 1

end tell

end tell

end repeat

end tell

Jan 13, 2015 12:57 PM in response to HelpfulStranger

this is exactly what i was hoping to see -- but i can't get it to run right on iTunes 12, yosemite

User uploaded file


it also doesn't seem to recognize "Home Videos" or "Audiobooks" as special and tries to turn them off -- i modified the earlier script to add those two to the lists of exclusions, but still get the same error message on the first "unspecial/real" smart playlist -- hasn't somethign changed in the object model perhaps?


thank you muchly!

=mjb


tell application "iTunes"

activate

set allPlaylists to (get every user playlist)

repeat with thisPlaylist in allPlaylists

if (thisPlaylist is smart) and name of thisPlaylist is not in {"Music", "Movies", "Podcasts", "Books", "TV Shows", "iTunes U", "Apps", "Ping", "iTunes DJ", "Genius", "Home Videos", "Audiobooks"} then

set view of browser window 1 to thisPlaylist

tell application "System Events"

tell process "iTunes"

tell menu bar 1

tell menu bar item "File"

tell menu "File"


clickmenu item "Edit Smart Playlist"

end tell

end tell

end tell

set theCheckbox to checkbox "Live updating" of window 1

tell theCheckbox

if (its value as boolean) then clicktheCheckbox

end tell


clickbutton "OK" of window 1

end tell

end tell

end if

end repeat

end tell

How to turn on / off live updating for all smart playlists at once?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.