View Single Post
Old 10-06-2011, 11:20 AM   #10
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,362
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by fekhner View Post
This brings me to another question, if I may. The default driver for my second device (Irex DR800) puts the books in the correct directory, but the news are still in a subfolder of this directory. What are my options to solve this as well?

1) Can I define a second "user defined device" co-existing with the first ?
No.
Quote:
2) I tried your code above for the default Irex DR00 driver by indicating a relative path for the news directory, I naively tried
"in_list($, ',', '^news$', '../News', '') but it does not seem to work.
The file path normalizer strips relative moves.

I can't see any way to make the standard driver not put news in a subdirectory. You could run from source and modify the plugin, adding
NEWS_IN_FOLDER = False
to the Irex 800 driver.

Perhaps someone else will have a solution.
chaley is offline   Reply With Quote