Posts: 30
Joined: Aug 2014
Reputation:
0
peram1
Junior Member
Posts: 30
2016-06-19, 13:52
(This post was last modified: 2020-09-25, 18:05 by mlaggner.)
would it be possible to configure the number of actors scraped?
I am spending quite some time to delete the ones above let's say the first five ...
normally I would not mind, but in Kodi you can sort movies according to actors which gives me thousands and thousands of actors I do not care about;
Peter
Posts: 1,294
Joined: Jan 2011
Reputation:
55
myron
Posting Freak
Posts: 1,294
mhm.. yes.. might be an interesting feature.
I'll put it on our list...
Sadly, no internet site has something like "main actors"...
Posts: 2,122
Joined: Sep 2014
Reputation:
56
What about not scraping if no picture is available?
Posts: 99
Joined: Jan 2013
Reputation:
1
I'm a long-time Ember user who is trying out TMM, and so far I'm impressed.
EMM has two different ways to filter cast: (1) scrape only the first xx actors, and/or (2) scrape only actors with images.
I realize that neither filter is perfect: sometimes IMDB lists the cast in order of appearance so a main actor may be 20th or lower on the list, and as you point out, not all major actors actually have images. But it's too unwieldy to have a cast database filled with thousands who have only had 1-2 bit parts in movies I own, so this is a risk worth taking, if you could emulate the EMM filters.
My ideal actor DB would include only actors who appear in, say, 3+ movies which I own. As I was writing this, I just had a thought on a possible filter, but it may be too cumbersome.
1. When scraping an actor, check how many other movies in our TMM list actor appears in.
2. If under xx movies, the actor's data is put in a comment in the NFO, rather than the <actor> tag.
3. Have an option for the user to have TMM manually scan all NFOs, and if an actor's name now appears in xxx or more movies, all NFOs where he/she was in the comment are changed to the <actor> tag.
4. Generate a list of movies thus modified so we can then refresh them in Kodi.
Probably way too much work, but it would create the ideal cast list.
Carl.
CoreELEC 9.03
Aeon Nox 5: SiLVO
Minix Neo U9-H, Logitech Harmony Elite
Posts: 1
Joined: Aug 2017
Reputation:
0
Another option would be that you can give kodi the option to display only actors who appears 2, 3, 4 etc times in your library. Like a filter.
Posts: 239
Joined: Apr 2010
Reputation:
2
Zodler
Senior Member
Posts: 239
Something definitely should be done to limit the number of actors scraped. For one movie I get like 60-70 actors which is ridiculous.
Posts: 515
Joined: Jul 2012
Reputation:
18
At least an option to not scrape "uncredited" cast members would help a lot.
Posts: 524
Joined: Aug 2015
Reputation:
26
Thanks for implementing it!
With v4, I re-scraped actors for all movies in my collection, expecting it will reduce database size and initial launching time significantly.
It did. It almost halved both the db size and launching time.
But it didn't happen immediately. It actually slightly increased the db size (about 10%). So I tried removing and re-importing all items and now the size got halved.
Why do you think it requires re-creating the db to reduce the size?
Posts: 3,027
Joined: Oct 2012
Reputation:
189
the database engine has an internal mechanic to re-arrange/compress/defragment itself.. sometimes it just takes some time to do that work.
With removing/re-adding you gave the database a huge change so it immediately did its work - maybe this is why you saw the change there faster
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: 3,027
Joined: Oct 2012
Reputation:
189
just had a look at the code - the compacting is done when the database shuts down (tmm shuts down). So it should be "self cleaning/shrinking" when tmm finally shuts down
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