mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4200] [MERGED] HDHomeRun: Preemptively throw a LiveTvConflictException #9941
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4200
Author: @ryanpetris
Created: 9/24/2020
Status: ✅ Merged
Merged: 9/28/2020
Merged by: @dkanada
Base:
master← Head:hdhomerun-preemptive-livetv-conflict📝 Commits (1)
3fa3a9dPreemptively throw a LiveTvConflictException when the tracked live streams for a given device/tuner will exceed the number of supported streams.📊 Changes
1 file changed (+13 additions, -0 deletions)
View changed files
📝
Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs(+13 -0)📄 Description
When we can determine that the number of live streams will exceed the number of tuners available, prior to attempting to connect to the device, then throw a LiveTvConflictException to expedite the transfer to another host.
Changes
Copied logic from M3UTunerHost.GetChannelStream; the same logic applies here.
Issues
Unsure if this resolves an outstanding reported issue.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.