I have a single ANT database with images included in the .amc file. When Xlobby starts, XAnt makes use of a filter (the ANT 'borrower' field) to split the .amc database into two Xlobby databases.
- Code: Select all
[Movies_Family]
input=c:\Program Files\Ant Movie Catalog\Catalogs\Movies.amc
output=c:\Program Files\Xlobby\databases\movies_family.xml
images=c:\Program Files\Ant Movie Catalog\Catalogs\XLobbyCovers\FamilyCovers\
sort=$$ITEM_ORIGINALTITLE
template=c:\Program Files\Xlobby\plugins\xant\moviestemplate.xml
filters=$$ITEM_BORROWER(Family)
[Movies_Mature]
input=c:\Program Files\Ant Movie Catalog\Catalogs\Movies.amc
output=c:\Program Files\Xlobby\databases\movies_mature.xml
images=c:\Program Files\Ant Movie Catalog\Catalogs\XLobbyCovers\MatureCovers\
sort=$$ITEM_ORIGINALTITLE
template=c:\Program Files\Xlobby\plugins\xant\moviestemplate.xml
filters=$$ITEM_BORROWER(Mature)
Here is what I notice:
1) XAnt appears to write duplicate images to the specified Xant.ini "images" directories (it appears to ignore the filter with regard to extracting images), i.e. the contents of
c:\Program Files\Ant Movie Catalog\Catalogs\XLobbyCovers\MatureCovers\
c:\Program Files\Ant Movie Catalog\Catalogs\XLobbyCovers\FamilyCovers\
contain identical files, just different filenames.
2) ANT allows for "linking" to image files, i.e. the actual images are not stored in the .amc file, but rather in individual files. I would like to convert my .ant catalog to use linked images. When I tried to do this, XAnt does not make use if the "links," but copies the linked images to the specified "images" directory.
So combining (1) and (2), I actually end up with three directories all containing the same images:
(a) "c:\movie_covers", which contains my original .jpg images linked to by ANT movie entries
(b) "c:\Program Files\Ant Movie Catalog\Catalogs\XLobbyCovers\MatureCovers\"
(c) "c:\Program Files\Ant Movie Catalog\Catalogs\XLobbyCovers\FamilyCovers\"
Is there a way for XAnt to do the following (perhaps specified in XAnt.ini)?
(1) BETTER: When filtering, only write the appropriate images to the image directories, instead of duplicates?
(2) BEST: If .amc catalog uses "linked" images, can XAnt just pass the link into the Xlobby XML database, instead of copying the image files, then using the location of the copies in the XLobby <coverart> item? This way, there would be no writing of a directory of images at all (filtered or non-filtered)! XLobby would just have <coverart> as "c:\movie_covers\mymovie1.jpg," etc...
Sorry for the long post.
Thanks again for the great plugin!