Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-28-2017, 11:08 AM   #1
MicheleBS
Enthusiast
MicheleBS began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jul 2017
Location: Cesena (Italy)
Device: Kobo Aura One
"filename" value in the Template Language

Dear Forum,

when I add books to my Library in Calibre, I'd like the files are saved, in the Library folder, just with their original filename, and no re-named, for example, to {author} - {title}.

What's the related value for the filename, in the Template Language?

I tried {namefile}, {filename} and others, with no success.

Thank you.
MicheleBS is offline   Reply With Quote
Old 09-28-2017, 11:27 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 22,273
Karma: 22142024
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A
Quote:
Originally Posted by MicheleBS View Post
Dear Forum,

when I add books to my Library in Calibre, I'd like the files are saved, in the Library folder, just with their original filename, and no re-named, for example, to {author} - {title}.

What's the related value for the filename, in the Template Language?

I tried {namefile}, {filename} and others, with no success.

Thank you.
Neither. None.

There is a Plugin that stores the ORIGINAL file path-name in a CUSTOM field
Check the PI Index for 'getfilename'
theducks is offline   Reply With Quote
Old 09-29-2017, 12:36 AM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,660
Karma: 13739682
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by MicheleBS View Post
when I add books to my Library in Calibre, I'd like the files are saved, in the Library folder, just with their original filename, and no re-named, for example, to {author} - {title}.
File names within the calibre library are not user configurable. File names exported from calibre can be configured six ways from Sunday.

The plugin theducks was referring to can be found in this thread.
DoctorOhh is offline   Reply With Quote
Old 09-29-2017, 08:36 AM   #4
MicheleBS
Enthusiast
MicheleBS began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jul 2017
Location: Cesena (Italy)
Device: Kobo Aura One
Thank you. I will follow your suggestions.
MicheleBS is offline   Reply With Quote
Old 11-05-2017, 10:02 AM   #5
MicheleBS
Enthusiast
MicheleBS began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jul 2017
Location: Cesena (Italy)
Device: Kobo Aura One
Dear fellows,

I installed getfilename, in the end. Beautiful.

Now, whenever I add a book to my library, a custom field I called "filename" is filled with the proper value.

But, I guess, is there now a method to also fill such a field also for the books previously added? It would be very useful, to me.

Thank you for your support.
MicheleBS is offline   Reply With Quote
Old 11-05-2017, 11:18 AM   #6
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 55,144
Karma: 207737824
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage, Yotaphone 2
Quote:
Originally Posted by MicheleBS View Post
But, I guess, is there now a method to also fill such a field also for the books previously added? It would be very useful, to me.
The original file name for books added to calibre is not retained. So unless you have a note of them, and can add them manually, no.
pdurrant is offline   Reply With Quote
Old 11-05-2017, 12:45 PM   #7
MicheleBS
Enthusiast
MicheleBS began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jul 2017
Location: Cesena (Italy)
Device: Kobo Aura One
Oh, you're right.

Thank you.
MicheleBS is offline   Reply With Quote
Reply

Tags
add a book, calibre, library, template language

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Add a book" template like "Save to disk"? vr8ce Library Management 10 06-09-2017 09:16 AM
Kindle newbie needs "template" HTML & CSS Rich_H Kindle Developer's Corner 12 09-11-2012 12:16 AM
Kindle Newbie needs "template" HTML & CSS Rich_H Workshop 4 09-10-2012 09:33 PM
FN LN, author_sort, Initials dot, ", Jr", author template? unboggling Library Management 0 08-09-2012 09:40 PM
Kindle DX optimal "page" size - PDF or Word template guiyoforward Amazon Kindle 12 09-28-2010 08:05 PM


All times are GMT -4. The time now is 11:32 AM.


MobileRead.com is a privately owned, operated and funded community.