[PR #4200] [MERGED] HDHomeRun: Preemptively throw a LiveTvConflictException #9941

Closed
opened 2026-02-07 06:11:11 +03:00 by OVERLORD · 0 comments
Owner

📋 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: masterHead: hdhomerun-preemptive-livetv-conflict


📝 Commits (1)

  • 3fa3a9d Preemptively 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.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/4200 **Author:** [@ryanpetris](https://github.com/ryanpetris) **Created:** 9/24/2020 **Status:** ✅ Merged **Merged:** 9/28/2020 **Merged by:** [@dkanada](https://github.com/dkanada) **Base:** `master` ← **Head:** `hdhomerun-preemptive-livetv-conflict` --- ### 📝 Commits (1) - [`3fa3a9d`](https://github.com/jellyfin/jellyfin/commit/3fa3a9d57a9e1d8ab0ae34443731a74aceed9563) Preemptively 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) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs` (+13 -0) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:11:11 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9941