11-13-2020, 09:13 AM | #1 | |
Junior Member
Posts: 8
Karma: 55662
Join Date: Nov 2020
Device: PocketBook Touch Lux 4
|
PocketBook Collection Manager
Hello, everyone.
I use PocketBook reader and tend to move books between collections a lot, but I found out doing it from the device itself is not very comfortable. So I made an app to manage them from the computer. I though someone here may be interested in it too. I'm very new to coding, so any criticism will be appreciated. I only tested it on my device, which is Pocketbook 627 (Touch Lux 4). I also heven't figured yet how to package it for something other then Windows. I'll probably get here later. Sorry, if my English is bad. Quote:
|
|
11-14-2020, 04:43 AM | #2 |
Enthusiast
Posts: 33
Karma: 20
Join Date: Apr 2011
Location: Belgium
Device: Pocketbook HD3 (PB632)
|
Thank you
Your app also works on my PB632 - Touch HD3. I just downloaded and ran it, so I know it works. I will play a little more soon and give feedback here. |
Advert | |
|
11-24-2020, 05:56 AM | #3 |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Nice idea, thank you, should probably be moved to:
https://www.mobileread.com/forums/fo...play.php?f=232 |
11-24-2020, 09:15 AM | #4 |
Resident Curmudgeon
Posts: 76,487
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Would it be possible for this to be rewritten as a Calibre plugin?
|
11-24-2020, 10:10 AM | #5 |
Enthusiast
Posts: 33
Karma: 20
Join Date: Apr 2011
Location: Belgium
Device: Pocketbook HD3 (PB632)
|
|
Advert | |
|
11-24-2020, 11:05 AM | #6 | |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Tried it though I normally don't use collections just series.
Here some hopefully constructive feedback: 1) First start, my firewall reported that it was trying to connect to some google adress, is this necessary? 2) My system language is neither English nor Russian, so I landed in the Russisan interface with the Russian database opening error messages, changing the text in locale.txt from ru to en solved that. 3) I was a little confused about the interface. Tried adding a new shelf but nothing happened. Filtering by tag, name and series worked though series has some strange selection entries upfront: Quote:
5) I found no possibility to change the series entry, I guess till now this app is only working with shelfs. 6) After disconnecting the device from the computer, I got a blank screen, which didn't go away. Had to force the device to switch off before the Main Screen was visible again. 7) After creating one shelf on my pocketbook, suddenly creating new shelfs worked in the app. But something strange happened: I filtered per author, selected all books (via the "select all books" button) and selected add to shelf, assuming that all the books in the filtered selection will be added to the shelf. Strange enough not only the filtered but all my books were added to the shelf. If the books were manually selected, only those were added to the shelf. But still I think what I wrote on 4) should be applied. All the shelf changes I made with this app were available after a restart (see 6) on the device! My devices PB 740 (InkPad 3 FW 6.1.1069) & win7 64bit. All in all in my opinion a very useful app which only needs some corrections. Thank you. Last edited by nhedgehog; 11-24-2020 at 11:09 AM. |
|
11-24-2020, 06:04 PM | #7 |
Connoisseur
Posts: 58
Karma: 192
Join Date: Mar 2009
Location: Cologne area, Germany
Device: Pocketbook Touch HD3 (+ an old Hanlin V3)
|
Very nice. I recently tried to use collections on my HD3 but quickly gave up as it was too cumbersome sorting the books on the reader. Now it took me only a few minutes. Thanks a lot for this tool.
I found none of the issues reported above or any other for that matter. I didn't really understand what cross, tick mark and the hearts are good for. Can you please explain? |
11-26-2020, 08:43 PM | #8 | ||||||
Junior Member
Posts: 8
Karma: 55662
Join Date: Nov 2020
Device: PocketBook Touch Lux 4
|
Quote:
Quote:
Quote:
Well, that's confusing. Definitely didn't come from my code. Probably has something to do with the database. What happens if you select these entries? Quote:
Quote:
Quote:
You can add books to favorite/delete from favorite clicking on heart symbols. You also can mark/unmark them as finished. That was what symbols near the books and on the bottom when selected are for. Buttons on the top allow you to filter books by favorite/not favorite/completed/not completed. |
||||||
11-28-2020, 04:10 PM | #9 |
Junior Member
Posts: 8
Karma: 55662
Join Date: Nov 2020
Device: PocketBook Touch Lux 4
|
I added a couple of new options. Now it is possible to add new shelf directly from shelf selection windows. Also now you can exclude tags in tag filter.
|
11-28-2020, 05:33 PM | #10 | |
Resident Curmudgeon
Posts: 76,487
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
11-28-2020, 07:14 PM | #11 |
Junior Member
Posts: 8
Karma: 55662
Join Date: Nov 2020
Device: PocketBook Touch Lux 4
|
Well, I guess, you can do the same thing with Python, as in manipulating shelves. All information about shelves is stored in sqlite database at device/system/explorer-3/explorer-3.db, so any code that can work with sqlite will do. So if someone know Python, they can write a plugin. I'm just saying, you hardly can rewrite my app into this plugin. Outside of a few sqlite querries, it's nothing in it's code that can be used with Calibre.
|
11-29-2020, 08:08 AM | #12 | |
Resident Curmudgeon
Posts: 76,487
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
11-29-2020, 09:01 AM | #13 |
Junior Member
Posts: 8
Karma: 55662
Join Date: Nov 2020
Device: PocketBook Touch Lux 4
|
Yeah, I think, but that's an easy part. One just need to grab some data from DB and then put some other data back to DB. If someone is interested, all DB-related code is in this file: https://github.com/anareaty/PocketBo...pp/js/async.js . Everythin else is just a GUI.
Basically the DB has several tables. Most of books info is in the "books_impl" table including title, author, etc. and unique book ids. Shelfs info is in "bookshelfs" table, there are shelf names and shelf ids. And "bookshelfs_books" table holds information of assotiations between book ids and shelfs ids. We add or delete rows from the last table - we move books between shelves. For the most part it's all. |
12-10-2020, 06:01 AM | #14 |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
PocketBook Collection Manager - issues
Hi Reaty, thanks for the update and sorry for the late feedback!
I use my points from before, I updated the app to the actual version: 1) (Strange internet access) Has not happened again, don't know what went wrong. 2) (Russian menu) You changed that, thanks! 3) (Strang tags) Must be some tags in some books of mine which were shown if selected, not Your fault, I didn't realize that before, sorry. 4) (New shelve) You implemented that, thanks, that helps. 7) (Wrong selection) Couldn't reproduce that with the new version, seems to be working fine 6) (Blank screen after USB disconnect) Yes a blank screen on the device which will not go away, regardless which buttons are pressed. Need a restart to use the device again. Device IP3 (PB740), FW Version 6.1.1229 So only point 6) remains. I guess this is a problem of the PB firmware, which You can't solve but which the users should be aware of. Thanks for Your effort this is really helpful. |
12-16-2020, 04:14 AM | #15 |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Not sure if this is a bug or a feature:
If no author is defined in a book PB Collection Manager adds as author: Автор Неисвестен (Author Unknown) |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Firmware Update Collection Manager, anyone interested | noxin | Amazon Kindle | 45 | 09-08-2011 06:21 PM |
collection manager | Lordblacknail | Amazon Kindle | 10 | 06-04-2011 06:59 PM |
collection manager | Lordblacknail | Sony Reader | 2 | 05-04-2011 02:01 AM |
collection manager | Lordblacknail | Barnes & Noble NOOK | 1 | 05-04-2011 01:54 AM |
D&D Manager Collection | Bandicoot | Sony Reader | 0 | 09-19-2008 02:02 PM |