Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-09-2008, 12:58 PM   #1
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 601
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
Forcing the Reader to update title/author

Is there some way to force a Reader to update its title/author data for a book while retaining everything else (especially the id)? All methods that I know lead to a generation of new id:

- modify the book file's creation date and/or size and/or filename
- delete the book's record from the cache XML
- modify date/size/name of the book's record in the cache XML

(I have written a tool which generates collections, but I can't set title and author - except maybe by decoding them from each particular file, which I don't want to do - I would have to write a parser for each filetype, for one thing...)
pepak is offline   Reply With Quote
Old 09-09-2008, 01:44 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Set the title and author directly in the XML database.
kovidgoyal is offline   Reply With Quote
Old 09-10-2008, 02:06 AM   #3
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 601
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
That's what I would rather avoid, because
Quote:
Originally Posted by pepak
I would have to write a parser for each filetype, for one thing...
pepak is offline   Reply With Quote
Old 09-10-2008, 02:23 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Then the answer is no. I thought you meant you wanted to change the collection information for books already on the reader.
kovidgoyal is offline   Reply With Quote
Old 09-10-2008, 02:54 AM   #5
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 601
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
Updating the collection information for books that are on the Reader is easy and my application does that. It's just that with my usual "modus operandi", it means plugging the Reader in, uploading a book, unplugging the Reader (so that it creates the metadata), replugging it, running my application, unplugging. I was hoping for a way that would avoid the unplug-replug, but I am certainly not going to write a parser for all supported ebook formats just to achieve it.
pepak is offline   Reply With Quote
Old 09-10-2008, 03:09 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Why dont you just use the commandline metadata parsers in calibre?
kovidgoyal is offline   Reply With Quote
Old 09-10-2008, 06:31 AM   #7
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 601
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
Because I didn't realize they are there :-)

Btw., it would be quite useful if their output was standardized. E.g. LRF-META will output:
Code:
Title: An Awesome Book
While PDF-META will output:
Code:
Title    : An Awesome Book
Of course I can parse it easily enough, so no big deal, just a tiny little annoyance :-)

I'll see about adding these calls to my utility and if it works, see about updating it into a releasable state.
pepak is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
author/title switched in calibre's reader view tlc Calibre 0 01-28-2010 11:56 PM
Changing from Title-Author to Author - Title Amalthia Calibre 15 09-22-2008 09:41 PM
Rename title/author in Reader software possible? jasonrak Sony Reader 1 12-02-2007 12:11 PM
how to embed title and author gteague Amazon Kindle 3 11-26-2007 10:45 AM
Getting Title & Author Displayed by Connect Reader and Sony Reader Vienna01 Sony Reader 3 11-07-2006 01:56 AM


All times are GMT -4. The time now is 04:44 PM.


MobileRead.com is a privately owned, operated and funded community.