nicknsy / jellyscrub

Smooth mouse-over video scrubbing previews for Jellyfin.
MIT License
668 stars 27 forks source link

Jellyscrub takes far too much time on scheduled task #89

Closed UltraHKR closed 1 year ago

UltraHKR commented 1 year ago

I have installed jellyscrub on Jellyfin

Docker container Jellyfin v10.8.9 (linuxsever.io 10.8.9-1-ls201) Jellyscrub v1.0.0.9

I followed the recommended settings Ran manually a "Generate BIF files task) took a 5+ hours... (This is OK)

But I setup a daily task @ 3:00AM, but it takes the same 5 hours... This makes my server fans spool into jet mode, for a long while... for 10 episodes (25 min aveage) or less image

How can i help you diagnose this?

nicknsy commented 1 year ago

The task is set to only run for 5 hr, so once it reaches 5 hr run time it will exit. If you've got much media that can be processed in that timeframe each time you run the task it will max out at 5 hours.

This is part of the original forked code so I can look into if there's a way to uncap it.

UltraHKR commented 1 year ago

If understand you correctly, if my library is large enough that it doesn't finish in 5 hours it will keep using the same (5 hours) till the library is completely scanned?

Afterwards it should run far faster? (only scanning new files...)

nicknsy commented 1 year ago

Yes that's right