|
|
#11761 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,631
Karma: 81412473
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Is it just those two lines broken? Try replaze site with publisher - I think Jim told me it was bad to change site directly.
|
|
|
|
|
|
#11762 |
|
Enthusiast
![]() Posts: 44
Karma: 10
Join Date: Aug 2015
Device: pc
|
That worked, thank you! Pretty much everything I have in my Replace Metadata section is copied from someone in this hundreds-of-pages-long thread, so I'd been using that from...someone. No idea. It's been years.
I use them for custom column colors, so it stood out when it changed on me. Thanks! |
|
|
|
| Advert | |
|
|
|
|
#11763 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,325
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Use publisher instead. |
|
|
|
|
|
|
#11764 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,631
Karma: 81412473
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: Is possible to assign multiple categories to a single custom column?
|
|
|
|
|
|
#11765 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,325
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
If you mean the list of values in metadata entry category, yes, that's how it works.
If you mean more than one metadata entry (eg ships and characters), yes, by using custom_columns_settings with 'a' mode. Code:
## (Plugin Only) - You can also populate calibre custom columns with ## the site specific metadata using custom_columns_settings (but only ## if 'Allow custom_columns_settings from personal.ini' is checked in ## the plugin GUI config.) There are three parts, the entry name, ## then the label of the calibre custom column, then (optionally) a ## 'mode'. 'r' to Replace any existing values, 'a' to Add to existing ## value (use with tag-like columns), and 'n' for setting on New books ## only. (Default is 'r'.) custom_columns_settings: ships=>#acolumn,r characters=>#acolumn,a |
|
|
|
| Advert | |
|
|
|
|
#11766 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,631
Karma: 81412473
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I did a update-metadata-from-column, got 'invalid group reference 1 at position 15' - any idea of meaning?
It also happens regular update. This is fic EDIT: One of these lines is causing failure - chartags is a custom copy for characters Code:
chartags=>Male Shepard=>Shepard (Male) chartags=>Female Shepard=>Shepard (Female) chartags=>^Shepard=>[Mass Effect].\1 chartags=>^(Garrus Vakarian|Tali'Zorah nar Rayya)=>[Mass Effect].\1 Last edited by ownedbycats; Yesterday at 02:42 PM. |
|
|
|
|
|
#11767 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,325
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Sounds like a mistake in a regexp. Debug log?
|
|
|
|
|
|
#11768 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,631
Karma: 81412473
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I narrowed it down to the one line
Code:
chartags=>^Shepard=>[Mass Effect].\1 |
|
|
|
|
|
#11769 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,631
Karma: 81412473
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I still not sure what broke but I fixed it by replacing 3 lines with a:
Code:
chartags=>(Male|Female) Shepard=>[Mass Effect].Shepard (\1) |
|
|
|
|
|
#11770 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,325
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
You can’t have a \1 in the replacement without a (…) in the search expression to populate it.
|
|
|
|
|
|
#11771 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 167
Karma: 3100
Join Date: Sep 2011
Device: Kobo Auro H2O, PRS-T1
|
I'm getting an error whenever I try to run the "get story urls from webpage". My personal ini has :
Code:
[archiveofourown.org] username:XXXXXXXX password:XXXXXXXX is_adult:true use_archiveofourown_gay:true The error says something about logging in: Code:
ERROR: Unhandled exception: <b>FailedToLogin</b>:Failed to Login for URL: (https://archiveofourown.org/users/JadeAislin/bookmarks) with username: (JadeAislin) Not sure if I should post the whole error message or not. |
|
|
|
|
|
#11772 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,631
Karma: 81412473
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
replace_metadatas:
Why would the first line work, but not second? Code:
chartags=>Original (Male|Female) Turian Character\(s\)=>[Mass Effect].Original Turian Characters (\1) chartags=>Original (Male|Female)(Batarian|Turian|Quarian) Character\(s\)=>[Mass Effect].Original \2 Characters (\1) Last edited by ownedbycats; Yesterday at 08:54 PM. |
|
|
|
|
|
#11773 | ||
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,325
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Quote:
If you don't mean the error you were talking about last and instead mean it just doesn't match, I would suspect the space between gender and species. In practice, you may want " *" for most spaces for when authors do/don't include them. If that doesn't help, you should know by now to include story URLs that exhibit the issue. |
||
|
|
|
|
|
#11774 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 167
Karma: 3100
Join Date: Sep 2011
Device: Kobo Auro H2O, PRS-T1
|
|
|
|
|
![]() |
| Tags |
| fanfiction |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Open With | kiwidude | Plugins | 405 | 02-09-2026 07:54 AM |
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 529 | 01-28-2026 10:32 AM |
| [GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
| [GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 06:39 PM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |