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-15-2015, 07:17 PM   #1
woodr2011
Connoisseur
woodr2011 began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Aug 2015
Device: PC and laptop
Custom Formats?

Hi everyone,

I use Calibre to catalog my physical library of printed books, CDs, DVDs, etc. How can I add a custom Format to those entries? I would like it to be in the same Format field as the file formats such as epub, PDF, MOBI, etc. It should be something like HBK (hardback book) or PBK (paperback book), etc. Please advise!! Thanks so much! ---Ryan
woodr2011 is offline   Reply With Quote
Old 09-16-2015, 12:14 AM   #2
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: 21,732
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@woodr2011- create an empty file with the extension you want eg Bleak House - Charles Dickens.hbk and drag drop to the book list

BR
BetterRed is online now   Reply With Quote
Advert
Old 09-16-2015, 02:35 AM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
calibre can store up to one file of any extension type -- doesn't have to be a known/real extension.

As BetterRed says, create a blank file with the extension you want, add it as a format and you will see it show up in Book Details.
That should be sufficient to track which books you have a paper copy of.
eschwartz is offline   Reply With Quote
Old 09-17-2015, 07:48 AM   #4
woodr2011
Connoisseur
woodr2011 began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Aug 2015
Device: PC and laptop
Thank you both for your replies. I had tried this previously, but the "Format" column still calls the file TXT rather than HBK. My Format column's template code is: {:'approximate_formats()'}. Does this require a tweak?
woodr2011 is offline   Reply With Quote
Old 09-17-2015, 08:12 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by woodr2011 View Post
Thank you both for your replies. I had tried this previously, but the "Format" column still calls the file TXT rather than HBK. My Format column's template code is: {:'approximate_formats()'}. Does this require a tweak?
Works for me.

This template
Click image for larger version

Name:	Clipboard03.jpg
Views:	190
Size:	30.7 KB
ID:	142070

gives this result
Click image for larger version

Name:	Clipboard02.jpg
Views:	161
Size:	12.1 KB
ID:	142069

when the file "foo.hbk" is added as a format.
chaley is offline   Reply With Quote
Advert
Old 09-17-2015, 09:49 AM   #6
woodr2011
Connoisseur
woodr2011 began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Aug 2015
Device: PC and laptop
You created an empty file in Notepad with the name "foo.hbk"? In my case, Calibre isn't recognizing it as anything other than a TXT file, regardless of whatever suffix I give it in the file name. I must be missing a step?

Last edited by woodr2011; 09-17-2015 at 10:11 AM.
woodr2011 is offline   Reply With Quote
Old 09-17-2015, 10:26 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by woodr2011 View Post
You created an empty file in Notepad with the name "foo.hbk"? In my case, Calibre isn't recognizing it as anything other than a TXT file, regardless of whatever suffix I give it in the file name. I must be missing a step?
I didn't use Notepad, but one can. In Notepad, in order to use an arbitrary extension you must change the "Save as type" box to be "All Files".
Attached Thumbnails
Click image for larger version

Name:	Clipboard02.jpg
Views:	142
Size:	43.7 KB
ID:	142072  
chaley is offline   Reply With Quote
Old 09-17-2015, 10:33 AM   #8
woodr2011
Connoisseur
woodr2011 began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Aug 2015
Device: PC and laptop
Hi Chaley - It finally worked! Thank you so much! Which program did you use for the creation of the dummy .HBK file?

Would it be advisable for me to store the arbitrary dummy files somewhere other than in the Calibre program directory?
woodr2011 is offline   Reply With Quote
Old 09-17-2015, 10:36 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@woodr2011: I right-clicked on my desktop, chose New, and made a text file, then clicked on its name and changed its name and extension.
chaley is offline   Reply With Quote
Old 09-17-2015, 10:40 AM   #10
woodr2011
Connoisseur
woodr2011 began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Aug 2015
Device: PC and laptop
Should those arbitrary files be stored in the main Calibre directory or elsewhere?
woodr2011 is offline   Reply With Quote
Old 09-17-2015, 11:06 AM   #11
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by woodr2011 View Post
Should those arbitrary files be stored in the main Calibre directory or elsewhere?
By "arbitrary files" do you mean the .hbk ones? If so, when you add a .hbk file to calibre via drag-and-drop or as a format in edit metadata, calibre makes a copy of the file and saves it in your library. The original file can be stored anywhere or recreated at need.
chaley is offline   Reply With Quote
Old 09-17-2015, 04:07 PM   #12
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: 21,732
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@wood2011 - just for the record

Right click the desktop, select New->Notepad File, that will create a file called "New Text Document.txt", which can be immediately renamed to "Charles Dickens - Bleak House.hbk"

Prerequisite: in order to see the extension, you will need to uncheck Windows Control Panel->File Options->View->Hide extensions for known file types Ψ²

If I had a lot of books to add this way - I would rename the file to "Some One - Some Book.hbk" and keep it at hand for reuse. Then after adding it to my calibre library, I would change the Author and Title in the book list via F2, for the Author at least I would have benefit of calibre's auto completion feature.

BR

Last edited by BetterRed; 09-17-2015 at 04:15 PM.
BetterRed is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching for format- format vs formats vs approximate formats? unboggling Library Management 9 01-02-2014 10:01 PM
No supported formats (Available formats: 0) (epub)) luta Calibre 2 04-27-2013 10:50 AM
Custom TextToSpeech "engine" as a way to create custom real audiobooks with texts noisy Kindle Developer's Corner 2 03-31-2012 08:42 AM
Can custom book data be displayed in a custom column? kiwidude Development 9 03-02-2011 05:35 AM
Convert Epub and Msreader formats to Kindle formats bruc79 Calibre 17 06-22-2010 04:50 AM


All times are GMT -4. The time now is 06:49 PM.


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