It has been a while since I worked on my SortDateAdded script but this is a pretty comprehensive list of the properties that are available with all iTunes media files and where they are stored
The following properties are only stored in the database:
- Date Added (Can't be edited)
- (Store) Downloaded Art
- Enabled (Ticked)
- Unplayed
- Album Rating
- (Track) Rating
- Played Count
- Played Date
- Skipped Count
- Skipped Date
- Volume Adjustment
- EQ
- Start Time
- Finish Time
- Remember Bookmark Position
- Bookmark Time
- Exclude From Shuffle
- Media Kind
- Playlist Membership
The following properties are usually stored in tags, but not for file types: .mid.mov.mpeg.mpg.pdf.wav
- Embedded Art
- Track Number
- Track Count
- Disc Number
- Disc Count
- Year
- (Part of a) Compilation
- Part Of Gapless Album
- Name
- Artist
- Album Artist
- Album
- Composer
- Comment
- Genre
- Grouping
These additional properties not stored in the file for file types: .aif.mid.mov.mpeg.mpg.pdf.wav
- Video Kind
- Season Number
- Episode Number
- EpisodeID
- Show
- Description
- Sort Name
- Sort Artist
- Sort Album Artist
- Sort Album
- Sort Composer
- Sort Show
Date Modified is a property of the file rather than its tag.
I assume Duration is a fixed property stored in the header for audio & video files, even when they don't have a tag.
I haven't tested it yet (I wrote the script before I had access to iBooks) but I would assume that most, if not all, of the tag properties are also internalised for Books (.epub).
In general iTunes won't notice if a file is modified by another instance of iTunes or a third party tagging tool unless it has reason to access the tag, e.g. during playback, in which case it will update itself with the current details stored in the tags.
Note also that file types than can have an embedded tag to store metadata don't have to have one. Some can also have more than one which, together with inconsistencies in the way iTunes manages multiple tags, can mean that an update with one library might not be reflected in another.
If you are using a single media folder to support multiple libraries then probably the most useful tip is to disable the Keep iTunes Media folder organised option in each library, otherwise an edit in one library can make tracks go missing for another.
tt2