update live tv osd

This commit is contained in:
Luke Pulverenti 2017-03-18 19:37:29 -04:00
parent 3dcaeea20c
commit 79f3eb3fe2
2 changed files with 11 additions and 1 deletions

View File

@ -28,7 +28,11 @@ namespace Emby.Common.Implementations.IO
Logger = logger;
_supportsAsyncFileStreams = true;
_tempPath = tempPath;
EnableFileSystemRequestConcat = false;
// On Linux, this needs to be true or symbolic links are ignored
EnableFileSystemRequestConcat = environmentInfo.OperatingSystem != MediaBrowser.Model.System.OperatingSystem.Windows &&
environmentInfo.OperatingSystem != MediaBrowser.Model.System.OperatingSystem.OSX;
SetInvalidFileNameChars(environmentInfo.OperatingSystem == MediaBrowser.Model.System.OperatingSystem.Windows);
}

View File

@ -1037,6 +1037,12 @@ namespace MediaBrowser.Model.Dlna
private bool IsAudioEligibleForDirectPlay(MediaSourceInfo item, long? maxBitrate)
{
// Don't restrict by bitrate if coming from an external domain
if (item.IsRemote)
{
return true;
}
if (!maxBitrate.HasValue)
{
_logger.Info("Cannot direct play due to unknown supported bitrate");