|
|||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
#1 |
|
Prospect
Join Date: Feb 2013
Posts: 1
|
I need help writing a script to tell itunes to get info on movies in library
I'm trying to write a script that goes to itunes and clicks "get info" for every movie I have in the itunes library.
I saw this example somewhere but really don't know how to tweak it or where to run it to make this do what I need: tell application "iTunes" set theSelection to selection repeat with i from 1 to count of theSelection tell (item i of theSelection) set artworkCount to count of artwork repeat artworkCount times set theArtwork to data of artwork 1 delete artwork 1 set data of artwork artworkCount to theArtwork end repeat end tell end repeat end tell I need to make it repeatedly click "get info" on every movie I have because itunes 11 for some reason continues to lose my artwork for the movies but when I click "get info" and "ok" it then brings it back. This happens ALL the time and I need some kind of easy way to go through a hundred some movies every two days to restore the art. Can anyone PLEASE help me by showing me what type of script I need to run and what application to put it in? Should I just run it from terminal? Thanks! |
|
|
|
|
|
#2 |
|
All Star
Join Date: Jan 2004
Location: Limerick, PA
Posts: 687
|
That is not normal behavior for iTunes. Your library file may be corrupted. Have you tried repairing your library database file?
|
|
|
|
|
|
#3 |
|
Hall of Famer
Join Date: Dec 2007
Posts: 3,641
|
The first place to check when needing a script for iTunes is Doug's AppleScripts site. For this situation, try using the Embed Artwork script or the Re-Embed Artwork script.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|