09-28-2024, 09:45 AM | #121 | |
Member
Posts: 10
Karma: 10
Join Date: Aug 2024
Device: kobo sage
|
Quote:
so, while fiddling with the code you gave me i have discovered that: Code:
category_modified=>Star Wars - All Media Types|Star Wars Original Trilogy|Star Wars Prequel Trilogy=>Star Wars category_modified=>Star Wars - All Media Types=>Star Wars category_modified=>Star Wars Original Trilogy=>Star Wars category_modified=>Star Wars Prequel Trilogy=>Star Wars the real problem is that any ao3 fandom name with a character that gets used in code doesnt work. for example "Game of Thrones (TV)" has brackets, and "A Song of Ice and Fire & Related Fandoms" has the & ampersand. therefore, they are not read correctly and instead of modifying to the new column name i wanted, just copy themselves over in full. i included those star wars examples because "Star Wars: The Clone Wars (2008) - All Media Types" and "Star Wars Legends: The Old Republic (Video Game)" and "Star Wars Legends: Republic (Comics)" don't work. ive included colour coded images to show what i mean. i added harry potter after the first screenshot to see if crossovers work (they do!). i hope theres a way to fix this- i tried putting the fandom names in quotation marks but that didnt work. even if this is as much as we can do, it already fixed the problem i was having with the generate cover plug in, and manually editing out metadata is way easier than typing it in each time!! so yeah, thanks! |
|
09-28-2024, 10:36 AM | #122 |
Zealot
Posts: 121
Karma: 295674
Join Date: Jul 2021
Device: iPhone
|
Ah I forgot, the parentheses need to be escaped since they have their own function in regex, so:
Code:
replace_metadata: category_modified=>House of the Dragon \(TV\)=>House of the Dragon Code:
replace_metadata: category_modified=>A Song of Ice and Fire & Related Fandoms=>ASOIAF | GOT |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Library management issues after editing metadata | dra | Library Management | 26 | 04-11-2020 06:10 PM |
Best strategy for metadata management for Kobo using Calibre? | ceridwen | Kobo Developer's Corner | 16 | 05-13-2019 03:51 AM |
Will automatic metadata management also transfer updated cover images to device? | TheSacredSoul | Library Management | 2 | 01-11-2013 07:05 AM |
Metadata Management on Android not working? | TheStretchedElf | Devices | 0 | 08-08-2012 10:10 AM |
Automatic Metadata Management | gxxshock | Calibre | 2 | 12-28-2008 01:48 PM |