| 
 | |||||||
|  | 
|  | Thread Tools | Search this Thread | 
|  05-08-2020, 05:38 AM | #1 | 
| Enthusiast   Posts: 34 Karma: 100 Join Date: Oct 2014 Device: Likebook Mars | 
				
				Anyone know why my plugin gets duplicated in the preferences menu/calibre-customize?
			 
			
			Made this very simple plugin here to give me a way to import some metadata into Calibre columns from a KOreader library folder.  Seems to work alright for syncing up my read % and last read dates but I noticed that for some reason the plugin appears twice in Calibre's list.  (Both the GUI and the calibre-customize -l one)   It doesn't seem to have an effect on its function that I can see, but it makes me feel like I screwed up in configuring it somehow so kinda curious if anyone knows what I did wrong here. Plugin is just a single Python file with the code as shown on that other forum post saved as __init__.py in a folder and imported using calibre-customize -b "C:\Path\To\Folder". Tried removing it a few times but it still gets duplicated when I add it back again... | 
|   |   | 
|  05-08-2020, 06:19 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Shows up only once for me. I wouldnt worry about it, if it is working.
		 | 
|   |   | 
| Advert | |
|  | 
|  05-08-2020, 07:12 AM | #3 | 
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | 
			
			The times I have seen something like that was because of a name change somewhere. I think it was a combination of file and plugin name. Check that there aren't two copies of the plugin in the configuration directory.
		 | 
|   |   | 
|  05-08-2020, 06:40 PM | #4 | 
| Enthusiast   Posts: 34 Karma: 100 Join Date: Oct 2014 Device: Likebook Mars | 
			
			Ahh yeah you're right, checked customize.py.json and there was a duplicate line for my plugin that did not go away when the plugin was removed, getting rid of that manually fixed it.
		 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| I (somehow) removed the Preferences icon from my main menu | PTrenholme | Library Management | 4 | 02-19-2020 06:27 PM | 
| [Editor Plugin] - Enabling 'Customize plugin' dialog directly from the Editor | thiago.eec | Development | 7 | 01-09-2019 08:05 PM | 
| Customize menu | bunglegrind | KOReader | 2 | 09-10-2018 09:14 PM | 
| Edit plugin menu/buttons in Calibre | Riseninme | Calibre | 1 | 08-10-2018 12:12 PM | 
| Implemented, plugin, or so? Duplicated | juliusromo | Calibre | 2 | 12-26-2012 06:51 PM |