English > Scripts and Templates

"imagepath" statement

<< < (2/2)

CAD:

--- Quote ---Can you save the xml in the same directory as the posters?
--- End quote ---
yes but i need to remove "nearfiles=" first, choose a location to save to then renable nearfiles statement to have poster save in root and xml NOT have imagepath statement added. poster is still savedin images/ subdir.
i don't get to choose a save location when i have "nearfiles="
 

--- Quote ---suggests you need them all in the same directory.
--- End quote ---
correct :) and xml not have imagepath path added. so
<thumb>{%value=poster}</thumb> will output <thumb>movietitile.jpg</thumb>
not <thumb>images/movietitile.jpg</thumb>


--- Quote ---I'll fix the issue with imagepath in the next plugin update
--- End quote ---
Cool :)

to help with debugging (maybe) :)
i don't know how "nearfiles=" is suppossed to work, but if i have
nearfiles=".nfo" i get xml with a filename of .nfo
if i have nearfiles=".jpg" i get xml with a filename of .jpg (nothing infront of the . )
if i have nearfiles=movies.xml" i get xml file saved with a filename of movies.xml

My next question after this is going to be - can I save as separate xml files named to movie title. :)
something like nearfiles="%t%.xml" to export titlename.xml and poster

just so you know what i am want to do....
i want to select a bunch of movies and export separate xml files and poster named by title.

nostra:
You will be able to export in separate files but they can be named like smth_[movie id].[extension]. I'll think of improving the naming here later.

nostra:
Take a look at the new export plugin with file name formatting...
More info: http://www.videodb.info/forum_en/index.php?topic=1493.msg6483#new

Navigation

[0] Message Index

[*] Previous page

Go to full version