xant question

Help each other out

xant question

Postby thxjabba on Wed Dec 28, 2005 10:35 pm

Hello,

altough I'm newly registrated on this forum I've been using xlobby for quite som time now.

Thanks to all you guys for making it the superb HTPC frontend that is today.

Until recently I've been using the standard database functonality that is included with xlobby. But now i decided to really get orgnized with Ant Movie Catalog and using the xant plugin.

At first sight everything looks great. Database with pictures and everything.

I have a lot of movies that is divided in multiple cd's.
e.g

coolmovie_cd1.avi
coolmovie_cd2.avi

These files are orgnized into a folder named:
m:\coolmovie\

Using the standard xlobby database I could spesify m:\coolmovie\ as the parameter for the movie and zoomplayer would play both avi files in the right order.

When using xant plugin i am unable to do this. In the URL field in Ant I type in m:\coolmovie\. I have also edited the movietemplate.xml so that the parameter does not include any extra quotes.

Checking my movie.xml I'cant seem to find any differences. Between the xml generated by xant and xlobby.

If anyone could help me on this matter it would be great.

Cheers
thxjabba
 
Posts: 2
Joined: Wed Dec 28, 2005 10:06 pm

Re: xant question

Postby dalanik on Thu Dec 29, 2005 11:04 am

I have the same problem with multiple avi's. Some work (rarely) but some don't. One-file avi's work fine, but multiple avi's (with only folder name specified) don't....
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby badubo on Thu Dec 29, 2005 12:01 pm

Checking my movie.xml I'cant seem to find any differences. Between the xml generated by xant and xlobby.

it's strange... if parameter is the same, it is the same command line that is sent to ZP.

can you upload both databases?
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby dalanik on Thu Dec 29, 2005 12:47 pm

I'll have to check it when I get home (forgotten which work and which don't) :-)
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby badubo on Thu Dec 29, 2005 4:35 pm

my feeling is that those that are working haven't spaces in their path :wink:
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby dalanik on Thu Dec 29, 2005 9:24 pm

Hard to tell, I only have a few of multi-avi online movies, but yes - the one only that works is a single word name, all others have spaces in heir names...

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

Postby badubo on Thu Dec 29, 2005 9:33 pm

you need to embed your parameter inside "" otherwize, ZP will consider several arguments instead of only one
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby dalanik on Fri Dec 30, 2005 7:24 am

badubo wrote:you need to embed your parameter inside "" otherwize, ZP will consider several arguments instead of only one


In ANT ?
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby badubo on Fri Dec 30, 2005 11:56 am

either
-in AMC
-in the XAnt template
-in the event that you call for starting a movie
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby thxjabba on Sat Dec 31, 2005 12:38 am

Looks like I have found the possible reason. After a closer look in my moviestemplate.xml I was able to find a few errors. A few xml tags were wrong. Please look at the comments in the code.



Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<database>
   <sortorder>sorttitle</sortorder>
   <sortable>
      <sort>actors</sort>
      <sort>title</sort>
      <sort>sorttitle</sort>
      <sort>genre</sort>
      <sort>director</sort>
      <sort>year</sort>
      <sort>rating</sort>
      <sort>name</sort>
   </sortable>
   <template/> //Changed this to <template>movies</template>
   <paths>
      <path/> //Deleted this one as this does not appear in the original xml.
   </paths>
   <item>
      <parameter>$$ITEM_URL</parameter>
      <coverart>$$ITEM_PICTUREFILENAME</coverart>
      <display>$$ITEM_TRANSLATEDTITLE</display>
      <information>
         <name>$$ITEM_ORIGINALTITLE</name>
         <title>$$ITEM_ORIGINALTITLE</title>
         <sorttitle>$$ITEM_TRANSLATEDTITLE</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>
         <rating>$$ITEM_RATING/10</rating>
      </information>
   </item>
</database>


It was when i changed the templates xml tag that xlobby was able to start the movie in zoomplayer.

Thanks for all your help guys.

Cheers.
thxjabba
 
Posts: 2
Joined: Wed Dec 28, 2005 10:06 pm