Posts: 3,027
Joined: Oct 2012
Reputation:
189
If you remove items from the database (because you remove about 1/2 of the actors), the database _should_ shrink after compacting. I say _should_ here, because that are internals of the mvstore of the H2 database (we use that database engine, we did not write our own).
just read a bit in the source of the MVStore and I saw, that this has a versioning feature -> per default 5 versions of one object (movie) are kept in the database. Since I was not aware of this parameter, the default of 5 versions is active within tmm (although we do not make use of it). I will try to remove that
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at
Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at
GitLab
Posts: 524
Joined: Aug 2015
Reputation:
26
Great! Hopefully that fix could reduce the db size (and launching time) even further.
Posts: 3,027
Joined: Oct 2012
Reputation:
189
I found out that this parameter is only used in in-memory-databases and thus does not apply to our use case.
I will observe this issue and make some tests with newer versions of the mvstore in the next weeks
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at
Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at
GitLab
Posts: 99
Joined: Jan 2013
Reputation:
1
Is this feature already released (the talk about shrinking the DB suggests yes). I am running Build 2020-09-28 05:22, but don't see an option to scrape only credited actors, or to limit actors to just those with images.
And if it is implemented, would rescraping the actors delete all images for non-credited actors, or would they have to be manually deleated somehow?
Thanks, Carl.
CoreELEC 9.03
Aeon Nox 5: SiLVO
Minix Neo U9-H, Logitech Harmony Elite
Posts: 3,027
Joined: Oct 2012
Reputation:
189
there is no such workaround at tmdb now..
just split at a given amount of actors may split apart some "important" actors for movies which have a high amount of well known actors (just look at Sin City)... apart from that all actors look similar in the tmdb API (nothing to distinguish between "main" cast and "guests")
if we think a step further - how should that amount being entered by the user? just a "global" setting for all scrapers? in every scraper? I am no friend of cluttering the settings just for such a features (the settings are complex enough yet)
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at
Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at
GitLab
Posts: 515
Joined: Jul 2012
Reputation:
18
Wouldn't it be possible to just skip the actors that have "uncredited" in their role?
Posts: 99
Joined: Jan 2013
Reputation:
1
My ideal would be tickboxes for "Credited Only" and "Actor Images Only", and then a separate field to scrape the first xxx actors only.
Thanks, Carl.
CoreELEC 9.03
Aeon Nox 5: SiLVO
Minix Neo U9-H, Logitech Harmony Elite
Posts: 524
Joined: Aug 2015
Reputation:
26
Thanks for improving loading time with the v4 nightly!
Now it only takes about two-thirds of the previous loading time with my database. That's a great improvement!