mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
update live tv database
This commit is contained in:
@@ -42,7 +42,14 @@ namespace MediaBrowser.Api.Playback
|
||||
|
||||
var options = GetOptions();
|
||||
|
||||
if (options.EnableThrottling && IsThrottleAllowed(_job, options.ThrottleThresholdInSeconds))
|
||||
var threshold = options.ThrottleThresholdInSeconds;
|
||||
|
||||
if (!options.EnableThrottling)
|
||||
{
|
||||
threshold *= 2;
|
||||
}
|
||||
|
||||
if (IsThrottleAllowed(_job, threshold))
|
||||
{
|
||||
PauseTranscoding();
|
||||
}
|
||||
@@ -56,7 +63,7 @@ namespace MediaBrowser.Api.Playback
|
||||
{
|
||||
if (!_isPaused)
|
||||
{
|
||||
_logger.Debug("Sending pause command to ffmpeg");
|
||||
//_logger.Debug("Sending pause command to ffmpeg");
|
||||
|
||||
try
|
||||
{
|
||||
@@ -74,7 +81,7 @@ namespace MediaBrowser.Api.Playback
|
||||
{
|
||||
if (_isPaused)
|
||||
{
|
||||
_logger.Debug("Sending unpause command to ffmpeg");
|
||||
//_logger.Debug("Sending unpause command to ffmpeg");
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user