mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update live tv osd
This commit is contained in:
parent
3dcaeea20c
commit
79f3eb3fe2
@ -28,7 +28,11 @@ namespace Emby.Common.Implementations.IO
|
|||||||
Logger = logger;
|
Logger = logger;
|
||||||
_supportsAsyncFileStreams = true;
|
_supportsAsyncFileStreams = true;
|
||||||
_tempPath = tempPath;
|
_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);
|
SetInvalidFileNameChars(environmentInfo.OperatingSystem == MediaBrowser.Model.System.OperatingSystem.Windows);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1037,6 +1037,12 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
|
|
||||||
private bool IsAudioEligibleForDirectPlay(MediaSourceInfo item, long? maxBitrate)
|
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)
|
if (!maxBitrate.HasValue)
|
||||||
{
|
{
|
||||||
_logger.Info("Cannot direct play due to unknown supported bitrate");
|
_logger.Info("Cannot direct play due to unknown supported bitrate");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user