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 11-24-2020, 11:41 AM   #241
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Favourites plugin issue, not LCs. I suspect that using it like you do was never explicitly supported many years ago when Favourites was created.
DaltonST is offline   Reply With Quote
Old 11-24-2020, 11:45 AM   #242
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,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I don't follow. I use it for menu items that don't fit on my toolbar and sub-menu items that I want convenient access to, which...is exactly what's mentioned in the original post.
ownedbycats is offline   Reply With Quote
Advert
Old 11-24-2020, 11:48 AM   #243
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
You are adding LC in 2 places, as I said before.
DaltonST is offline   Reply With Quote
Old 11-24-2020, 11:56 AM   #244
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,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I also have Job Spy and some of Job Spy's submenu items. They work. Kobo Utilities and Customize KoboTouchExtended too. It's only Library Codes that fails, and even if I only add a submenu item.

Click image for larger version

Name:	2020-11-24 12_55_31-Customize Favourites Menu.png
Views:	278
Size:	76.4 KB
ID:	183582
ownedbycats is offline   Reply With Quote
Old 11-24-2020, 12:00 PM   #245
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Favourites plugin design issue, not mine. I am finished with this topic.
DaltonST is offline   Reply With Quote
Advert
Old 11-24-2020, 02:14 PM   #246
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,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by DaltonST View Post
Favourites plugin issue, not LCs.
I just installed LC, briefly tested, and looked in the code. At the bottom of LC's version of common_utils.py, create_menu_action_unique() does this:

Code:
    # For use by the Favourites Menu plugin. If this menu action has text
    # that is not constant through the life of this plugin, then we need
    # to attribute it with something that will be constant that the
    # Favourites Menu plugin can use to identify it.
    favourites_menu_unique_name = 'Library Codes'
    if favourites_menu_unique_name:
        ac.favourites_menu_unique_name = favourites_menu_unique_name
Which explains why *all* LC menu options are named 'Library Codes'. Is that the intention? If so, why are different names passed in ui.py? I would speculate it was a bit of test code accidentally left in.

I've never delved deeply into how FM works, but it won't surprise me if it gets confused when handed a whole stack of items all with the same 'unique' name.
JimmXinu is offline   Reply With Quote
Old 11-24-2020, 02:33 PM   #247
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
one line of code was deleted somewhere along the line

Actually, a unique name is passed by each and every menu action, but one final line of code was deleted somewhere along the line:

if not favourites_menu_unique_name:
favourites_menu_unique_name = 'Library Codes'

That fall-through should never been executed, since a unique name is passed by each and every menu action.

Thanks for the catch.


DaltonST
DaltonST is offline   Reply With Quote
Old 11-24-2020, 02:37 PM   #248
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,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by DaltonST View Post
That fall-through should never been executed, since a unique name is passed by each and every menu action.
I would suggest that a non-unique default value for favourites_menu_unique_name, even as a fall though, would be contraindicated.

If every action has a favourites_menu_unique_name and the fall through never gets used, it doesn't matter. Until it does. So I don't think I'd keep that fall through at all. favourites_menu_unique_name is not required.
JimmXinu is offline   Reply With Quote
Old 11-24-2020, 03:11 PM   #249
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Version 1.0.48 Favourites plugin accommodation.

Version 1.0.48 - 2020-11-24 Favourites plugin accommodation.


DaltonST
DaltonST is offline   Reply With Quote
Old 11-24-2020, 03:20 PM   #250
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,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
It works now!

Click image for larger version

Name:	2020-11-24 16_20_04-calibre - __ My Books __ Physical Books __.png
Views:	302
Size:	40.0 KB
ID:	183585

ownedbycats is offline   Reply With Quote
Old 12-15-2020, 02:15 PM   #251
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Version 1.0.49 Miscellaneous technical improvements.

Version 1.0.49 - 2020-12-15 Miscellaneous technical improvements.


DaltonST
DaltonST is offline   Reply With Quote
Old 12-22-2020, 11:02 AM   #252
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Version 1.0.50 Miscellaneous Technical changes.

Version 1.0.50 - 2020-12-22 Miscellaneous Technical changes.


DaltonST
DaltonST is offline   Reply With Quote
Old 01-12-2021, 04:28 AM   #253
sle7en
Junior Member
sle7en began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2021
Device: Windows 10 PC + iPhone 11 & 8 + iPad Pro 10.5"
LC Plug-In Can't Find any LCC/DDC/FAST tags

I always get this message; "calibre, version 5.9.0
Library Codes: Nothing Updated For Any Books, But There Were No Errors. Visit: http://classify.oclc.org/classify2/" when I'm scanning for LCC/DDC/FAST tags for books with valid ISBN's. Is there any particular reason for that ? I already do have the #lcc #ddc #fast columns present fyi. Any help is welcome! Thank you for the tool @DaltonST !
sle7en is offline   Reply With Quote
Old 01-12-2021, 04:33 PM   #254
Georgie W
Connoisseur
Georgie W began at the beginning.
 
Georgie W's Avatar
 
Posts: 96
Karma: 10
Join Date: Jan 2014
Location: Scotland
Device: KT4 5.13.6
Hi, could you point me at the download link for this plugin for earlier versions of Calibre? I'm running Calibre 4.22 (due to the KFX conversion issue)? many thanks
Georgie W is offline   Reply With Quote
Old 01-12-2021, 04:39 PM   #255
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,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Here: https://www.mobileread.com/forums/sh...9&postcount=21
ownedbycats is offline   Reply With Quote
Reply

Tags
ddc, dewey decimal, lcc, library of congress, oclc


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] SmartEject JimmXinu Plugins 125 05-08-2025 12:27 AM
[GUI Plugin] Consolidate All Library Metadata (CALM) DaltonST Plugins 334 02-02-2025 02:28 PM
[GUI Plugin] Astro-ph iatheia Plugins 14 07-25-2015 11:41 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


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


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