mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
implement modular media sources
This commit is contained in:
@@ -141,6 +141,11 @@ namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
if (Type != MediaStreamType.Subtitle) return false;
|
||||
|
||||
if (string.IsNullOrEmpty(Codec) && !IsExternal)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return IsTextFormat(Codec);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user