08-13-2012, 12:22 AM | #1 |
Junior Member
Posts: 2
Karma: 1234
Join Date: Aug 2012
Device: Nexus 7, Nook
|
apostrophes in folder names breaks Nook app for Android
Hi folks - I think this is not news to many of you, but when you move folders containing apostrophes in the name into your MyDocuments on Android, the Nook app will show duplicate covers (sometimes dozens of duplicates).
If you edit the folders so that there are no apostrophes, this problem goes away. It is only the folder names, not the file names themselves. This is a bug in the Nook app for Android, but I would like to find a solution in Calibre. I've been using Calibre for a long time, but I am by no means a power user or expert. I am looking at save to disk templates, etc., but I don't see a way to have Calibre NOT use apostrophes either in its own directories, or in the Save to Disk directories. Is there a way to tell Calibre to ignore or use a different character in folders when saving to disk? PS Kovid I love Calibre, thanks for your hard work! |
08-13-2012, 08:23 PM | #2 |
Junior Member
Posts: 2
Karma: 1234
Join Date: Aug 2012
Device: Nexus 7, Nook
|
I found the template function re(arg1,arg2) and i think this is the one I need, but I'm not sure how to build a python compliant regular expression to replace an apostrophe with "nothing". Any pointers are appreciated!
edit: found it. use the following in your save to disk template to remove apostrophes from the file and folder names of your books: {author_sort:re(',)}/{title:re(',)}/{title:re(',)} - {authors:re(',)} This will prevent you from getting the nook app bug in Android. Good luck! Last edited by whooleeo; 08-13-2012 at 08:58 PM. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sony Reader Android App/ Nook Android App | Quelle | Android Developer's Corner | 3 | 11-11-2011 11:31 PM |
copy epubs to Nook app folder | jviola | Barnes & Noble NOOK | 4 | 08-20-2011 11:58 AM |
Nook app for Android | PG4003 | Android Devices | 31 | 06-25-2011 03:03 AM |
Nook app for Android | PG4003 | Barnes & Noble NOOK | 2 | 06-12-2011 08:43 AM |
Kobo reader cannot parse html file names with space/apostrophes. Can calibre fix this | Bismar | Calibre | 1 | 05-20-2010 01:12 PM |