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 04-11-2015, 10:18 AM   #1
Kartoffelr
Member
Kartoffelr began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2014
Device: Kindle PW1
Thumbs up Sorting small ebooks in the library | Change the file size column to KB?

Hello,

I have a lot entries in my calibre library. Although the page count go from 2 pages up to 300 pages, the file size column rounds them to "<0.1" or "0.1" MB.
Most of them are .odt-files.

Is it possible to change the displayed file size from MB to KB, so i am able to sort them? Alternatively, is there another way to sort them, via quantity of words, or pages?

Thanks!

Last edited by Kartoffelr; 04-12-2015 at 06:25 AM.
Kartoffelr is offline   Reply With Quote
Old 04-11-2015, 10:23 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: 23,185
Karma: 24100002
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A, Kobo Aura2
Quote:
Originally Posted by Kartoffelr View Post
Hello,

I have a lot entries in my calibre library. Although the page count go from 2 pages up to 300 pages, the file size column rounds them to "<0.1" or "0.1" MB.
Most of them are .odt-files.

Is it possible to change the displayed file size from MB to KB, so i am able to sort them? Alternatively, is there another way to sort them, via quantity of words, or pages?

Thanks!
No change

But regardless of the display, it still should sort properly Click the title of the Size column

a finer size value is displayed on the 'I'(nformation) panel
theducks is online now   Reply With Quote
Advert
Old 04-11-2015, 10:29 AM   #3
Kartoffelr
Member
Kartoffelr began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2014
Device: Kindle PW1
It indeed does, thank you!

Still, it would be great for me to have these informations in the columns somehow.
Kartoffelr is offline   Reply With Quote
Old 04-11-2015, 11:46 AM   #4
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: 23,185
Karma: 24100002
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A, Kobo Aura2
You might look at the Count Pages PI (if your files are EPUB)

IMHO Page (or word) count is a better indicator than file size.
Many other things (besides span messy code) affect file size
theducks is online now   Reply With Quote
Old 04-11-2015, 11:55 AM   #5
chaley
CC Android & calibre dev
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: 8,945
Karma: 2737706
Join Date: Jan 2010
Location: UK
Device: Many android devices
Quote:
Originally Posted by Kartoffelr View Post
It indeed does, thank you!

Still, it would be great for me to have these informations in the columns somehow.
The thread Can't get {size} data in a User Column? might be of interest to you. It discusses how to get the size value into a custom column. I suspect you would want to use the "human_readable" template function in such a template.
chaley is offline   Reply With Quote
Advert
Old 04-12-2015, 05:48 AM   #6
Kartoffelr
Member
Kartoffelr began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2014
Device: Kindle PW1
Quote:
Originally Posted by chaley View Post
The thread Can't get {size} data in a User Column? might be of interest to you. It discusses how to get the size value into a custom column. I suspect you would want to use the "human_readable" template function in such a template.
Sadly, i fail trying to create a user column with this. And i have NO idea what a template is in this context. I created a user column but there are no options other then its name, description and "search name(?)".
Maybe the calibre UI translation (german instead of english) is in the way, too?

This is so un-intuitive...

Last edited by Kartoffelr; 04-12-2015 at 05:54 AM.
Kartoffelr is offline   Reply With Quote
Old 04-12-2015, 06:08 AM   #7
chaley
CC Android & calibre dev
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: 8,945
Karma: 2737706
Join Date: Jan 2010
Location: UK
Device: Many android devices
Quote:
Originally Posted by Kartoffelr View Post
Sadly, i fail trying to create a user column with this. And i have NO idea what a template is in this context.
Maybe the calibre UI translation (german instead of english) is in the way, too?
Create a user column "Built from other columns". Do not use "Built from other columns, behaves like tags". Name it however you want. Put the following Template Program Mode template into the "template" box"
Code:
{:'ifempty(human_readable(booksize()), '0 B')'}
The following screen capture shows what I am talking about.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.png
Views:	147
Size:	34.4 KB
ID:	137144  
chaley is offline   Reply With Quote
Old 04-12-2015, 06:20 AM   #8
Kartoffelr
Member
Kartoffelr began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2014
Device: Kindle PW1


This works like a charm.
Attached Thumbnails
Click image for larger version

Name:	kb.png
Views:	162
Size:	4.5 KB
ID:	137145  
Kartoffelr is offline   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
Why does calibre change file size when adding theaccountant Calibre 2 12-14-2014 07:03 AM
Glo Glo: Sorting by File Size - Help please! Sxygrrl Kobo Reader 4 07-09-2014 07:00 PM
how to change the font size in pdf file? tigerszheng enTourage eDGe 7 06-05-2011 10:47 AM
ePub font size is so small - was not a converted file, BTW paulak Conversion 3 04-19-2011 06:22 AM
PRS-300 Med font size too big, but small font size too small eli2k Sony Reader 4 05-28-2010 09:47 AM


All times are GMT -4. The time now is 07:42 PM.


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