morpheus65535 / bazarr

Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements. You define your preferences by TV show or movie and Bazarr takes care of everything for you.
https://www.bazarr.media
GNU General Public License v3.0
2.86k stars 223 forks source link

Bazaar keeping HDDs spun up (Follow Up to #2044) #2330

Closed k29t59dh closed 9 months ago

k29t59dh commented 10 months ago

To follow-up on https://github.com/morpheus65535/bazarr/issues/2044

I've almost solved it by:

  1. Enabling Skip video file hash calculation
  2. Enabling Defer searching of subtitles until scheduled task execution for sonarr and radarr and instead:
  3. manually triggering search via API calls from sonarr/radarr scripts when new media's added

Despite that the scheduled search and upgrade tasks still spin up the disks, so the one remaining piece would be a Never option for Search and Upgrade Subtitles:

Screenshot 2023-12-17 at 3 01 10 PM

I tried to hack it in (at least to test) but I couldn't find the frontend sources in my docker install. Maybe someone more knowledgable can tackle that.

I can post my sonarr and radarr scripts if anyone else would like to use them.

morpheus65535 commented 10 months ago

Bazarr does already search for subtitles when new media is imported in Sonarr/Radarr. I don't know why you use external script to achieve that.

If you want to create a PR to dev branch for a "Never", you need to edit at least those files:

k29t59dh commented 10 months ago

Bazarr does already search for subtitles when new media is imported in Sonarr/Radarr. I don't know why you use external script to achieve that.

Right, I misremembered. I added that because I think in some cases bazarr would "upgrade" imported subtitles even with Upgrade Manually Downloaded or Translated Subtitles disabled - maybe an import timing issue. So I trigger it manually only when none are present.

Thanks for the links, I'll take another look at it.

JaiZed commented 10 months ago

Actually, I’ve been looking at for the last few days and I’m just about done with an implementation that should handle all your current concerns. Basically, almost every task will have a Manually option.

morpheus65535 commented 10 months ago

@k29t59dh Something else to fix here?

morpheus65535 commented 9 months ago

No news, good news!

k29t59dh commented 9 months ago

I just noticed this - I'll test it out. Helps enormously, thank you.

k29t59dh commented 8 months ago

I've been running this for a couple weeks - works beautifully. Thanks again.

JaiZed commented 8 months ago

Good to hear that it's working as intended. Just doing our part to save energy and keep the Earth green, 1 watt at a time. 😀