mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
fixes #111
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -158,6 +158,10 @@ namespace MediaBrowser.Model.Entities
|
||||
/// <summary>
|
||||
/// The subtitle
|
||||
/// </summary>
|
||||
Subtitle
|
||||
Subtitle,
|
||||
/// <summary>
|
||||
/// The data
|
||||
/// </summary>
|
||||
Data
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user