shaefurr 1337 Posted November 20, 2013 Share Posted November 20, 2013 (edited) My problem was that I love using the MB android app for browsing my ebooks, but since they are grouped by Author\Booktitle, none of the authors show a poster, what I wanted was a way to inherit a cover from one of the books, and copy it to the author folder so I could at least have one of the books covers for every author. So after struggling with this situation myself I made a .bat file to make this simple, What is it? its a menu based batch file, that allows you to do the following 1. Rename all the book covers to folder.jpg for MB to easily read. 2. Rename all the metadata files to metadata.opf for MB to easily read. 3. Copy a folder.jpg from a book folder, up to the Author folder so while browsing books in MB, the author will have a poster. 4. It also has a test mode that will allow you to see what files will be renamed/copied before making any changes to your ebook files. What kind of folder structure should you have? Here's an example (though not required in this exact naming scheme, but you need to have the format Rootfolder/Subfolder/Bookfolder for this to work without any side-effects) Books \ Author \ Booktitle \ folder.jpg metadata.opf ebook.epub Booktitle2 \ folder.jpg metadata.opf ebook.epub Download: http://www.mediafire.com/?zgy9la2xeapb44r To run this, put the .bat in your root ebook folder - "Books" in the example above, and double click to run it. Edited November 20, 2013 by shaefurr 5 Link to comment Share on other sites More sharing options...
Redshirt 1487 Posted November 20, 2013 Share Posted November 20, 2013 Nice work! It's a shame calibre forces a directory structure that it seems a lot of users don't want. 1 Link to comment Share on other sites More sharing options...
shaefurr 1337 Posted November 20, 2013 Author Share Posted November 20, 2013 Nice work! It's a shame calibre forces a directory structure that it seems a lot of users don't want. Ha yeah no kidding, calibre is great in its own way, but the metadata management for ebooks is no where near what it is for movies/tv Link to comment Share on other sites More sharing options...
shaefurr 1337 Posted November 20, 2013 Author Share Posted November 20, 2013 As a note, right now in test mode it just outputs the results to the window, if anyone wants the full list I can change it to output to a log. Link to comment Share on other sites More sharing options...
wpbpete 2 Posted November 20, 2013 Share Posted November 20, 2013 Ha yeah no kidding, calibre is great in its own way, but the metadata management for ebooks is no where near what it is for movies/tv You Got Skillzzzz It's Perfect, ty 1 Link to comment Share on other sites More sharing options...
Jasoon 9 Posted November 27, 2013 Share Posted November 27, 2013 Just used your app shaefurr was just what I was looking for Link to comment Share on other sites More sharing options...
shaefurr 1337 Posted November 27, 2013 Author Share Posted November 27, 2013 Glad it helped Sent from my XT907 using Tapatalk Link to comment Share on other sites More sharing options...
Jasoon 9 Posted March 8, 2014 Share Posted March 8, 2014 shaefurr, still using you app and I still think its gr8.... Can you possibly put a option in to rename all the book covers to folder.jpg for MB to easily read and keep the original cover file. I love using MB Books but I also use calibre so I tend to find I have to go back and re-do all the cover art, just wondering if adding the above would be possible?? Link to comment Share on other sites More sharing options...
shaefurr 1337 Posted March 28, 2014 Author Share Posted March 28, 2014 shaefurr, still using you app and I still think its gr8.... Can you possibly put a option in to rename all the book covers to folder.jpg for MB to easily read and keep the original cover file. I love using MB Books but I also use calibre so I tend to find I have to go back and re-do all the cover art, just wondering if adding the above would be possible?? Wow sorry never got a notification for this thread. Anyway I hacked this together in like 10 minutes, its messy but I tested it and it seems to work fine. Copy the ebook-bot.bat and the getbkfolder.exe from the zip to the root of your ebooks, then run as usual and choose option A. It will ask you for a temporary folder to use to save the original covers, then it will rename them as usual, then it will add the originals from the backup folder. So you'll end up with each book having a folder.jpg and the original cover from Calibre or what not. Sorry I meant to add something to remove the temporary directory afterwards, just delete it when you're done running the .bat I'll get it working better when I have more time. Download: https://www.mediafire.com/?75mw14vjv3uboev Link to comment Share on other sites More sharing options...
Jasoon 9 Posted March 31, 2014 Share Posted March 31, 2014 Cool thanks for that giving it a go now.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now