mirror of
https://github.com/mza921/Plex-Auto-Collections
synced 2024-11-14 16:27:22 +00:00
Fix TMDb trending for TV shows
This commit is contained in:
parent
b87a84b968
commit
3368498eff
1 changed files with 2 additions and 2 deletions
|
@ -292,9 +292,9 @@ def tmdb_get_shows(config_path, plex, plex_map, data, method):
|
||||||
for tshow in tmdb_shows:
|
for tshow in tmdb_shows:
|
||||||
count += 1
|
count += 1
|
||||||
t_tvs.append(tshow.id)
|
t_tvs.append(tshow.id)
|
||||||
if count == amount:
|
if count == data:
|
||||||
break
|
break
|
||||||
if count == amount:
|
if count == data:
|
||||||
break
|
break
|
||||||
elif method in ["tmdb_popular", "tmdb_top_rated", "tmdb_trending_daily", "tmdb_trending_weekly"]:
|
elif method in ["tmdb_popular", "tmdb_top_rated", "tmdb_trending_daily", "tmdb_trending_weekly"]:
|
||||||
trending = Trending()
|
trending = Trending()
|
||||||
|
|
Loading…
Reference in a new issue