diff --git a/MediaBrowser.Controller/Providers/MediaInfo/BaseFFProbeProvider.cs b/MediaBrowser.Controller/Providers/MediaInfo/BaseFFProbeProvider.cs index 06af1c8cc..bc8052f0e 100644 --- a/MediaBrowser.Controller/Providers/MediaInfo/BaseFFProbeProvider.cs +++ b/MediaBrowser.Controller/Providers/MediaInfo/BaseFFProbeProvider.cs @@ -214,6 +214,10 @@ namespace MediaBrowser.Controller.Providers.MediaInfo { stream.Type = MediaStreamType.Subtitle; } + else if (streamInfo.codec_type.Equals("data", StringComparison.OrdinalIgnoreCase)) + { + stream.Type = MediaStreamType.Data; + } else { stream.Type = MediaStreamType.Video; diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs index 23744d644..84ae72393 100644 --- a/MediaBrowser.Model/Entities/MediaStream.cs +++ b/MediaBrowser.Model/Entities/MediaStream.cs @@ -158,6 +158,10 @@ namespace MediaBrowser.Model.Entities /// /// The subtitle /// - Subtitle + Subtitle, + /// + /// The data + /// + Data } }