Anime-Girls-Holding-Programming-Books icon indicating copy to clipboard operation
Anime-Girls-Holding-Programming-Books copied to clipboard

Create Metadata.json

Open stuffedmeow opened this issue 3 years ago • 8 comments

Metadata on featured series in JSON format, up to date 12/11/2021. Created in regards to Issue #245

To find the series that the anime girl is from, just CTRL + F the file name.

stuffedmeow avatar Dec 11 '21 20:12 stuffedmeow

This seems unmaintainable tbh. JSON is kinda a crappy format for human editing, and it's in one file rather than next to the images, so it's REALLY easy for it to get out of date.

Asday avatar Dec 11 '21 20:12 Asday

How about creating a CLI that modifies the metadata file when someone adds a pic. So that humans don't have to edit it manually.

wizard-28 avatar Jan 15 '22 17:01 wizard-28

How about creating a CLI that modifies the metadata file when someone adds a pic. So that humans don't have to edit it manually.

I have actually been considering setting up some pre-commit hooks to validate filenames so setting it up to also add those file names to a meta-data file wouldn't be much extra work from my understanding. Though having a meta-data file that keeps track of what series a girl is from or even just keeps track of her name would present some challenges for adding girls who are just some random artists OC. We'd also might want to reconsider our file naming pattern if were going to try to introspect that data from the files themselves.

If were fine with adding the data manually maybe we could require that the meta-data be included with every file added and then just have the commit hook verify that all the files in the commit have corresponding meta-data entry.

cat-milk avatar Feb 21 '22 20:02 cat-milk

This issue seems relevant to this PR so Im just going to link them to each other https://github.com/cat-milk/Anime-Girls-Holding-Programming-Books/issues/285

cat-milk avatar Feb 21 '22 20:02 cat-milk

Merge the 2 codes that let you choose the girls and modify at the same time

milesfromcali avatar Feb 27 '22 04:02 milesfromcali

Perfect chance to do this through GH Actions

IAMSolaara avatar Mar 08 '22 08:03 IAMSolaara

Wouldn't it make more sense to use a series of tags, rather than an hierachical structure?

Akronymus-git avatar Mar 24 '22 18:03 Akronymus-git

A year later I'd like to add my coin to the pig. Would it not make sense to instead write a metadata generator? This fixes the maintenance problem adressed above.

The program could act like this: Scan all images -> Take the first word before the _ (Ram_Holding_JavaScript_The_Good_Parts.png would become Ram), then search for Ram Anime, wether with the google api, wikipedia or another (anime-specific?) library, find anime name and get the meta from it.

Long-term better Alternative: Rename all files to $ANIME_$CHARACHTER_$DESCRIPTION and just google $ANIME instead

Anatoly03 avatar Mar 23 '23 08:03 Anatoly03