josdion / subbuzz

Subtitles plugin for emby and jellyfin
GNU General Public License v3.0
100 stars 6 forks source link

How to skip/ignore certain libraries? #22

Open michael-zock opened 1 month ago

michael-zock commented 1 month ago

I've disabled the "Subtitle downloaders" entry in a library's options in 10.9 and yet 1.1.0.0 still wastes a ton of time trying to find subtitle for those library's contents where it will never find matches, needlessly taking up resources every time the maintenance task runs.

So, what's the correct way to exclude certain libraries, so this plugin won't even touch them?

josdion commented 1 month ago

@michael-zock Can you try to disable also all languages in "Download languages" section in library settings. Is this an issue in Jellyfin 10.9 ?

michael-zock commented 1 month ago

I've disabled both in 10.9.3, even though previously unchecking SubBuzz should've been enough (no need to even look at the languages if the plugin is unchecked for that library) and it still happens.

<?xml version="1.0" encoding="utf-8"?>
<PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EnableAddic7ed>true</EnableAddic7ed>
  <EnableOpenSubtitles>true</EnableOpenSubtitles>
  <EnablePodnapisiNet>true</EnablePodnapisiNet>
  <EnableSubf2m>false</EnableSubf2m>
  <EnableSubscene>true</EnableSubscene>
  <EnableSubssabbz>true</EnableSubssabbz>
  <EnableSubsunacsNet>true</EnableSubsunacsNet>
  <EnableYavkaNet>true</EnableYavkaNet>
  <EnableYifySubtitles>true</EnableYifySubtitles>
  <HashMatchByScore>100</HashMatchByScore>
  <MinScore>50</MinScore>
  <OpenSubUserName></OpenSubUserName>
  <OpenSubPassword>?</OpenSubPassword>
  <OpenSubApiKey />
  <OpenSubToken></OpenSubToken>
  <OpenSubUseHash>true</OpenSubUseHash>
  <SubEncoding>
    <DefaultEncoding>utf-8</DefaultEncoding>
    <AutoDetectEncoding>true</AutoDetectEncoding>
  </SubEncoding>
  <SubPostProcessing>
    <EncodeSubtitlesToUTF8>true</EncodeSubtitlesToUTF8>
    <AdjustDuration>false</AdjustDuration>
    <AdjustDurationCps>15</AdjustDurationCps>
    <AdjustDurationExtendOnly>true</AdjustDurationExtendOnly>
  </SubPostProcessing>
  <Cache>
    <Subtitle>true</Subtitle>
    <SubLifeInMinutes>10080</SubLifeInMinutes>
    <Search>true</Search>
    <SearchLifeInMinutes>240</SearchLifeInMinutes>
    <BasePath>C:\ProgramData\Jellyfin\Server\cache\subbuzz</BasePath>
  </Cache>
  <SubtitleInfoWithHtml>false</SubtitleInfoWithHtml>
</PluginConfiguration>

And the section from the library XML:

 <DisabledSubtitleFetchers>
    <string>subbuzz</string>
  </DisabledSubtitleFetchers>
  <SubtitleFetcherOrder>
    <string>subbuzz</string>
  </SubtitleFetcherOrder>