Skip to content

Commit 71fd66f

Browse files
committed
MetadataProviders
1 parent 274a56a commit 71fd66f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎SmartTagsTask.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public async Task Execute(CancellationToken cancellationToken, IProgress<double>
110110
// === B. IMDb Top 250 (仅限电影) ===
111111
if (config.EnableImdbTopTags && item is Movie movie)
112112
{
113-
var imdbId = movie.GetProviderId(MetadataProvider.Imdb);
113+
var imdbId = movie.GetProviderId(MetadataProviders.Imdb);
114114
if (!string.IsNullOrEmpty(imdbId) && imdbTopIds.Contains(imdbId))
115115
{
116116
string topTag = "IMDb Top 250";
@@ -125,7 +125,7 @@ public async Task Execute(CancellationToken cancellationToken, IProgress<double>
125125
// === C. TMDB 原产国标签 ===
126126
if (config.EnableCountryTags)
127127
{
128-
var tmdbId = item.GetProviderId(MetadataProvider.Tmdb);
128+
var tmdbId = item.GetProviderId(MetadataProviders.Tmdb);
129129
if (!string.IsNullOrEmpty(tmdbId))
130130
{
131131
string type = item is Movie ? "movie" : "tv";

0 commit comments

Comments
 (0)