Quote:
Originally Posted by kaufman
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.