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

Go Back   MobileRead Forums > E-Book Devices > Sony Portable Reader PRS-500/505 > Reader Troubleshooting

Welcome to the MobileRead Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community today, you will have fewer ads, access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features.

If you have any problems with the registration process or your account login, please contact us.

Hint: Don't have time to visit us daily? Subscribe to our main RSS feed to receive our frontpage posts at your convenience.

Notices

Reader Troubleshooting Hardware- and software-related problems, bugs, solutions

Reply
 
Thread Tools Search this Thread Display Modes
Old 08-16-2008, 04:35 AM   #1
pepak
Addict
pepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enough
 
Posts: 392
Karma: 626
Join Date: Mar 2008
Device: Sony Reader PRS-505
Creating media.xml manually

Does anyone have an insight into how to build the media.xml file in reader memory manually? I can modify the file generated by the reader, but if I make my own file from scratch, it doesn't get used - the Reader simply rereads everything.

Specifically, I am interested in:

1) Which attributes of <xs1:text> need to be present? I hoped I could get by with id, path, title and author, but apparently that is not enough. I added date and size but still the file gets regenerated. The same after adding mime, status and sourceid. What else must I fill in?

2) It seems that id must be in sequential order for <xs1:text> but can contain any value for <xs1laylist> - the reader will change the IDs in playlist to make them sequential again, but they will work, while a <xs1:text> with a non-sequential ID gets deleted and replaced with a new one.

(The difference means that in the case of playlist with non-sequential ID the playlist retains all books while a book with non-sequential ID gets removed from any playlist it is in.)

Is that so?
pepak is offline   Reply With Quote
Old 08-16-2008, 08:44 AM   #2
JSWolf
Mobile Reader Geek
JSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic somethingJSWolf has a certain pleonastic something
 
JSWolf's Avatar
 
Posts: 16,138
Karma: 18503
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-505
BUMP!
__________________
Jon



If you want to listen to really good music while you surf Mobileread, here.
JSWolf is offline   Reply With Quote
Old 11-25-2008, 11:56 PM   #3
jamesjmunro
Member
jamesjmunro began at the beginning.
 
jamesjmunro's Avatar
 
Posts: 10
Karma: 10
Join Date: Oct 2008
Location: Saskatoon, SK
Device: PRS-505
going to bump this again. I'm running into the same problem with the xml being regenerated every time. I thought that I had read that this is something that came up in the last firmware (but I may be wrong), but assuming I'm not, has anyone goten this to work?

Also, even if I do fill in metadata for text files, would the reader even display it?
jamesjmunro is offline   Reply With Quote
Old 11-26-2008, 03:21 AM   #4
pepak
Addict
pepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enough
 
Posts: 392
Karma: 626
Join Date: Mar 2008
Device: Sony Reader PRS-505
Quote:
Originally Posted by jamesjmunro View Post
going to bump this again. I'm running into the same problem with the xml being regenerated every time. I thought that I had read that this is something that came up in the last firmware (but I may be wrong), but assuming I'm not, has anyone goten this to work?
I got rid of the regeneration by formatting the internal memory. Apparently there was some problem with the FAT and/or root directory, format solved that just fine.

As for hand modification, it's just important to remember that:
1) FAT rounds times to two-second precision.
2) Internal memory uses file creation date, SD uses file modification date in its date field.
3) For some reason my times are always shifted exactly one hour back. Don't know why.

I got rid of all the manual work by writing a small command line utility to do it for me.
http://www.mobileread.com/forums/showthread.php?t=29217

Quote:
Also, even if I do fill in metadata for text files, would the reader even display it?
Yes. Until you change the underlying file, which forces regeneration of metadata, the metadata from the XML file are used.
pepak is offline   Reply With Quote
Old 11-28-2008, 11:11 AM   #5
jamesjmunro
Member
jamesjmunro began at the beginning.
 
jamesjmunro's Avatar
 
Posts: 10
Karma: 10
Join Date: Oct 2008
Location: Saskatoon, SK
Device: PRS-505
Thanks for popping in pepak,

So reformatting the internal memory also kept it from rewriting the media.xml on the SD?
jamesjmunro is offline   Reply With Quote
Old 11-28-2008, 11:26 AM   #6
pepak
Addict
pepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enoughpepak will become famous soon enough
 
Posts: 392
Karma: 626
Join Date: Mar 2008
Device: Sony Reader PRS-505
My Reader kept recreating media.xml in the internal memory, the SD card's media.xml was fine. But maybe if you reformat your SD card, you will solve your problem, much like I solved mine by formatting the internal memory.
pepak is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre keeps saying database of books is corrupted. Media.xml file seajewel Calibre 3 07-07-2009 08:19 PM
Ebook Library refusing to load on screen when new media.xml file required seajewel Calibre 0 06-29-2008 08:46 PM
Cooper blog: News media is lost about digital media, too Steve Jordan Deals, Freebies, and Resources 0 11-05-2007 11:06 AM
Available XML commands johnmcelfresh Reader PRS-500 Dev Corner 0 08-18-2007 02:55 PM
XML error KZouwin Sunrise 7 02-13-2005 02:26 PM


All times are GMT -4. The time now is 01:21 PM.


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