mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-27 12:34:56 +01:00
ReSharper format: conform inline 'out' parameters.
This commit is contained in:
@@ -387,9 +387,7 @@ namespace Emby.Server.Implementations.Channels
|
||||
|
||||
private async Task<IEnumerable<MediaSourceInfo>> GetChannelItemMediaSourcesInternal(IRequiresMediaInfoCallback channel, string id, CancellationToken cancellationToken)
|
||||
{
|
||||
Tuple<DateTime, List<MediaSourceInfo>> cachedInfo;
|
||||
|
||||
if (_channelItemMediaInfo.TryGetValue(id, out cachedInfo))
|
||||
if (_channelItemMediaInfo.TryGetValue(id, out var cachedInfo))
|
||||
{
|
||||
if ((DateTime.UtcNow - cachedInfo.Item1).TotalMinutes < 5)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user