Merge pull request #5223 from Bond-009/minor10

Minor improvements
This commit is contained in:
dkanada
2021-02-20 10:56:55 +09:00
committed by GitHub
20 changed files with 78 additions and 77 deletions

View File

@@ -36,8 +36,8 @@ namespace Emby.Server.Implementations.LiveTv.Listings
private readonly ICryptoProvider _cryptoProvider;
private readonly ConcurrentDictionary<string, NameValuePair> _tokens = new ConcurrentDictionary<string, NameValuePair>();
private DateTime _lastErrorResponse;
private readonly JsonSerializerOptions _jsonOptions = JsonDefaults.GetOptions();
private DateTime _lastErrorResponse;
public SchedulesDirect(
ILogger<SchedulesDirect> logger,

View File

@@ -155,7 +155,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
if (channelIdValues.Count > 0)
{
channel.Id = string.Join("_", channelIdValues);
channel.Id = string.Join('_', channelIdValues);
}
return channel;