Thanks Rhino,
This looks close, but still is not exactly what I need. I see two disadvantange of this solution:
1) if you are running files from a cd, you have to assume that you will use the same driver. (you can also forget about different computers, if they don't use the same driver name for CD)
2) you have to assume that the tag structure (artist-album) and the directory structure is exactly the same. Sometimes this is very restricting. For example when the directory structure on a CD does not allow the whole path because it is too long, or artist-album names contain characters that cannot be used in a path.
Actually, all I need is that James Dickson adds the token: !trackpath! (similar to
TRACKINFO_INSERT_TRACKPATH in TrackInfo SDK) to the supported tokens list in Artwork Rules) so that !trackpath!/cover.jpg can be used to refer to cover.jpg in the same directory with the song.
Another interesting use might be the following:
If the directory structure on the CD is DRIVER:/Artist/Album:
!trackpath!/../cover.jpg could be used as a secondary rule, which retrives a default artist picture, if album cover cannot be find. (Assuming of course AV can deal with paths that contain '..').
(even !trackpath!/../../cover.jpg could be used to retrieve the cover of collection, etc.)
James,
Are you following this thread? What do you think?
Best,
Tolga