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

Repeatedly extremely slow processing times when adding a new show and scanning it without updating or scanning anything else after upgrade #967

Closed
cwm9cwm9 opened this issue Jun 4, 2023 · 3 comments

Comments

@cwm9cwm9
Copy link

cwm9cwm9 commented Jun 4, 2023

I upgrade to the latest version. In the previous version, I had changed the settings to use the new TVDB API and everything was working fine. Adding and scanning a new has slowed to a crawl.

To add a single show and rename the files now takes 40 minutes even though I am not interested in updating any other show. When I right click the new show to scan it for the very first time, there are hundreds of log entries that all follow the pattern...

2023-06-04 07:13:58|INFO| Obtained 500 responses from lastupdated query(5/15/2023 11:26:56 AM) #477 - until 5/27/2023 7:18:17 AM (1685207897)
2023-06-04 07:14:01|INFO| "..." 5/15/2023 11:26:56 AM) #478 - until 5/27/2023 7:46:07 AM (1685209567)
2023-06-04 07:14:05|INFO| "..." (5/15/2023 11:26:56 AM) #479 - until 5/27/2023 8:03:19 AM (1685210599)
2023-06-04 07:14:08|INFO| "..." (5/15/2023 11:26:56 AM) #480 - until 5/27/2023 8:20:18 AM (1685211618)

There are a few things I've noted about these log entries.

First, they all have have the same starting time. Is the program requesting the same data form the server over and over?

Second, there are three 500-response requests being made for every hour that has elapsed (I think) since the last time I ran the program. I'm guessing it is downloading updates to every show, even though I did not request this. Even so, why would it need this much data even if it was scanning every show? This is literally hundreds of thousands of responses from the API, and I don't have that many episodes. Surely it doesn't need this much data just because a few weeks went by? I keep expecting to be banned from the server when I haven't run the program in a while.

Third, if I repeatedly scan the same show, it does go much faster, but it is still making far more requests that I would have expected. Even with only seconds between scans, I get...

2023-06-04 07:43:55|INFO| Status on screen updated: Processing 1803 movie updates from TMDB. From between 6/4/2023 7:43:08 AM and 6/4/2023 7:43:51 AM
2023-06-04 07:43:56|INFO| "..." 529 show updates from TMDB. From between 6/4/2023 7:43:08 AM and 6/4/2023 7:43:51 AM

2023-06-04 07:44:55|INFO| "..." 1803 movie updates from TMDB. From between 6/4/2023 7:43:51 AM and 6/4/2023 7:44:52 AM
2023-06-04 07:44:56|INFO| "..." 529 show updates from TMDB. From between 6/4/2023 7:43:51 AM and 6/4/2023 7:44:52 AM

2023-06-04 07:45:50|INFO| "..." 1803 movie updates from TMDB. From between 6/4/2023 7:44:52 AM and 6/4/2023 7:45:47 AM
2023-06-04 07:45:51|INFO|"..." 529 show updates from TMDB. From between 6/4/2023 7:44:52 AM and 6/4/2023 7:45:47 AM

and I note, despite this being 3 scans over a period of just 2 minutes, that each of these entries shows the same "processing 1803/529 ... updates from TMDB". Shouldn't it be showing 0 updates with each of these scans? It appears to repeatedly retrieving the same data.

Also, I don't have any movies entered in TVRename! I only have shows in my database, so why is it retrieving movie updates at all? It appears to be scanning far more than either what I want scanned or even what I have in my database. It's almost like it's retrieving updates to every single movie/tv show in the entire TVDB database instead of just the ones I have personally.

In the old software, if I added single show and scanned it, it would only download data form that show. It there a way to go back to that behavior?

If this is happening world-wide, I'd expect this program to be single-handedly acting as a low-key DDOS on the servers.

Thanks

@cwm9cwm9 cwm9cwm9 changed the title Repeatedly extremely slow response times to scanning a JUST ADDED show after upgrade Repeatedly extremely slow processing times when adding a new show and scanning it without updating or scanning anything else after upgrade Jun 4, 2023
@SirSparkles
Copy link
Collaborator

Try force refresh all.

Should get you back in sync and then download times should go back to normal

@SirSparkles
Copy link
Collaborator

Note a "Tools" -> "Force Refresh All" is different to a right click 'Force Refresh'

@eentje
Copy link

eentje commented Jun 5, 2023

i had the same issue. force refresh all did the trick indeed.

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

3 participants