mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix duplication of remote trailers
This commit is contained in:
parent
3b486fc0ee
commit
112db30ff2
@ -312,7 +312,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.Movies
|
|||||||
var trailers = new List<MediaUrl>();
|
var trailers = new List<MediaUrl>();
|
||||||
for (var i = 0; i < movieResult.Videos.Results.Count; i++)
|
for (var i = 0; i < movieResult.Videos.Results.Count; i++)
|
||||||
{
|
{
|
||||||
var video = movieResult.Videos.Results[0];
|
var video = movieResult.Videos.Results[i];
|
||||||
if (!TmdbUtils.IsTrailerType(video))
|
if (!TmdbUtils.IsTrailerType(video))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user