mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-21 09:36:42 +00:00
Clear old collection numbers if not there on new fetch
This commit is contained in:
@@ -676,6 +676,10 @@ namespace MediaBrowser.Providers.Movies
|
||||
{
|
||||
movie.SetProviderId(MetadataProviders.TmdbCollection, movieData.belongs_to_collection.id.ToString(CultureInfo.InvariantCulture));
|
||||
}
|
||||
else
|
||||
{
|
||||
movie.SetProviderId(MetadataProviders.TmdbCollection, null); // clear out any old entry
|
||||
}
|
||||
|
||||
float rating;
|
||||
string voteAvg = movieData.vote_average.ToString(CultureInfo.InvariantCulture);
|
||||
|
||||
Reference in New Issue
Block a user