I've made an update to the script. This will make it so it saves the cover art of the book as cover_B00*******.png (like Kerenon suggested it needed to be for android) if it cannot find the correct ASIN from Amazon. This way you won't have to live with garbage cover art on your mobile devices.
Just put
Code:
mobi2mobi --savecover "cover_$asin1$rand2$rand1.png" "$f"> /dev/null 2>&1
between
Code:
mobi2mobi --outfile "$f" --exthtype 113 --exthdata $asin1$rand2$rand1 "$f"> /dev/null 2>&1
echo "Gave a fake ASIN number to: $title. It's new number is $asin1$rand2$rand1"
If I get ambitious I'll figure out how to make this a calibre plugin.
--EDIT--
For the .bat file:
Put
Code:
C:\Users\m0ngr31\desktop\kindle\mobi2mobi.exe --savecover "cover_!asin1!!asin3!!temp1!.png" "!filename!">null 2>&1
between
Code:
C:\Users\m0ngr31\desktop\kindle\mobi2mobi.exe --outfile "!filename!" --exthtype 113 --exthdata "!asin1!!asin3!!temp1!" "!filename!">null 2>&1
echo Gave a fake ASIN number to: !title1!. It's new number is !asin1!!asin3!!temp1!
I'm guessing that should work, but I didn't test it because I didn't want to reboot. If anyone runs into problems let me know.