View Single Post
Old 12-05-2011, 06:50 AM   #4
burbleburble
Connoisseur
burbleburble began at the beginning.
 
Posts: 52
Karma: 38
Join Date: Jun 2011
Device: Kindle 3
dwanthny:
Apologies. I just read the forum title 'Development' and assumed it was totally self explanatory.

kovidgoyal:
  1. 'using relative paths is unsafe': Excuse my ignorance, but why?
  2. 'Relative to what': To calibre's portable executable. Works for me, I do it all the time; but as stated, I get a very cluttered library menu. It keeps the reference by relative path, but creates a double reference by full path, thus I end up with 2+ menu options for accessing the same library.
  3. 'And how do you ensure there are not duplicates': Well, they're all starting from the same point, the calibre-portable executable. os.path does contain methods for checking if two paths are equivalent, even relative ones.
  4. 'You can use the calibre-portable.bat file...starts with': Thats part of the issue. 'starts with'. But lets say I maintain different libraries for different family members and their widely varied interests/ebook-devices. It is far easier to use different libraries than a mixture of tags and formats in one. So I need to switch between them.
burbleburble is offline   Reply With Quote