mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 13:57:14 -04:00
update subtitle task to match the other scheduled tasks
This commit is contained in:
parent
aadf7676d1
commit
9faa68b26f
@ -36,12 +36,6 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||||||
_json = json;
|
_json = json;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Name => "Download missing subtitles";
|
|
||||||
|
|
||||||
public string Description => "Searches the internet for missing subtitles based on metadata configuration.";
|
|
||||||
|
|
||||||
public string Category => "Library";
|
|
||||||
|
|
||||||
private SubtitleOptions GetOptions()
|
private SubtitleOptions GetOptions()
|
||||||
{
|
{
|
||||||
return _config.GetConfiguration<SubtitleOptions>("subtitles");
|
return _config.GetConfiguration<SubtitleOptions>("subtitles");
|
||||||
@ -204,6 +198,18 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string Name => "Download missing subtitles";
|
||||||
|
|
||||||
|
public string Description => "Searches the internet for missing subtitles based on metadata configuration.";
|
||||||
|
|
||||||
|
public string Category => "Library";
|
||||||
|
|
||||||
public string Key => "DownloadSubtitles";
|
public string Key => "DownloadSubtitles";
|
||||||
|
|
||||||
|
public bool IsHidden => false;
|
||||||
|
|
||||||
|
public bool IsEnabled => true;
|
||||||
|
|
||||||
|
public bool IsLogged => true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user