mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-02 14:56:31 +01:00
Do better to make sure hls files are cleaned up
This commit is contained in:
@@ -70,7 +70,11 @@ namespace MediaBrowser.Model.Configuration
|
||||
|
||||
public NotificationOption GetOptions(string type)
|
||||
{
|
||||
return Options.FirstOrDefault(i => string.Equals(type, i.Type, StringComparison.OrdinalIgnoreCase));
|
||||
foreach (NotificationOption i in Options)
|
||||
{
|
||||
if (string.Equals(type, i.Type, StringComparison.OrdinalIgnoreCase)) return i;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public bool IsEnabled(string type)
|
||||
|
||||
Reference in New Issue
Block a user