Closed MollyBe closed 4 years ago
It uses an arbitrary list to validate client ID info.
https://github.com/l3uddz/traktarr/blob/3c89b265aafcfa62a2235894d9b49eaecb31c171/media/trakt.py#L236
Still the amount of results changes based on whether debug is on or off?
You did that on master 18 days ago. Master has since been updated. Try it again.
Sent with GitHawk
Hi, I have tried it again with the same results as last time.
Command used:
traktarr movies -t trending -l 1 -s votes
With debug set to: false
The results were:
1409 movies found, 6 to process, 0 added
With debug set to: true
The results were:
1312 movies found, 32 to process, at least 1 added
Something unexpected is happening here.
I have made a log file of this here.
Reproducible using Master (latest).
Delete your cache.db file
Tested both debug and info, everything is working as expected.
Enabling debug in the traktarr config causes unexpected results when importing movies with CLI. With debug enabled it will use the list type anticipated even though you specified trending.
Steps to reproduce the behavior: Run with debug set as false:
traktarr movies -t trending -l 100 -s votes
and as expected it'll import movies from the trending list with output:Retrieved Trakt 'Trending' movies list, movies found: 1285
Run with debug set as true:
traktarr movies -t trending -l 100 -s votes
and it'll unexpectedly import movies from the anticipated list type with output:Note: it says shows and not movies, and anticipated and not trending I think it is still using the trending list but I cannot explain why the amount of movies found decreases when debug is enabled and more movies are imported.
Reproducible using Master (latest).
Near the time of writing this trakt.tv had: 1002 in trending 1436 in anticipated