Created
April 21, 2013 18:00
-
-
Save archgrove/5430451 to your computer and use it in GitHub Desktop.
A small Applescript to reset the unplayed status of TV shows not watched in the last 3(ish) months. Makes the AppleTV display them with the shiny blue dot!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "iTunes" | |
set d to (current date) - (12 * weeks) | |
repeat with t in (every track where played date is less than d and video kind is TV show) | |
set unplayed of t to true | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment