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 08-17-2014, 06:34 AM   #1
McGonigle
Connoisseur
McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.
 
McGonigle's Avatar
 
Posts: 96
Karma: 1529376
Join Date: Jul 2014
Device: Kobo Aura One, iPad 2018,
Individual icon per format in format viewer

Someone must have come up with this idea before me. Alas, a quickish search did not turn up potential leads, so if I overlooked a thread or a post, please point me in the right direction.

Fiddling with the format browser I thought it would be nice if it was possible to fit an epub icon against epub files, a doc icon against doc files etc. etc. for mobi, pdf and so forth.

I found out that this apparently is not possible as Calibre uses the same icon for all formats and cannot handle individual icons per format.

Does anyone know of a fix?
McGonigle is offline   Reply With Quote
Old 08-17-2014, 10:49 AM   #2
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: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
So you want to be able to right-click in the tags browser and give different entries within a category individual icons? In this case, different icons for each entry in the "formats" category.

It would seem to be impossible. Try suggesting it as an enhancement request (or perhaps Kovid will spot it here).
eschwartz is offline   Reply With Quote
Advert
Old 08-17-2014, 11:08 AM   #3
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: 30,115
Karma: 57259780
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
There are format icons in the Metadata edit window.

You can use the Tag browser (or hand code a search) to select just books that have a specific format.
theducks is offline   Reply With Quote
Old 08-17-2014, 11:49 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,151
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Here you go: https://github.com/kovidgoyal/calibr...c2caae33505a8e
kovidgoyal is offline   Reply With Quote
Old 08-17-2014, 12:04 PM   #5
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: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Thanks for the fix! Looks great!

@McGonigle

Just update to the next version of calibre and this will be fixed. The formats category will automatically use the format icons which appear in other areas of the calibre GUI.

(Hopefully that will be this Friday, depending on whether or not the Qt5 update is judged stable enough. There is a beta here where Friday's update will show up, otherwise.)
eschwartz is offline   Reply With Quote
Advert
Old 08-17-2014, 12:09 PM   #6
McGonigle
Connoisseur
McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.
 
McGonigle's Avatar
 
Posts: 96
Karma: 1529376
Join Date: Jul 2014
Device: Kobo Aura One, iPad 2018,
Thank you! I'm quite speechless, and also quite clueless I'm afraid. What do I do with the code, where do I put it please?
McGonigle is offline   Reply With Quote
Old 08-17-2014, 12:17 PM   #7
McGonigle
Connoisseur
McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.McGonigle ought to be getting tired of karma fortunes by now.
 
McGonigle's Avatar
 
Posts: 96
Karma: 1529376
Join Date: Jul 2014
Device: Kobo Aura One, iPad 2018,
eschwartz: Thanks for the reply, seems I didn't refresh my browser before asking, or you are perhaps a mindreader.

I'm currently on the version 2 betas so I'll have the fix friday then. Superb! Thank you again Kovid!

McGonigle is offline   Reply With Quote
Old 08-17-2014, 12:19 PM   #8
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: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
If you are really impatient, you can always run calibre from the source code as described here: http://manual.calibre-ebook.com/deve...nt-environment

That's how I got to see it in action already.

Last edited by eschwartz; 08-17-2014 at 12:28 PM.
eschwartz is offline   Reply With Quote
Old 08-17-2014, 05:34 PM   #9
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,772
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
@Kovid - Will this change enable me to add icons for mime types not in C:\Program Files\Calibre2\resources\images\mimetypes to %CALIBRE_CONFIG_DIRECTORY%\resources\images\mimety pes.

I tried doing it without success - eg wmv.png

Only a nice to have, not so much for the formats browser, but the selectors in View, Remove etc.

BR

PS : Anyone know why that mimety pes is happening ?

Last edited by BetterRed; 08-17-2014 at 06:27 PM. Reason: add ps :
BetterRed is offline   Reply With Quote
Old 08-17-2014, 05:40 PM   #10
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: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
When too many letters in one word go into a post, it gets split up randomly, once it makes its way into the page. A not-so-very-well-known error.

One solution (for filepaths which often exceed the mysterious threshold) is to use the [CODE][/CODE] tags, which do not suffer from this.
eschwartz is offline   Reply With Quote
Old 08-17-2014, 05:45 PM   #11
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,772
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
tks - just for the fun of it, I'll leave that one at ninety pies

BR
BetterRed is offline   Reply With Quote
Old 08-17-2014, 05:58 PM   #12
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: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Exploring the change, I have discovered that not only will it not show for new mimetypes, but, if the empty folder "mimetypes" appears in %calibreconfig%/resources/images/ then all mimetype images disappear -- from every part of the GUI.

Adding in an alternative for any default mimetype will cause that to appear as applicable.
eschwartz is offline   Reply With Quote
Old 08-17-2014, 06:18 PM   #13
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,772
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@e..z - Yes, that's what I found too. But if you copy the all supplied mime type images from the install directory to the configuration directory that problem is solved, however any additional mime type images are not recognised. Nor are they recognised if you put them in the (slap on wrist) install directory

As I said its a 'nice to have'

BR
Attached Thumbnails
Click image for larger version

Name:	Clipboard.png
Views:	119
Size:	382.4 KB
ID:	126997  
BetterRed is offline   Reply With Quote
Old 08-17-2014, 11:31 PM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,151
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This should do the trick: https://github.com/kovidgoyal/calibr...cb6f8a4525654d

I haven't tested it, I leave that as an exercise to the reader
kovidgoyal is offline   Reply With Quote
Old 08-17-2014, 11:42 PM   #15
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: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
*Places wmv.png and epub.png in the mimetypes folder. (same image)*

Code:
[eschwartz@arch ~/git/calibre]$ git pull upstream master
[eschwartz@arch ~/git/calibre]$ git log | head -n 5
commit 64d37eae4088de8e88830993a4cb6f8a4525654d
Author: Kovid Goyal <kovid@kovidgoyal.net>
Date:   Mon Aug 18 09:00:03 2014 +0530

    Allow users to add extra mimetype icons by placing appropriately named image files in the resources/mimetypes override directory
[eschwartz@arch ~/git/calibre]$ calibre &
EPUB now has the new image.
WMV does not.
All other formats also do not have their default images.

Last edited by eschwartz; 08-18-2014 at 12:10 AM.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyway to make calibre epub viewer show the same format as device mahal48 Calibre 28 02-02-2014 08:58 PM
Using Kindle format vs ePub format is like using a compiler vs winzip? Julius Caesar Workshop 1 09-01-2013 07:34 PM
iPhone Convert epub format to kindle for iPhone format. Is it possible? thecyberphotog Apple Devices 16 03-14-2013 01:04 AM
No 'epub' format shown in Plugboards Format dropdown list kakkalla Library Management 3 06-16-2012 04:23 AM
Individual settings per eBook format Guido Henkel Calibre 3 02-08-2010 11:09 AM


All times are GMT -4. The time now is 07:13 AM.


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