Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-21-2020, 08:36 AM   #916
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,013
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by davidfor View Post
To me that is very deliberate. The purpose of that type of list is to be able to see what books are on the device when it is not actually connected.
The existing behaviour could be done just by having the pulldown set to add/remove rather than add only.

This looks like a bug to me -- if you're going to ignore the option in the pulldown, then grey out the pulldown like is done for the next section. The surprising behavior is to ignore the pulldown.

I was hoping to have it add tags when a book is seen on the device, but let me manually remove the tag (or delete the book from calibre) if the book is removed from the device. With it forcing this behaviour, I have to manually add a separate tag to every book that is added so I can tell when it has been deleted.
compurandom is offline   Reply With Quote
Old 09-21-2020, 10:21 AM   #917
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by compurandom View Post
The existing behaviour could be done just by having the pulldown set to add/remove rather than add only.

This looks like a bug to me -- if you're going to ignore the option in the pulldown, then grey out the pulldown like is done for the next section. The surprising behavior is to ignore the pulldown.
All those things could be done. But, I was basing my comments on my understanding of how the plugin works, plus the code that @JimmXinu posted. That code is very deliberate. And it uses a parameter to a method that is not used anywhere except in those lines. In fact, it looks like the parameter was added specifically for this.

But, overall, it doesn't worry me that much. I don't use that type of list. The fact that it changes the modified date every time the device is connected drove me nuts when I did use it.
davidfor is offline   Reply With Quote
Old 09-21-2020, 01:35 PM   #918
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,798
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by davidfor View Post
All those things could be done. But, I was basing my comments on my understanding of how the plugin works, plus the code that @JimmXinu posted. That code is very deliberate. And it uses a parameter to a method that is not used anywhere except in those lines. In fact, it looks like the parameter was added specifically for this.

But, overall, it doesn't worry me that much. I don't use that type of list. The fact that it changes the modified date every time the device is connected drove me nuts when I did use it.
I use this type of list. But I only have a Y/N column. All I want to see is what's on my H2O. I see no need to see when it was put on the H2O.
JSWolf is offline   Reply With Quote
Old 09-21-2020, 02:27 PM   #919
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
@compurandom's interpretation seems to me to be most technically accurate, if you take the time to think about it deeply. (OTOH, I also suspect that compurandom may be the only user in the world who wants it to work that way.)

I also don't want to deal with the inevitable users who fiddled that 'modify type' setting and left it on something other than 'add or remove' and suddenly don't get the behavior they had before.

RL already had a migrate_library_config_if_required() method built-in. The most logical thing to do may be to use that to force-change all pre-existing pop-from-device lists to 'add or remove' to match prior behavior and then honor the modify action setting.
JimmXinu is offline   Reply With Quote
Old 09-22-2020, 12:12 PM   #920
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Attached

- Honor modify action setting on device pop lists.
- Force pre-existing lists to TAGADDREMOVE to match prior behavior.
- Disable series labels too when series settings disabled.

This seems to me to be the best compromise. But then, I don't use device populated lists for anything.

Last edited by JimmXinu; 10-09-2020 at 12:25 PM. Reason: Remove obsolete test version
JimmXinu is offline   Reply With Quote
Old 10-07-2020, 08:35 PM   #921
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,035
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I use the Reading List series column feature (mostly for column icon and sorting purposes).

To test some FFF metadata settings and search & replaces I duplicated a few books. Some of them had populated series column. I removed the books when I was done. I just remembered that editing that column directly shouldn't be done though. I'm not sure if duplicating books counts.

Is there a way to check that I didn't break anything? Reading List > View list shows all the books are on the list.


EDIT: Also, I set a keyboard shortcut to add a book to the reading list. However every time I use it it refreshes the tag browser (e.g. if I have selected things in it the pluses and minuses go away, and also temporarily glitches the Job Spy user category icons). Is that supposed to happen?

Last edited by ownedbycats; 10-07-2020 at 10:02 PM.
ownedbycats is online now   Reply With Quote
Old 10-08-2020, 12:02 AM   #922
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,798
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by JimmXinu View Post
New Test Version Attached

- Honor modify action setting on device pop lists.
- Force pre-existing lists to TAGADDREMOVE to match prior behavior.
- Disable series labels too when series settings disabled.

This seems to me to be the best compromise. But then, I don't use device populated lists for anything.
Is this ready for release?
JSWolf is offline   Reply With Quote
Old 10-08-2020, 09:17 AM   #923
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Is there a way to check that I didn't break anything? Reading List > View list shows all the books are on the list.
I'm not sure what there might be to break. The worst that can happen is your series common doesn't reflect the list. Reading the code, I think when you next change the list, RL will basically reset the series to be the list again.

I would suggest, that instead of asking, it would be quicker and more accurate in most cases to setup a test case and try things out to see what happens when you have specific behavior questions.

