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

Scheduler task high cpu usage #105

Open
skosnore opened this issue Sep 13, 2024 · 0 comments
Open

Scheduler task high cpu usage #105

skosnore opened this issue Sep 13, 2024 · 0 comments

Comments

@skosnore
Copy link

Got high cpu usage after every night and need to restart Plex-Auto-Languages
image

LOG:
2024-09-13 02:00:01,727 [INFO] Starting scheduler task
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/app/plex_auto_languages/utils/scheduler.py", line 22, in run
schedule.run_pending()
File "/usr/local/lib/python3.8/site-packages/schedule/init.py", line 822, in run_pending
default_scheduler.run_pending()
File "/usr/local/lib/python3.8/site-packages/schedule/init.py", line 100, in run_pending
self._run_job(job)
File "/usr/local/lib/python3.8/site-packages/schedule/init.py", line 172, in _run_job
ret = job.run()
File "/usr/local/lib/python3.8/site-packages/schedule/init.py", line 693, in run
ret = self.job_func()
File "main.py", line 107, in scheduler_callback
self.plex.start_deep_analysis()
File "/app/plex_auto_languages/plex_server.py", line 283, in start_deep_analysis
episode.reload()
File "/usr/local/lib/python3.8/site-packages/plexapi/base.py", line 394, in reload
return self._reload(key=key, **kwargs)
File "/usr/local/lib/python3.8/site-packages/plexapi/base.py", line 952, in _reload
raise NotImplementedError('History objects cannot be reloaded. Use source() to get the source media item.')
NotImplementedError: History objects cannot be reloaded. Use source() to get the source media item.

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

1 participant