diff options
| author | theguymadmax <theguymadmax@proton.me> | 2026-06-01 11:20:08 -0400 |
|---|---|---|
| committer | theguymadmax <theguymadmax@proton.me> | 2026-06-01 11:20:08 -0400 |
| commit | 9ab7cc0fe975a2274d6e7ff5285f23c4c4c4cdd6 (patch) | |
| tree | 071e57ba469a98092ec0c9631d0e1105570022c3 | |
| parent | 8b387c82cf8011c0df0efb56ee7aaa97063ee869 (diff) | |
Fix incorrect list capacity
| -rw-r--r-- | MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieImageProvider.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieImageProvider.cs b/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieImageProvider.cs index 714c57d361..b188f5deb4 100644 --- a/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieImageProvider.cs +++ b/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieImageProvider.cs @@ -95,7 +95,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.Movies var posters = movie.Images.Posters; var backdrops = movie.Images.Backdrops; var logos = movie.Images.Logos; - var remoteImages = new List<RemoteImageInfo>(posters?.Count ?? 0 + backdrops?.Count ?? 0 + logos?.Count ?? 0); + var remoteImages = new List<RemoteImageInfo>((posters?.Count ?? 0) + (backdrops?.Count ?? 0) + (logos?.Count ?? 0)); if (posters is not null) { |
