View Single Post
Old 12-18-2010, 09:36 AM   #6
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by chaley View Post
Thank you for both things. You did guess correctly on the debug log. On that topic, 0.7.34 has an easier way to do it, directly from the gui. Start calibre, then go to the preferences pulldown and select 'restart calibre in debug mode'. Calibre will restart. When next you quit, you will be presented with a window showing the log.
Thanks, I've updated to v7.34 now

Quote:
Originally Posted by chaley View Post
If you wish to play, you can test this. Duplicate your device_db plugboard, using format 'epub' and destination 'PRS505'. Next, resend The Hobbit. If it is sorted correctly, then we have strong evidence that the 650 is getting its info from the OPF in the epub instead of from its DB. Note that the title in the epub's OPF is really changed, so the file can't serve as a backup.
I added this to the plugboard (I didn't delete the device_db:PRS505 one)
Code:
epub:PRS505 = ([{author_sort}] -> authors), ([{series:lookup(\s,#serinit,series)}{series_index:>2s|| - }{title}] -> title), ([{series}{series_index:0>2s|| - }{title}] -> title_sort)
When sorting by Title on the PRS-650 'The Hobbit' still sorts under 'H' not 'T'.

In case it helps, here is the <metadata> section from the epub in my calibre library.
Spoiler:

Code:
   <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
      <dc:title>The Hobbit</dc:title>
      <dc:creator opf:file-as="TOLKIEN, J.R.R." opf:role="aut">J. R. R. Tolkien</dc:creator>
      <dc:publisher>HarperCollins</dc:publisher>
      <dc:date/>
      <dc:subject/>
      <dc:description/>
      <dc:rights/>
      <dc:identifier id="a9780007322602" opf:scheme="ISBN">9780007322602</dc:identifier>
      <dc:language>en-US</dc:language>
      <meta content="cover-image" name="cover"/>
      <meta content="" name="srp-usd"/>
   </metadata>


Now I'll get on with the next test.
jackie_w is offline   Reply With Quote