mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 13:23:24 -07:00
Change type to media_type
This commit is contained in:
parent
c70cc535e5
commit
77460f7617
5 changed files with 32 additions and 22 deletions
|
@ -683,7 +683,7 @@ class RecentlyAdded(Newsletter):
|
|||
start = 0
|
||||
|
||||
while not done:
|
||||
recent_items = pms_connect.get_recently_added_details(start=str(start), count='10', type=media_type)
|
||||
recent_items = pms_connect.get_recently_added_details(start=str(start), count='10', media_type=media_type)
|
||||
filtered_items = [i for i in recent_items['recently_added']
|
||||
if self.start_time < helpers.cast_to_int(i['added_at']) < self.end_time]
|
||||
if len(filtered_items) < 10:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue