Merge pull request #2505 from MediaBrowser/dev

3.2.5.5
pull/1154/head
Luke 8 years ago committed by GitHub
commit 50ecda3d18

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

@ -1,3 +1,3 @@
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("3.2.5.4")] [assembly: AssemblyVersion("3.2.5.5")]

Loading…
Cancel
Save