mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-26 02:27:06 +01:00
add ios dts workaround
This commit is contained in:
@@ -6,6 +6,7 @@ using MediaBrowser.Model.MediaInfo;
|
||||
using MediaBrowser.Model.Session;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
@@ -412,6 +413,17 @@ namespace MediaBrowser.Model.Dlna
|
||||
}
|
||||
}
|
||||
|
||||
public List<string> AllAudioCodecs
|
||||
{
|
||||
get
|
||||
{
|
||||
return MediaSource.MediaStreams.Where(i => i.Type == MediaStreamType.Audio)
|
||||
.Select(i => i.Codec)
|
||||
.Where(i => !string.IsNullOrWhiteSpace(i))
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the video stream that will be used
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user