jobobby04 / Lanraragi-Fakku-Tagger

A quick and dirty program that connects to your LANraragi instance, and re-tags all galleries using different metadata grabbers.
Mozilla Public License 2.0
9 stars 1 forks source link

Previously untagged items will end up with a "blank" tag at the start #4

Closed shinji257 closed 1 year ago

shinji257 commented 1 year ago

If there are no tags already on an item then the code (asis) seems to try and prefix an empty variable for the metadata that is then comma separated. This results in a submission of something like ,tag1,tag2,etc.. Lanraragi is interpreting that first comma as having an empty tag in front and renders it on the website. This doesn't happen if at least one tag already exists.

image

Additionally resetAllTags doesn't seem to work. I can end up with duplicate tags as a result of it bring in the old tags that still exist either in code, on the site, or both.

jobobby04 commented 1 year ago

Fixed these in 1.6 👍