Minor change

This commit is contained in:
Bond_009 2020-08-19 17:52:14 +02:00
parent 2b400c99ef
commit e77a45adcf

View file

@ -157,10 +157,10 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
{ {
if (!throwAllExceptions && ex.StatusCode.HasValue && ex.StatusCode.Value == HttpStatusCode.NotFound) if (!throwAllExceptions && ex.StatusCode.HasValue && ex.StatusCode.Value == HttpStatusCode.NotFound)
{ {
var defaultValue = "HDHR"; const string DefaultValue = "HDHR";
var response = new DiscoverResponse var response = new DiscoverResponse
{ {
ModelNumber = defaultValue ModelNumber = DefaultValue
}; };
if (!string.IsNullOrEmpty(cacheKey)) if (!string.IsNullOrEmpty(cacheKey))
{ {