I'm sorry for not being specific enough.
My library contains two types of books:
1- epubs that have kepub versions created with kepubify
2- PDF documents
PDFs aside, I'd like that when I send a specific format, let's say epubs, they go to a hidden folder for use with KOReader, and when I send another format, kepub, they go to a regular books directory for use with nickel.
This is so I can have different “libraries” for me and my wife on the same device.
Using 'KEPUB' or 'kepub' makes no difference.
If I use an elif instead of else the resulting file names are just the id number and the file extension, put in the device root. If not it's always the else clause that is used. The test is always false.
If the dot always gets turned into an underscore then I don't think I can hide epubs from nickel.
|