Skip to content

Commit

Permalink
fix: Update VideoStreamRepository
Browse files Browse the repository at this point in the history
- Updated the logic to set the video stream logo from EPG
- Fixed a bug where the TimeShift value was not being updated correctly
  • Loading branch information
SenexCrenshaw committed Jan 31, 2024
1 parent 740584a commit dae2a2d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,9 @@ private async Task<VideoStream> UpdateVideoStreamValues(VideoStream videoStream,
{
videoStream.User_Tvg_name = request.Tvg_name;
await SetVideoStreamLogoFromEPG(videoStream, cancellationToken).ConfigureAwait(false);
//UpdateVideoStream(videoStream);
}

if (request.TimeShift != null && videoStream.TimeShift != request.Tvg_name)
if (request.TimeShift != null && videoStream.TimeShift != request.TimeShift)
{
videoStream.TimeShift = request.TimeShift;
}
Expand Down

0 comments on commit dae2a2d

Please sign in to comment.