McCloudS / subgen

Autogenerate subtitles using OpenAI Whisper Model via Jellyfin, Plex, Emby, Tautulli, or Bazarr
MIT License
532 stars 48 forks source link

Fix threading/queuing #27

Closed McCloudS closed 8 months ago

McCloudS commented 10 months ago

I have a suspicion I'm not queuing/threading correctly and are dependent on some of whisper's settings to only run X tasks a time. This could (maybe?) cause webhooks to be missed/dropped when several are called quickly. Probably need to look at using threading or concurrent.futures with async webhooks.

McCloudS commented 10 months ago

The queuing may be working fine, just not updating the queue number correctly due to some threading issue. I added about 700gb of media and it has worked through most of it while doing 2 at a time continually saying "2 files in queue".