Quote:
Originally Posted by ownedbycats View Post
EDIT: Also, I set a keyboard shortcut to add a book to the reading list. However every time I use it it refreshes the tag browser (e.g. if I have selected things in it the pluses and minuses go away, and also temporarily glitches the Job Spy user category icons). Is that supposed to happen?
As far as I know, RL calls the appropriate Calibre methods to alert Calibre about which book ids have been changed and whether tags need to be recounted due to changes. RL calls gui.tags_view.recount(), but only when tags change, and gui.library_view.model().refresh_ids(<changed_id>) for any books with changes.

What Calibre and other plugins do with it is outside Reading List's control.

Quote:
Originally Posted by JSWolf View Post
Is this ready for release?
I don't know--there's been no feedback either for or against the change. I suppose we can call 10 downloads with no complaints implicit positive feedback?
JimmXinu is offline   Reply With Quote
Old 10-08-2020, 01:08 PM   #924
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,013
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by JimmXinu View Post
I don't know--there's been no feedback either for or against the change. I suppose we can call 10 downloads with no complaints implicit positive feedback?
Guilty.

Tested it just now. Ran it through all the features I use, seems to work.

The autopopulate from list / update column feature now updates the old preference correctly, keeps the value when changed, and does what it says it does now.

Thanks!
compurandom is offline   Reply With Quote
Old 10-08-2020, 02:23 PM   #925
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I'll try to test it (4.23), as I only use it for sending books to device.
Terisa de morgan is offline   Reply With Quote
Old 10-09-2020, 12:22 PM   #926
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Version Released

Version 1.6.15 - 09 Oct 2020
- Honor modify action setting on device pop lists.
- Force pre-existing lists to TAGADDREMOVE to match prior behavior.
- Disable series labels too when series settings disabled.

Thanks for the feedback, everybody.
JimmXinu is offline   Reply With Quote
Old 10-10-2020, 05:32 AM   #927
nikoski
Zealot
nikoski began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Feb 2014
Device: none
I've read the following quoted answer but do not see a "driveinfo.calibre" on my following device: xiaomi mi9, android 10

When i connect it to calibre by CC it shows in calibre as connected.
But in readinglist i cannot add it because the add button is grey.

Also my other android 10 devices do not appear as connected in the status field of the readinglist although they are already added there.

What could be the issue?


Quote:
Originally Posted by davidfor View Post
When you click the add device in the devices tab, it stores details of the device at that. That includes whatever name calibre has given it. You can also set the name and that is used when the plugin sees the device.

When calibre sees a device, it creates the file driveinfo.calibre in the root of the device. This includes an identifier that calibre generates. This identifier is what the plugin uses to id the device when it is connected.

When you got the new device, did you copy any files over from the old one? If you copied the driveinfo.calibre over, then calibre will use device id in it for both devices. And the Reading List plugin will consider them to be the same device.

If this is what you have done, delete the driveinfo.calibre from one of the devices while calibre isn't running, and then run calibre. It will regenerate the file and should generate a new id. Then you can add the device in the plugins config and use it.
nikoski is offline   Reply With Quote
Old 10-10-2020, 06:42 AM   #928
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by nikoski View Post
I've read the following quoted answer but do not see a "driveinfo.calibre" on my following device: xiaomi mi9, android 10

When i connect it to calibre by CC it shows in calibre as connected.
But in readinglist i cannot add it because the add button is grey.

Also my other android 10 devices do not appear as connected in the status field of the readinglist although they are already added there.

What could be the issue?
What you quoted was talking about devices connected as USBMSD devices. If you are using CalibreCompanion, it is connecting to calibre in a different way. And I have no idea how that works. I don't know if it is seen as a device in a way that the Reading List can handle.
davidfor is offline   Reply With Quote
Old 10-10-2020, 07:34 AM   #929
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by davidfor View Post
If you are using CalibreCompanion, it is connecting to calibre in a different way. And I have no idea how that works. I don't know if it is seen as a device in a way that the Reading List can handle.
The wireless device driver implements the standard device interface, and in particular the driveinfo stuff. It depends on the client (CC, koreader, etc) to store the UUID and give it back when requested. Reading List sees CC connections/devices.
chaley is offline   Reply With Quote
Old 10-10-2020, 07:36 AM   #930
nikoski
Zealot
nikoski began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Feb 2014
Device: none
Quote:
Originally Posted by davidfor View Post
What you quoted was talking about devices connected as USBMSD devices. If you are using CalibreCompanion, it is connecting to calibre in a different way. And I have no idea how that works. I don't know if it is seen as a device in a way that the Reading List can handle.
With CC i connect by WiFi and it's been working very well with readinglist for some years already, it sends books to my devices as expected.

But now i wanted to edit a bit the plugin settings and noticed that my devices are not shown as connected and i cannot add the new one.

Last edited by nikoski; 10-10-2020 at 07:39 AM.
nikoski is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Extract ISBN kiwidude Plugins 548 03-04-2025 10:43 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Manage Sony x50 Reader Book List kpw Plugins 170 10-02-2014 08:23 PM
[GUI Plugin] Temp Marker kiwidude Plugins 41 10-14-2013 12:25 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 10:07 PM.


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