View Single Post
Old 02-18-2016, 10:39 AM   #65
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,529
Karma: 8075744
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by jackie_w View Post
Content Server always started via GUI.
May not be able to do any testing for a few days. WiFi is down and stuck with trying to type on phone.
I looked over the code and it (mostly) does what I think it should.

Assume that book "Title 1", "Ima Author" is not in CC. Further assume that the path template stored in calibre's wireless device driver is "{title} - {author} CAL". If no options are checked in Settings / file names then connecting to the content server and pulling the book results in the path "Title 1 - Ima Author". If the "Use calibre's file name" is checked then connecting and sending the book results in "Title 1 - Ima Author CAL".

I am changing what happens if "Use CC templates everywhere" is checked, with the goal of making the behavior more consistent. In addition, the "Replace existing book files" option can now be checked only of "Use CC templates everywhere" is checked.

Finally, I am changing the "default" CC template (the one used for cloud and content server downloads if no file name options are checked) to "{title} - {authors} ({id})" to prevent possible name clashes (the reason calibre uses that template).
chaley is offline   Reply With Quote