Posts: 1,250
Joined: Aug 2007
Reputation:
11
After some more troubleshooting, here's what I've found -
When the url is removed from the nfo - no duplicate data, but any fields not specifically set in the nfo are not pulled in
Tried changing the scraper for movies - have IMDB set in the nfo and used TMDB, also tried having IMDB set in the nfo and using IMDB as the scraper....made no difference
If you need the debug log of this, let me know. Thanks.
Posts: 922
Joined: Jul 2008
Reputation:
6
i understand there is a diff on trac to work around the genre additive .. i'd love to help test and debug it .. but alas i'm not a programer so woulnd't know how/where to start
however .. i had another question .. is it necesary for the current version of the scraper to work properly, that studio be additive like genre & director and not like title, plot, etc? i ask because if not .. could we make it not additive .. that way people can manually set studios so flags work better in the several skins that use them now
many times, imdb doesn't provide a good studio for a movie but rather a small off the wall one and this would prevent this
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
yes, studios need to be additive of course - you can have more than one!
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
after being overrun by all the tests results i obtained, i finally had a few spare moments to test it. commited at r21453. sho, please do your thing.
nicezia; you would want to add this to your library as well probably
Posts: 922
Joined: Jul 2008
Reputation:
6
i guess i have to wait for sho to update the wiki with instructions on how to get this feature to work .. thx for the new feature though
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
aenima99x; no.
it's simple to do with some scripting though, something along
for i in find . -name *nfo; do cat $i | sed -e 's/<genre/<genre clear="true"/g' > foo && mv foo $i; done
Posts: 1,250
Joined: Aug 2007
Reputation:
11
Sorry to bother Spiff, but what are all the fields that can use the "clear" tag?
Is it just genre, directors and studio? Thanks.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
genre, director, studio, actor, credits, artist (for mvids)