mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-19 00:26:25 +00:00
live tv updates
This commit is contained in:
@@ -161,7 +161,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
||||
return null;
|
||||
}
|
||||
|
||||
return val.Value * 2;
|
||||
return val.Value;
|
||||
}
|
||||
|
||||
public string GetStatusName(RecordingStatus status)
|
||||
@@ -222,6 +222,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
||||
IsPremiere = info.IsPremiere,
|
||||
RunTimeTicks = (info.EndDate - info.StartDate).Ticks,
|
||||
LocationType = recording.LocationType,
|
||||
OriginalAirDate = info.OriginalAirDate,
|
||||
|
||||
MediaStreams = _itemRepo.GetMediaStreams(new MediaStreamQuery
|
||||
{
|
||||
|
||||
@@ -249,11 +249,7 @@ namespace MediaBrowser.Server.Implementations.MediaEncoder
|
||||
{
|
||||
process.Kill();
|
||||
}
|
||||
catch (InvalidOperationException ex1)
|
||||
{
|
||||
_logger.ErrorException("Error killing ffprobe", ex1);
|
||||
}
|
||||
catch (Win32Exception ex1)
|
||||
catch (Exception ex1)
|
||||
{
|
||||
_logger.ErrorException("Error killing ffprobe", ex1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user