![]() |
#1156 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,229
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Debug log worked, thanks.
|
![]() |
![]() |
![]() |
#1157 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,229
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
How do i change the active VL with a chain? View Manager won't work, as I also want to switch to a view that doesn't have a VL attached.
EDIT: My backup option is to make a duplicate view with the VL attached, but if there's a better way I'd prefer that. Last edited by ownedbycats; 09-15-2023 at 04:09 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#1158 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,911
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You can do it with a python code action. Here is an example.
|
![]() |
![]() |
![]() |
#1159 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,229
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
That works! It also works with the 'switch view' module so I don't need a separate action for that.
![]() |
![]() |
![]() |
![]() |
#1160 |
Connoisseur
![]() Posts: 87
Karma: 10
Join Date: Sep 2018
Device: iPad mini
|
It shocks me that this hasn’t been asked, but Google and site search isn’t getting me there. I have calibre set to auto-add epubs to my library from my download folder. Is there an event signal that could activate my new books action chain (downloading/changing mettadata) It’d have to be books specifically being imported from a file, because I don’t want it running after FanficFare runs.
I think I have the code once I get the signal, but if someone wants to give it to me like I’m five, I’d appreciate it! |
![]() |
![]() |
Advert | |
|
![]() |
#1161 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,134
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
I am not sure what this means, all books additions are imported from files, and the event I linked above will be triggered for all book additions, whether automatically through auto-add, or interactively through calibre Add Books menu. |
|
![]() |
![]() |
![]() |
#1162 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,102
Karma: 6425162
Join Date: Sep 2020
Device: Calibre E-book viewer
|
I just noticed that the menu icons for my Chains are not displaying. Any ideas on what to look into?
|
![]() |
![]() |
![]() |
#1163 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,134
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
First thing is to make sure the icons are still there on your filesystem in the directory they are supposed to be in. Also are they only absent in the menus? I mean can you see them next to the chain name in the chains dialog? Can you re-choose them from the icon dropdwon menu?
|
![]() |
![]() |
![]() |
#1164 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,102
Karma: 6425162
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Quote:
Oddly, I see there's one chain icon showing up (meta full dl), but it doesn't correspond to the one I have chosen, it's different.. edit: icons are located in C:\Users\user\AppData\Roaming\calibre\resources\im ages Last edited by Comfy.n; 09-30-2023 at 04:42 PM. |
|
![]() |
![]() |
![]() |
#1165 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,134
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Are these stock calibre icons? if they are not, when you try to re-choose them, can you navigate to where they are stored on disk? what happens next?
|
![]() |
![]() |
![]() |
#1166 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,102
Karma: 6425162
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Quote:
I added a new icon with a unique name, used Everything to search my drives, and the only place where this new icon is found is the above mentioned |
|
![]() |
![]() |
![]() |
#1167 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,102
Karma: 6425162
Join Date: Sep 2020
Device: Calibre E-book viewer
|
they're mostly custom icons
|
![]() |
![]() |
![]() |
#1168 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,134
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Last resort here is to rename them by adding a numerical suffix as they might have name clashes with calibre stock icons. I've been meaning to re-write the whole icon management for a while now, so I am not inclined to put much time into icons, except for minor bugs. If there is any additional clue for me to investigate, let me know.
That is how it is supposed to work, the icon will be copied over to the resources directory. |
![]() |
![]() |
![]() |
#1169 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,102
Karma: 6425162
Join Date: Sep 2020
Device: Calibre E-book viewer
|
forgot to answer: yes, I can navigate to where they are stored on disk.
I think I found something interesting: if I choose the file named download-metadata.png for any chain, this icon will show up in PI menu and in the Chains Dialog. So it seems it doesn't like icons with filenames other than Calibre Stock's? ![]() |
![]() |
![]() |
![]() |
#1170 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,134
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Editor Plugin] Editor Chains | capink | Plugins | 94 | 07-03-2024 07:26 PM |
Action Chains Resources | capink | Plugins | 65 | 07-01-2024 03:12 PM |
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 03:15 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |