Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Allowed file types: gif, jpg, png, txt, tpl, lng, ini, pvd, psf, ini, cfg, csv, zip, xml, pas, 7z
Restrictions: 4 per post, maximum total size 1024KB, maximum individual size 1024KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the best video database software?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: nostra
« on: September 09, 2009, 11:23:54 pm »

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
Posted by: nostra
« on: August 13, 2009, 01:53:29 am »

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.
Posted by: CAD
« on: August 13, 2009, 01:41:43 am »

Quote
Can you save the xml in the same directory as the posters?
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.
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
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.
Posted by: nostra
« on: August 13, 2009, 12:07:30 am »

I'll fix the issue with imagepath in the next plugin update
Posted by: rick.ca
« on: August 12, 2009, 07:17:24 pm »

Quote
i can't figure out how to save poster to the same place as exported xml

Can you save the xml in the same directory as the posters?

Quote
Also i don't understand what nearfiles=".[extension]" is for or how it works.

This saves the exported files with the same pathname as the media, but with the specified extension. Probably not what you want, as "I'm trying to export posters to the root directory of where im saving xml" suggests you need them all in the same directory.
Posted by: CAD
« on: August 12, 2009, 05:56:01 am »

thanks dude - imagenameformat="[format]" like a treat.
mycode
%options%
imagenameformat="%t%%ext%"
%options%
<text...>
<text...>
<thumb>{%value=poster}</thumb>
etc
this saves poster with filename of title.jpg but oinly if i have imagepath=" <something>"
i can save this into a subdirectory i guess, but then i have to manully move them = pain.

i have a cpl of things i can't workout.
i can't figure out how to save poster to the same place as exported xml
i have to have imagepath="<some text> or it won't save the poster.
if  I remove imagepath statement it doesn't save.

Also i don't understand what nearfiles=".[extension]" is for or how it works.
if i add this with an extension lile "nearfiles=".jpg" it doesn't prompt me to save the entry, but if I look in my save directory, i have a file called ".jpg" that contains xml data i am trying to export.
Posted by: rick.ca
« on: August 11, 2009, 10:01:53 am »

This is what you're looking for...

New export options

Export near video files:
Code: [Select]
nearfiles=".[extension]"
Image file name format:
Code: [Select]
imagenameformat="[format]"
Following variables can be used:
//%id%  - Internal ID
//%w%   - MaxWidth
//%h%   - MaxHeight
//%ext% - Extension
//%f%   - Field number (available only if exporting multiple images)
//%fs%  - Field String (poster/screenshot/frontcover/cdcover/photo) (available only if exporting multiple images)
//%t%   - Title
//%ot%  - Original Title
//%y%   - Year (only for movies)
Posted by: CAD
« on: August 11, 2009, 08:03:40 am »

Hi - Great program.
I'm trying to export posters to the root directory of where im saving xml.

under%Options%
imagepath="images/"

I have tried removing this but no posters get saved. Also tried setting it to imagepath="". Posters dont get saved
I can set it to imagepath=" " (space) but xml <tag>{%value=poster}</tag> then has a space at the front of it.
I can set it to imagepath="extension", this saves poster as extensionimage_blah_blah.jpg but also creates a directory called extension

Also -  is it possible to save the poster as titlename. Set something like imagename="{%value=title}.{%value=imageextension}" under options so to save image as title.jpg. When doing export it sets the outputted jpg name to title (or whatever other options u want.)


anything