Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-19-2012, 06:51 PM   #1
juston
Junior Member
juston began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: HP TouchPad
Question Calibre: Read Filename into Custom Column

Hey guys,
Is there a function that will allow me to read the filename of a book into a custom column, something like:

Lookup name: filename
Column heading: File Name
Column type: Column built from other columns
Template: {#filename:'getFileName()'}

Is there a function that can be called in a template that will return the File Name? If I can get the File Name I can parse the info I need into a custom column.
juston is offline   Reply With Quote
Old 01-22-2012, 09:14 AM   #2
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,863
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Moderator Notice
Read the "PLEASE READ BEFORE POSTING - The purpose of this subforum" sticky before posting in the development forum. Thread moved.
DoctorOhh is offline   Reply With Quote
Old 07-24-2019, 11:09 PM   #3
anoukaimee
Enthusiast
anoukaimee began at the beginning.
 
anoukaimee's Avatar
 
Posts: 30
Karma: 10
Join Date: Aug 2017
Location: USA
Device: Kobo Clara, Pixel 6 (Moon Reader/Calibre Companion), Amazon Fire 10
Quote:
Originally Posted by DoctorOhh View Post
Read the "PLEASE READ BEFORE POSTING - The purpose of this subforum" sticky before posting in the development forum. Thread moved.
Glad you're on top of it, but sure would be nice if you'd post a link to where you moved it. Because ten years later, I can't find it (or the answer).
anoukaimee is offline   Reply With Quote
Old 07-25-2019, 12:34 AM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,598
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
The GetFileName plugin is a FileType plugin, it uses Text columns -- something like this :

Click image for larger version

Name:	Annotation 2019-07-25 142518.jpg
Views:	582
Size:	59.7 KB
ID:	172559

Which you specify the plugin configuration, something like this:

Click image for larger version

Name:	Annotation 2019-07-25 142607.jpg
Views:	490
Size:	37.4 KB
ID:	172558

Any questions/issues should be posted in the plugin's thread ==> Index of plugins - FileType plugins are at the end of the active list.

BR

Last edited by BetterRed; 07-25-2019 at 12:37 AM.
BetterRed is offline   Reply With Quote
Reply

Tags
calibre, custom column, filename, template


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Read Status Column PapaJohn Devices 23 05-22-2015 04:57 AM
custom date column from two state column Dopedangel Library Management 7 01-03-2012 08:20 AM
Help needed with custom column in Calibre PapaJohn Library Management 1 02-26-2011 02:41 AM
Custom column read ? pchrist7 Calibre 2 10-04-2010 02:52 AM


All times are GMT -4. The time now is 02:45 AM.


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