View Single Post
Old 08-16-2014, 03:53 AM   #167
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,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kaufman View Post
Is this filename guaranteed to be unique? What happens when two books have the same title? Is it the user's responsibility to enforce uniqueness?

(this is an academic question, not something I am actually concerned about.)
Same filename == same book. And yes, it is the user's responsibility to ensure uniqueness. However, the default template is "{title} - {author} ({id})". This is guaranteed to be unique in a single library because ids are never reused. It is not guaranteed to be unique across libraries, but the chances of all three being the same are minuscule.

It is very possible for a user the change the template to something that collides more often. We have seen cases where someone changed the template to a constant xxxxx (or something) and then wondered why s/he could only put one book on the device.

It is worth noting that the change to use the template requires that the content server have access to the user's gui configuration. That is where the template is stored. If you run a content server on a different machine or with a different default config, you are probably not going to be happy if you changed the wireless device's template. The UUID option avoids these problems.

Last edited by chaley; 08-16-2014 at 03:55 AM.
chaley is offline   Reply With Quote