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 12-31-2017, 05:11 AM   #1
stegro
Junior Member
stegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipedia
 
Posts: 7
Karma: 47050
Join Date: Dec 2017
Device: Sony PRS-T2
Arrow script to generate collections

Hello everyone,

I have written a little Python script for myself and I thought I'd share it, maybe it is useful for someone.
https://github.com/stegro/sony-prst2-tools

This rather short script generates collections based on the folder structure below the books folder, by putting some entries into the sqlite database files.
See the usage message and README.md .

Since I only have a PRS-T2, I cannot test with any other devices. You are welcome to let me know, if it happens to work with anything else.

have fun
stegro is offline   Reply With Quote
Old 01-02-2018, 08:29 PM   #2
gingerbeardman
Zealot
gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.
 
gingerbeardman's Avatar
 
Posts: 108
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
Cool!

Can you add some screenshots to help illustrate how to lay out the Folders and the resulting collections on the Reader?
gingerbeardman is offline   Reply With Quote
Advert
Old 01-03-2018, 04:23 PM   #3
stegro
Junior Member
stegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipedia
 
Posts: 7
Karma: 47050
Join Date: Dec 2017
Device: Sony PRS-T2
sure, I added an example to the readme on github!
stegro is offline   Reply With Quote
Old 01-03-2018, 07:22 PM   #4
gingerbeardman
Zealot
gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.
 
gingerbeardman's Avatar
 
Posts: 108
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
Great, looks useful!
gingerbeardman is offline   Reply With Quote
Old 01-04-2018, 06:15 AM   #5
stegro
Junior Member
stegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipedia
 
Posts: 7
Karma: 47050
Join Date: Dec 2017
Device: Sony PRS-T2
you're welcome. Thanks to Sony using standard open software without obscuring things (it seems to me), making up for that missing feature is a fairly simple thing (and was probably done by others, too).

Thanks for the star
stegro is offline   Reply With Quote
Advert
Old 01-04-2018, 07:39 PM   #6
rcentros
eReader Wrangler
rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.
 
rcentros's Avatar
 
Posts: 3,992
Karma: 20139680
Join Date: Mar 2013
Location: Boise, ID
Device: Nooks, Kindles, Sonys, Kobos, Tolinos and others.
Quote:
Originally Posted by stegro View Post
This rather short script generates collections based on the folder structure below the books folder, by putting some entries into the sqlite database files.
Please excuse my nearly complete ignorance of all things Sony Reader, but does this require a "jailbroken" T2?

I can see where this could be extremely useful.
rcentros is offline   Reply With Quote
Old 01-04-2018, 09:31 PM   #7
rcentros
eReader Wrangler
rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.
 
rcentros's Avatar
 
Posts: 3,992
Karma: 20139680
Join Date: Mar 2013
Location: Boise, ID
Device: Nooks, Kindles, Sonys, Kobos, Tolinos and others.
Quote:
Originally Posted by stegro View Post
Thanks for the star
I'm just starting to learn about this "karma button." For so many folks I've should have used this.
rcentros is offline   Reply With Quote
Old 01-05-2018, 02:54 AM   #8
stegro
Junior Member
stegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipediastegro knows more than wikipedia
 
Posts: 7
Karma: 47050
Join Date: Dec 2017
Device: Sony PRS-T2
No, no rooting/jailbreaking needed. I use it on an a PRS-T2 with original firmware version 1.0.03, but I suppose it does not matter which one.

Last edited by stegro; 01-05-2018 at 03:11 AM.
stegro is offline   Reply With Quote
Old 01-05-2018, 03:58 AM   #9
rcentros
eReader Wrangler
rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.
 
rcentros's Avatar
 
Posts: 3,992
Karma: 20139680
Join Date: Mar 2013
Location: Boise, ID
Device: Nooks, Kindles, Sonys, Kobos, Tolinos and others.
Quote:
Originally Posted by stegro View Post
No, no rooting/jailbreaking needed. I use it on an a PRS-T2 with original firmware version 1.0.03, but I suppose it does not matter which one.
Okay. Thank you. Once I get my books "collected" the way I like them on the computer, I'll try this script. Looks very useful.

Again, thanks!
rcentros 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
Kindle Collections Manager & LibrarianSync blank collections picree Library Management 2 08-15-2016 07:49 PM
Generate cover Schaapje82 Calibre 13 09-05-2010 12:02 PM
Script to generate thumbnails Jellby Bookeen 0 01-02-2010 11:51 AM
Script to Generate Stanza Online Catalog for your Iphone/Touch RoninTech Calibre 117 09-05-2009 12:45 AM
Python script to create collections gwynevans Sony Reader Dev Corner 2 03-13-2008 12:29 PM


All times are GMT -4. The time now is 01:39 AM.


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