This sounds very useful. Please include the progam as an attachment (e.g. in a .zip since .py isn't allowed). This will also allow you to keep the most recent version in the 1st post.
Note that mobi2oeb.py from Calibre is a python script that does some of what you are using mobi2mobi for. I'm not sure it is useful in its current form (since it explodes the entire mobi, and you just need the metadata and the cover image), but you might be able to extract out the bits you need. I assume it is also possible to invoke mobi2mobi.pl on other machine types from Python, but at a minimum that requires Perl.
Has anyone tried creating subdirectories inside the Mobipocket directory under Windows and on the iLiad? I always assumed that the reason the iLiad treated the Mobipocket directory differently to all other directories (i.e. not creating one subdirectory per ebook) is that Windows Desktop Reader can't handle subdirectories. But perhaps if subdirectories exist they are ok (it is just that MobiPocket won't create them). My point here is that perhaps this tool can be used in the Windows Mobipocket directory, but this needs confirmation one way or the other.
|