View Single Post
Old 01-19-2021, 06:11 AM   #5227
CuddlyMakani
Member
CuddlyMakani began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2020
Device: Android Phone
Quote:
Originally Posted by CuddlyMakani View Post
Hi! I've been using FFF for more than half a year now, and I'm so happy I found it! Except for some difficulties in the beginning, I've never had any problems since then.

But I started having some problems with the "replace_metadata".

I've been using it to automatically change AO3 categories to others.

In my .ini, it looks like this:
category=>Marvel=>Marvel Cinematic Universe
or
category=>Marvel \(Marvel Movies\)=>Marvel Cinematic Universe

Around 1 week ago, the lines stopped working, but seemingly only the ones with brackets. (not 100% sure about though)

Alright, I've been testing some things with my "replace_metadata" Problem:

It doesn't lie with the brackets, but with something else.
An example fic that I used was:
https://archiveofourown.org/works/21428569

It has the fandoms "Marvel Cinematic Universe", "Iron Man (Movies)", "The Avengers (Marvel Movies)".

My .ini has already lines to replace the last two with the first:
replace_metadata:
(space)category=>Iron Man \(Movies\)=>Marvel Cinematic Universe
(space)category=>The Avengers \(Marvel Movies\)=>Marvel Cinematic Universe

The first line works without a problem.

But the thing that I don't understand is: The second one replaces the fandom with "Marvel Cinematic Universe (Marvel Cinematic Universe Movies)".

I tried fixing it by adding:
(space)category=>Marvel Cinematic Universe \(Marvel Cinematic Universe Movies\)=>Marvel Cinematic Universe

I removed the lines and added them one-by-one, too.

But that doesn't help either.


So I tried some more URLs which have several fandoms with brackets, including "The Avengers (Marvel Movies)":

https://archiveofourown.org/works/17981474
("Marvel Cinematic Universe", "Spider-Man: Homecoming (2017)", "The Avengers (Marvel Movies)")

https://archiveofourown.org/works/15578055
("Spider-Man - All Media Types", "Spider-Man: Homecoming (2017)", "Iron Man (Movies)", "The Avengers (Marvel Movies)", "Marvel Cinematic Universe")


Again, everything works, except the Avengers one.
(My replace_metadata is in the same format as above.)

Any Ideas why?
CuddlyMakani is offline   Reply With Quote