View Single Post
Old 08-19-2014, 04:55 AM   #18
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,836
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
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
Quote:
Originally Posted by eschwartz View Post
*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.
Quote:
Originally Posted by kovidgoyal View Post
Forgot to ad dthe keys to the icons dict, should work now.
Quote:
Originally Posted by eschwartz View Post
Working perfectly now!
- they slipped under the radar, now I'll have to find 128² pngs for my other foreign types.

Thanks guys

BR
BetterRed is offline   Reply With Quote