Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
input: tvhdhomerun: Handle the device changing IP addresses
Previously the device detection loop would always ignore HDHomeRuns with the same UID as devices that had already been detected. This would not detect if an HDHomeRun changed IPs for any reason (e.g. APIPA, misconfigured DHCP server) while TVHeadend was running, requiring a restart to resume functionality. Instead, if a newly detected device has the same UID as an previously-detected one but a different IP address, destroy the old device and recreate it with the new IP address.
- Loading branch information
Showing
3 changed files
with
38 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters