From DvdProfiler To Ant (AMC)

title says it all

From DvdProfiler To Ant (AMC)

Postby lar282 on Thu May 24, 2007 5:28 pm

So, I decided to move away from dvdprofiler to AMC. I had a database of 200 dvd's so I didn't wanna start from scratch again. Everything went ok and here's what I did.

u need:
Xant 2.1 plugin http://www.france.xlobby.com/telecharge ... t.v2.1.exe

AMC http://www.antp.be/software/moviecatalog/

Export cvs format of your dvdprofiler database

what I did
* export my dvdprofiler database in CVS format
* Copied Xlobby to a safe place
* install AMC
* Import in amc in cvs format and specified what fields I wanted from my dvdprofiler backaup. note pictures did not come to the amc database
* Save new database and choose to pick info from internet. I only checked pictures and I chose IMDB script.there is a option to pick the first movie do its totally automatic. MAKE sure u save pictures in FOLDER and link to catalog. SAVE
* installed the Xant 2.1 plugin
* edit the xant.ini and mine looks like this:
[Movies]
input=c:\Program Files\Ant Movie Catalog\Catalogs\Dreambox.amc
output=c:\Program Files\Xlobby\databases\movies.xml
images=c:\Program Files\Ant Movie Catalog\Catalogs\
sort=$$ITEM_ORIGINALTITLE
template=c:\Program Files\Xlobby\plugins\xant2\moviestemplate.xml
filters=

* then edit the moviestemplate.xml Mine looks this this.
<xml>
<database>
<sortorder>-1:purchasedate</sortorder>
<sortable>
<sort>actors</sort>
<sort>title</sort>
<sort>sorttitle</sort>
<sort>genre</sort>
<sort>director</sort>
<sort>year</sort>
<sort>collectionnumber</sort>
<sort>number</sort>
<sort>purchasedate</sort>
<sort>display</sort>
</sortable>
<template>
<paths>
<path>
</paths>
<item>
<parameter>video_ts.ifo</parameter>
<coverart>$$ITEM_PICTUREFILENAME</coverart>
<display>$$ITEM_ORIGINALTITLE</display>
<information>
<name>$$ITEM_ORIGINALTITLE</name>
<title>$$ITEM_ORIGINALTITLE</title>
<sorttitle>$$ITEM_ORIGINALTITLE</sorttitle>
<director>$$ITEM_DIRECTOR</director>
<runtime>$$ITEM_LENGTH</runtime>
<plot>$$ITEM_DESCRIPTION</plot>
<actors>$$ITEM_ACTORS</actors>
<year>$$ITEM_YEAR</year>
<genre>$$ITEM_CATEGORY</genre>
<collectionnumber>$$ITEM_NUMBER</collectionnumber>
<date>$$ITEM_DATEFORMATED</date>
<date2>$$ITEM_DATEADD</date2>
<purchasedate>$$ITEM_DATEADD</purchasedate>
<number>$$ITEM_NUMBER</number>
<dvd_description>$$ITEM_TYPE</dvd_description>
</information>
</item>
</database>


Thats it.it works and no more dvdprofiler.everytime xlobby starts xant will rebuild the databse from AMC

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden