LANraragi icon indicating copy to clipboard operation
LANraragi copied to clipboard

Filename Parsing Plug-in function request

Open hucurve opened this issue 1 year ago • 3 comments

image I'm using the built-in Plug-in for file metadata recognition, which I think is very useful and robust, but I still have two pain points that I hope to resolve one day: 1.Only the first can be recognized when multiple artists are present, while the others are in others My file name =[黒ねずみいぬ, 市川和秀, 猪去バンセ, カサイこーめい, きしぐま, SUV, 重丸しげる, ちんぱん☆Mk-Ⅱ, ばんじゃく, 英, ふぁい, 水樹 凱, やさごり]XXXX.zip image

2.I often change the original file name, and after re-scanning, the changed file will not trigger the plug-in, but still use the original name. There is also no way to select the changed file in the batch tool. This often confuses me

I hope someone can see my request, anyway I still like LRR this beautiful software:)

hucurve avatar Oct 03 '24 08:10 hucurve

This is a bit unconventional as far as using the naming standard goes, but I think it'd be pretty easy to check if the tags contain commas after regex parsing and assign the namespace to each one.

Difegue avatar Oct 12 '24 01:10 Difegue

I was toying with this plugin a bit and this was an issue that I wasn't sure whether I wanted to handle or not. This could also be applied to "groups", "series" and "languages" as well, but I knew for certain that at least the series can have a comma in their names.

I was going to break down just the language string where I can verify the generated tokens, but I can do the same for the rest and blindly accept the result. It should be refined, but I can make a PR to dicuss.

IceBreeze avatar Oct 13 '24 16:10 IceBreeze

I think it makes sense to have this behavior for language and groups.
Series can have commas, but for those I think we should take them out as it'll break the tag storage.

I do wonder if groups with commas in their names exist.. I don't think that'd be too common.

Difegue avatar Oct 17 '24 02:10 Difegue