Skip to content

Commit

Permalink
Minor renames
Browse files Browse the repository at this point in the history
  • Loading branch information
scampower3 committed Mar 2, 2024
1 parent 5f4b397 commit 7df1473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jellyfin.Plugin.Tvdb/TvdbClientManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -450,13 +450,13 @@ public async Task<IReadOnlyList<ArtworkType>> GetArtworkTypeAsync(CancellationTo
break;
}

key = $"FindTvdbEpisode_{seriesTvdbIdString}_{seasonNumber.Value.ToString(CultureInfo.InvariantCulture)}_{episodeNumber.Value.ToString(CultureInfo.InvariantCulture)}";
key = $"FindTvdbEpisodeId_{seriesTvdbIdString}_{seasonNumber.Value.ToString(CultureInfo.InvariantCulture)}_{episodeNumber.Value.ToString(CultureInfo.InvariantCulture)}";
}
else if (searchInfo.PremiereDate.HasValue)
{
// tvdb expects yyyy-mm-dd format
airDate = searchInfo.PremiereDate.Value.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture);
key = $"FindTvdbEpisode_{seriesTvdbIdString}_{airDate}";
key = $"FindTvdbEpisodeId_{seriesTvdbIdString}_{airDate}";
}

if (key != null && _memoryCache.TryGetValue(key, out string? episodeTvdbId))
Expand Down

0 comments on commit 7df1473

Please sign in to comment.