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 12-14-2017, 02:43 AM   #61
Tanjamuse
Guru
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 982
Karma: 5258
Join Date: Jan 2014
Device: Samsung Galaxy Tab 3
I know I can select whatever I want in the User Category editor, but I can't when I use the plugin directly, which was what I wanted to be able to.

Does the hierarchal items also work in user categories?
Tanjamuse is offline   Reply With Quote
Advert
Old 12-14-2017, 07:18 AM   #62
compurandom
Addict
compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.
 
Posts: 264
Karma: 172668
Join Date: Jun 2015
Device: kobo aura h2o
I have never used the user category editor. I just use the tag browser normally, and find the tag I want and right click on it and there is a "add to user category" submenu which lets me pick a user category to add it to.
compurandom is offline   Reply With Quote
Old 12-25-2017, 01:32 PM   #63
Tanjamuse
Guru
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 982
Karma: 5258
Join Date: Jan 2014
Device: Samsung Galaxy Tab 3
Can I copy what's in my User Category from one library to another? Or use the same selection for all my libraries?
Tanjamuse is offline   Reply With Quote
Old 12-25-2017, 02:44 PM   #64
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,690
Karma: 20975546
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Quote:
Originally Posted by Tanjamuse View Post
Can I copy what's in my User Category from one library to another? Or use the same selection for all my libraries?
The categories are stored in the Config folder (dedicated to that plugin).
Reading the note and considering the settings are in Config (vs the Library), I would think they are global.

If you want to transfer those settings, just copy the named plugin folder to the same location on the new machine.
theducks is online now   Reply With Quote
Old 12-25-2017, 03:27 PM   #65
Tanjamuse
Guru
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 982
Karma: 5258
Join Date: Jan 2014
Device: Samsung Galaxy Tab 3
As you can see from the following 2 screenshots, at least in my Calibre they are based on where the selection is made. Otherwise I would think the 2 lists should be the same?
Attached Thumbnails
Click image for larger version

Name:	Skærmbillede 2017-12-25 21.23.13.png
Views:	62
Size:	63.7 KB
ID:	160944   Click image for larger version

Name:	Skærmbillede 2017-12-25 21.23.42.png
Views:	66
Size:	67.6 KB
ID:	160945  
Tanjamuse is offline   Reply With Quote
Advert
Old 12-25-2017, 04:03 PM   #66
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 10,157
Karma: 9778562
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
The categories are stored in the Config folder (dedicated to that plugin).
Reading the note and considering the settings are in Config (vs the Library), I would think they are global.

If you want to transfer those settings, just copy the named plugin folder to the same location on the new machine.
@theducks - User Category definitions are stored per library, as are the User Category plugin configuration settings.

They are not custom columns so I don't think copying books will offer to copy them - Tanjamuse probably tried that. In theory the popup that asks which custom columns you want to copy should also ask which UserCats. Need to be careful though, the UserCat definitions can refer to custom columns, not sure what happens if a UserCat refers to a non-existent custom column (i.e one you didn't copy).

As things stand I think you'd need to find the definitions, and the plugins settings in the source library's metadata_db_prefs_backup.json file, copy each to the clipboard, paste each into the target library's metadata_db_prefs_backup.json file, and then rebuild that library's database.

You'd want to ensure you had backups of the two libraries metadata.db and metadata_db_prefs_backup.json files, just in case it doesn't work, or you make a mistake.

Aside: IIRC UserCats used to have a distinctive icon in the Tag Browser, I'm now seeing the custom column icon (stubby ionic column), could be my customisations I guess Ψ²

BR
BetterRed is online now   Reply With Quote
Old 12-25-2017, 04:20 PM   #67
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,690
Karma: 20975546
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
BR: Ah
T: If that is all the differences between the library structures. You might be able to:
1)Create a new library USING the existing structure of the one with your categories.
2)Select all the books in the library that needs them,Copy to Library: <the new one> .
3)test, then delete the old (now empty) one, you can even rename the new one if desired
theducks is online now   Reply With Quote
Old 12-25-2017, 06:41 PM   #68
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 10,157
Karma: 9778562
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
BR: Ah
T: If that is all the differences between the library structures. You might be able to:
1)Create a new library USING the existing structure of the one with your categories.
2)Select all the books in the library that needs them,Copy to Library: <the new one> .
3)test, then delete the old (now empty) one, you can even rename the new one if desired
Do you really think I didn't try that, well I did and it did not work. That's why I suggested copying chunks of the source preferences table backup to the target preferences table backup and doing a database rebuild.

@Tanjamuse - maybe DaltonST could add a feature to his Job Spy PI.

BR

Last edited by BetterRed; 12-25-2017 at 06:43 PM.
BetterRed is online now   Reply With Quote
Old 12-26-2017, 12:34 AM   #69
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,690
Karma: 20975546
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Quote:
Originally Posted by BetterRed View Post
Do you really think I didn't try that, well I did and it did not work. That's why I suggested copying chunks of the source preferences table backup to the target preferences table backup and doing a database rebuild.

@Tanjamuse - maybe DaltonST could add a feature to his Job Spy PI.

BR
Sorry, but my vision is going and I could not see what you tried.
This is really strange, the json has values to restore the DB structure, including text with a fixed set of values. I have used the copy structure , and my presets came across
theducks is online now   Reply With Quote
Old 12-26-2017, 04:24 PM   #70
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 10,157
Karma: 9778562
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
This is really strange, the json has values to restore the DB structure, including text with a fixed set of values. I have used the copy structure , and my presets came across
I think that's because the allowable values are contained within the definition of the column. Custom columns and their characteristics are fundamental to calibre; without them it probably wouldn't have 30,000 active users, let alone 3,000,000

Even though its built-into the core, the User category feature is more like an optional extra along the lines of Reading Lists (and much less used than RLs I suggest). I think I'm right in saying: If you copy books from Library A to Library B the Reading lists in which the books appear in Library A aren't copied to Library B.

BR
BetterRed is online now   Reply With Quote
Old 12-26-2017, 07:51 PM   #71
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,690
Karma: 20975546
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Quote:
Originally Posted by BetterRed View Post

Even though its built-into the core, the User category feature is more like an optional extra along the lines of Reading Lists (and much less used than RLs I suggest). I think I'm right in saying: If you copy books from Library A to Library B the Reading lists in which the books appear in Library A aren't copied to Library B.

BR
That makes sense. I was thinking Categories were like Tags. Part of the structures data set.
theducks is online now   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] Quick Preferences kiwidude Plugins 33 06-20-2018 03:00 AM
[GUI Plugin] Search the Internet kiwidude Plugins 293 02-19-2018 04:05 AM
[GUI Plugin] Open With kiwidude Plugins 328 08-20-2017 11:34 PM
[GUI Plugin] Walk Search History kiwidude Plugins 12 01-01-2017 10:31 AM
[GUI Plugin] Clipboard Search kiwidude Plugins 9 08-12-2014 03:36 AM


All times are GMT -4. The time now is 06:24 PM.


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