Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
ba905fecd8
|
@ -916,6 +916,12 @@ namespace MediaBrowser.Controller.Providers.Movies
|
||||||
}
|
}
|
||||||
|
|
||||||
movie.SetProviderId(MetadataProviders.Imdb, movieData.imdb_id);
|
movie.SetProviderId(MetadataProviders.Imdb, movieData.imdb_id);
|
||||||
|
|
||||||
|
if (movieData.belongs_to_collection != null)
|
||||||
|
{
|
||||||
|
movie.SetProviderId(MetadataProviders.TmdbCollection, movieData.belongs_to_collection.id.ToString(CultureInfo.InvariantCulture));
|
||||||
|
}
|
||||||
|
|
||||||
float rating;
|
float rating;
|
||||||
string voteAvg = movieData.vote_average.ToString(CultureInfo.InvariantCulture);
|
string voteAvg = movieData.vote_average.ToString(CultureInfo.InvariantCulture);
|
||||||
//tmdb appears to have unified their numbers to always report "7.3" regardless of country
|
//tmdb appears to have unified their numbers to always report "7.3" regardless of country
|
||||||
|
|
|
@ -29,6 +29,10 @@ namespace MediaBrowser.Model.Entities
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The rotten tomatoes
|
/// The rotten tomatoes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
RottenTomatoes
|
RottenTomatoes,
|
||||||
|
/// <summary>
|
||||||
|
/// Tmdb Collection Id
|
||||||
|
/// </summary>
|
||||||
|
TmdbCollection
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,6 +111,9 @@
|
||||||
<Content Include="dashboard-ui\css\images\items\searchhints\tv.png">
|
<Content Include="dashboard-ui\css\images\items\searchhints\tv.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\css\images\media\settings.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\css\images\rotten.png">
|
<Content Include="dashboard-ui\css\images\rotten.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
|
@ -173,7 +173,4 @@ Global
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(Performance) = preSolution
|
|
||||||
HasPerformanceSessions = true
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|
Loading…
Reference in New Issue
Block a user