View Single Post
Old 01-05-2011, 04:58 PM   #1
tscamera
Enthusiast
tscamera began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Dec 2010
Device: PRS-650 ... ipad
Question [old thread] filename and library structure /author and titel structure

i am trying, yes i'm trying...
but.
this is my filename:
name, prename - title - title extra.ext

what do i have to do, tweaking .py etcpp to get:

I. name, prename to metadata authors... as it is: name, prename.
II. title - title extra to metadata title... as it is: title - title extra.

III. the same structure to the library,
{authors}/{title}/{authors} - {title}

i tried to tweak the global.py with:
filename_pattern = u'(?P<author>[^_]+) - (?P<title>.+)'
and the save_to_disk.py with:
template = u'{authors}/{title}/{authors} - {title}'

but as long as calibre imports the file und puts -prename name- as authors and -cutted filename- in the metadata (what i dont like..),
the filestructure in the library looks like:
prename name/title/title - prename name.ext

WHATs the trick?
shall i tweak the gui.py too?

+how can i change the (_) to (,)

please help, i don't get it (all)
tscamera is offline   Reply With Quote