DB Import / Metamasks

Help each other out

DB Import / Metamasks

Postby Anzxio on Fri Apr 30, 2004 11:42 am

I am trying to make a template so that i can make a db with for my trailers :)

The trailers are sorted like this:
M:\Trailer\Show\<filmname>\*.mov

There can be 1+ trailers for each movie.

How would i create the template file to build a db that stores this info?
Currently i can build one that grabs the <filmname>, but if there is more than one trailer for that film it lists them all seperatly :(

Here is a quick example:
\aliens\trailer.mov
\aliens\trailer2.mov
\aliens\trailer3.mov
\xxx\trailer.mov
\catch me if you can\cmiyc.mov
\goldeneye\trailer.mov
\swordfish\swordfish.mov
\big fish\big fish.mov
^^ Those are my trailers

I need an xml file to store this info:
filmname

So for each film all i need is this:
<item>
<filmname>aliens</filmname>
<coverart>M:\trailers\show\aliens\folder.jpg</coverart>
</item>

How can this be achieved?


Thank you
Anzxio
 
Posts: 21
Joined: Thu Apr 22, 2004 10:21 pm