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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-16-2022, 03:48 PM   #376
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,419
Karma: 1810960
Join Date: Oct 2010
Location: London, UK
Device: Kindle Oasis, iPad Pro
View Manager v1.10.0 Released

Release Notes:
https://github.com/kiwidude68/calibr...anager-v1.10.0
kiwidude is offline   Reply With Quote
Old 10-18-2022, 01:14 AM   #377
Rellwood
Library Breeder
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 1,086
Karma: 1900141
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
I don't know if this has been asked, but is there some way of being able to get the views from one library into another?

I have one library (main) that has all the best views, but another library I am working with has only a couple. The columns are pretty much the same, but I can't figure out how to do it without copying over one metatadata_pref.json to the other and just resetting the library from the metadata - which ends up a mess.

Any suggestions?
Rellwood is offline   Reply With Quote
Old 10-18-2022, 05:26 AM   #378
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,419
Karma: 1810960
Join Date: Oct 2010
Location: London, UK
Device: Kindle Oasis, iPad Pro
Quote:
Originally Posted by Rellwood View Post
I don't know if this has been asked, but is there some way of being able to get the views from one library into another?

I have one library (main) that has all the best views, but another library I am working with has only a couple. The columns are pretty much the same, but I can't figure out how to do it without copying over one metatadata_pref.json to the other and just resetting the library from the metadata - which ends up a mess.

Any suggestions?
I definitely wouldn’t recommend messing with copying over the entire json file, it will wreck all your other plugin settings. If you were extremely careful you could copy the relevant json section from one to the other but chances are high you screw up with the wrong number of braces or commas unless you are diligent. So you should definitely keep a backup copy you can rollback to if you were to attempt it.

It sounds a reasonable feature request for the plugin. I will put it on the rainy day list to investigate. There are a few wrinkles I’m not sure how I will deal with until I try it - custom columns in a view that don’t exist in the target db, a view already existing with that same name etc. It will need at least one new dialog to pick the library. So not a five minute change…
kiwidude is offline   Reply With Quote
Old 10-18-2022, 05:30 AM   #379
ownedbycats
Wizard
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: 4,981
Karma: 22983948
Join Date: Oct 2018
Location: Canada
Device: Kobo Aura HD (retired), Kobo Libra H2O
Is it possible to copy/paste between Customize View Manager > View Library Preferences? Though ss mentioned in #378, this may result in problems if the db isn't compatible.
ownedbycats is online now   Reply With Quote
Old 10-18-2022, 07:00 AM   #380
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,419
Karma: 1810960
Join Date: Oct 2010
Location: London, UK
Device: Kindle Oasis, iPad Pro
Quote:
Originally Posted by ownedbycats View Post
Is it possible to copy/paste between Customize View Manager > View Library Preferences? Though ss mentioned in #378, this may result in problems if the db isn't compatible.
Yeah that is effectively the same thing, just scoped to a subset of the file. But all the same concerns over making sure you copied just the right data remain if you were trying to only copy a specific view.

Actually I presume the plugin must already handle custom columns in a view not being present - after all if users delete custom columns calibre doesnt automatically go fix up View Manager plugin views. So it might work ok as a quick stop-gap.
kiwidude is offline   Reply With Quote
Old 10-19-2022, 04:51 PM   #381
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,419
Karma: 1810960
Join Date: Oct 2010
Location: London, UK
Device: Kindle Oasis, iPad Pro
View Manager v1.10.2 Released

Release Notes:
https://github.com/kiwidude68/calibr...anager-v1.10.2

This is a pre-emptive strike change - an API this plugin relied upon is not going to exist shortly. Thanks to @chaley for the heads up and the fix...

Last edited by kiwidude; 10-19-2022 at 05:08 PM. Reason: Further change made for Python 2.x compatibility
kiwidude is offline   Reply With Quote
Old 10-27-2022, 05:52 PM   #382
Rellwood
Library Breeder
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 1,086
Karma: 1900141
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
Quote:
Originally Posted by kiwidude View Post
I definitely wouldn’t recommend messing with copying over the entire json file, it will wreck all your other plugin settings. If you were extremely careful you could copy the relevant json section from one to the other but chances are high you screw up with the wrong number of braces or commas unless you are diligent. So you should definitely keep a backup copy you can rollback to if you were to attempt it.

It sounds a reasonable feature request for the plugin. I will put it on the rainy day list to investigate. There are a few wrinkles I’m not sure how I will deal with until I try it - custom columns in a view that don’t exist in the target db, a view already existing with that same name etc. It will need at least one new dialog to pick the library. So not a five minute change…
Perhaps and import/export feature like Calibre does for their look/feel settings, and if the column doesn't exist then it does what the plugin currently does when columns in views don't exist and just skipps over them rather than throwing an error - or some kind of indicator that the columns have been changed.

ALSO - would REALLY like the ability to save an updated version of the view instead of having to rename it. I open views, fiddle with them and want to save them, but I have to rename them and end up with two views - one is outdated and the other is a different name. Too many Default, Newest Default, etc. Instead of going in and deleting them. I have to do this everywhere in Calibre so I suspect it's not something that is overlooked but rather a necessary evil. Just "save" rather than "save as"
Rellwood is offline   Reply With Quote
Old 10-27-2022, 05:54 PM   #383
Rellwood
Library Breeder
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 1,086
Karma: 1900141
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
Quote:
Originally Posted by kiwidude View Post
Yeah that is effectively the same thing, just scoped to a subset of the file. But all the same concerns over making sure you copied just the right data remain if you were trying to only copy a specific view.

Actually I presume the plugin must already handle custom columns in a view not being present - after all if users delete custom columns calibre doesnt automatically go fix up View Manager plugin views. So it might work ok as a quick stop-gap.
Instead of one view at a time it probably would have to be a complete write over with every view. That was what I was thinking.

I have Beyond Compare and WinMerge/Compare and it was using those programs that I was thinking of for copy/pasting the information in the .json. Just lining up the two files and copying over that particular section.
Rellwood 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
[GUI Plugin] Generate Cover kiwidude Plugins 780 11-14-2022 07:20 PM
[GUI Plugin] Goodreads Sync kiwidude Plugins 1665 10-27-2022 05:45 PM
[GUI Plugin] Open With kiwidude Plugins 397 10-16-2022 03:05 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM
[GUI Plugin] Book Sync **Deprecated** kiwidude Plugins 111 06-07-2011 08:47 PM


All times are GMT -4. The time now is 03:43 AM.


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