Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library Statistics Do not count tags generated by plugins #1092

Open
Nuo-Mituan opened this issue Oct 11, 2024 · 8 comments
Open

Library Statistics Do not count tags generated by plugins #1092

Nuo-Mituan opened this issue Oct 11, 2024 · 8 comments

Comments

@Nuo-Mituan
Copy link

LRR Version and OS
I have updated to Docker v0.9.21

Bug Details
Now my tags are generated from JSON and XML files read through plugins, but I have found that the statistical data does not include tags generated through plugin reading

dff30cde-337b-47cb-8a4a-2b0ce901a05f

@Difegue
Copy link
Owner

Difegue commented Oct 12, 2024

Would it be possible to see the detailed stats? They should be on the same page down below.

What kind of tags are you generating from your metadatafiles?

@Nuo-Mituan
Copy link
Author

Nuo-Mituan commented Oct 12, 2024

detailed stats is blank
69b052ed-8664-4cf0-9171-9ab01b581c7e
These are the plugins I have enabled
2dd93485-0cd0-4702-86bf-15c6978e3870
Here are the metadata for two of my files
Desktop.zip

@shinji257
Copy link
Contributor

If you just tagged it give it time and check again. It generates tags for me on plugin tags but it doesn't show up right away. Usually on a fresh install the initial set ends up with blank stats for a bit.

@Nuo-Mituan
Copy link
Author

Thank you, the issue was resolved after restarting LRR

@Nuo-Mituan
Copy link
Author

I found that the tag statistics on the Library Statistics page only update after restarting LRR

@Difegue
Copy link
Owner

Difegue commented Oct 14, 2024

That'd odd, the stat indexes should refresh as soon as a change is made to any metadata.
If you update the metadata for a file, can you search for that updated metadata right afterwards? (as in add a tag, file shows up when searching for that tag)

@Nuo-Mituan
Copy link
Author

After updating the tags, only the tag statistics on the Library Statistics page were not updated, and the search can still search for new tags normally

@maltbeverage
Copy link

Exact same issue on a fresh build, docker, Version 0.9.21. I use my own metadata plugin that parses json data from the archive files to generate the tags.

For misc tags my plugin sends them with the "other:" prefix. My assumption is that "other:sometag" and just "sometag" without a namespace should be processed the same, but maybe they are handled different by the statistics page. I tried adding a manual test tag to two archives without the other: prefix, restarted LRR and no dice.

I'm assuming other: prefix is right because I referenced the hentag.pm plugin when making my own and that's how it was done there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants