|
|
|
@ -142,10 +142,13 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
|
|
|
|
|
{
|
|
|
|
|
var response = JsonSerializer.DeserializeFromStream<DiscoverResponse>(stream);
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(info.Id))
|
|
|
|
|
{
|
|
|
|
|
lock (_modelCache)
|
|
|
|
|
{
|
|
|
|
|
_modelCache[info.Id] = response;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return response;
|
|
|
|
|
}
|
|
|
|
@ -159,11 +162,14 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
|
|
|
|
|
{
|
|
|
|
|
ModelNumber = defaultValue
|
|
|
|
|
};
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(info.Id))
|
|
|
|
|
{
|
|
|
|
|
// HDHR4 doesn't have this api
|
|
|
|
|
lock (_modelCache)
|
|
|
|
|
{
|
|
|
|
|
_modelCache[info.Id] = response;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return response;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|