-
All replies
-
Helpful answers
-
Dec 25, 2015 8:00 PM in response to GordonBanksby turingtest2,★HelpfulHere are four scripts that can clear or reset album and track auto ratings. They each work on the current selection of tracks in iTunes. The first two work by setting a manual rating of 1% which displays as no stars and should work properly with your smart playlists. The second pair restore the default behaviour. You'll still likely have to do some management as new items are added to your library, but it might make it easier.
-- ClearAlbumAutoRating - V1.0 - © Steve MacGuire - 2015-11-14
tell application "iTunes"
if selection is not {} then
set mySelection to selection
repeat with aTrack in mySelection
if album rating kind of aTrack is computed then set album rating of aTrack to 1
end repeat
end if
end tell
-- ClearTrackAutoRating - V1.0 - © Steve MacGuire - 2015-11-14
tell application "iTunes"
if selection is not {} then
set mySelection to selection
repeat with aTrack in mySelection
if rating kind of aTrack is computed then set rating of aTrack to 1
end repeat
end if
end tell
-- SetAlbumAutoRating - V1.0 - © Steve MacGuire - 2015-11-14
tell application "iTunes"
if selection is not {} then
set mySelection to selection
repeat with aTrack in mySelection
if album rating of aTrack is 1 then set album rating of aTrack to 0
end repeat
end if
end tell
-- SetTrackAutoRating - V1.0 - © Steve MacGuire - 2015-11-14
tell application "iTunes"
if selection is not {} then
set mySelection to selection
repeat with aTrack in mySelection
if rating of aTrack is 1 then set rating of aTrack to 0
end repeat
end if
end tell
Save them in User/Library/iTunes/Scripts with their respective filenames and you can access them from the iTunes menu bar.
tt2
-
Feb 13, 2016 5:31 PM in response to turingtest2by William Fiveash,Thank you very much for this info. This aspect of iTunes has be bugging me recently and I feel a applescript coming on to remedy the shortcomings of iTunes (why did they remove opening playlists in separate windows).
-
-
Mar 26, 2016 9:26 AM in response to turingtest2by ejpeiker,Any idea how to do this in Windows iTunes library - same annoying "feature"
-
-
-
-
-
-
Sep 29, 2016 5:32 AM in response to turingtest2by oled,Thank you for pointing me here, tt2.
Quick question: There was no "Scripts" folder in the my user/library/itunes so I created one. I saved one of the scripts as an rtf document using TextEdit in that new folder. I relaunched iTunes, but can't find the script in the menu. Am I doing something wrong?
Thanks again
-
Sep 29, 2016 6:23 AM in response to oledby oled,It's ok. I figured out the proper way to create scripts. Thanks again for a solution to my rating issue
-
Sep 29, 2016 7:15 AM in response to oledby oled,Still not happy seems to be doing away with ratings in iOS, but take the blue/black thing as a sign they mean to continue MacOS support and seemingly make it clearer when something's auto-rated.
Happy to have discovered and used my first Applescripts, but wish Apple would include some menu commands for basic users rather than relegate handling to Applescripts.
-