XAnt and .amc file format

Xlobby plugin development

XAnt and .amc file format

Postby WannaTheater on Tue Sep 11, 2007 1:16 pm

Another question about XAnt... I have been using it for a long time with the ANT .amc file format. ANT also allows for the database to be stores as an .XML file format. This is probably a stretch, but will XAnt also work with the ANT .XML file format?

i.e.
[Movies_Family]
input=c:\Program Files\Ant Movie Catalog\Catalogs\Movies.XML
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)

Thanks!
WannaTheater
 
Posts: 235
Joined: Thu Aug 24, 2006 11:35 am
Location: Florida

Re: XAnt and .amc file format

Postby badubo on Tue Sep 11, 2007 2:01 pm

Did you test? ;)
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Re: XAnt and .amc file format

Postby WannaTheater on Tue Sep 11, 2007 3:05 pm

That would have been too easy :)

... I did just test it, and it works :D
Great plugin, suppoorting both .xml and .amc file formats!
WannaTheater
 
Posts: 235
Joined: Thu Aug 24, 2006 11:35 am
Location: Florida

Re: XAnt and .amc file format

Postby dalanik on Wed Sep 12, 2007 6:48 pm

Cool... at 1 time, I was considering switching to the XML as opposed to AMC, only beacuse with XML you store coverart externally (my AMC DB is now like 160Mb!) but gave it up because XML format has problems with using | to indicate subfolders for multi-part movies or series etc.

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Re: XAnt and .amc file format

Postby badubo on Thu Sep 13, 2007 8:34 am

XML format has problems with using | to indicate subfolders for multi-part movies or series etc.

you can change the separator used for this purpose by changing/adding a "separator=" key in the section of the database
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium