mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Clear old collection numbers if not there on new fetch
This commit is contained in:
parent
8f105fb618
commit
50bb545b53
@ -676,6 +676,10 @@ namespace MediaBrowser.Providers.Movies
|
|||||||
{
|
{
|
||||||
movie.SetProviderId(MetadataProviders.TmdbCollection, movieData.belongs_to_collection.id.ToString(CultureInfo.InvariantCulture));
|
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;
|
float rating;
|
||||||
string voteAvg = movieData.vote_average.ToString(CultureInfo.InvariantCulture);
|
string voteAvg = movieData.vote_average.ToString(CultureInfo.InvariantCulture);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user