mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-21 05:43:22 -07:00
Add view on Plex to newsletter
This commit is contained in:
parent
0f39201774
commit
af3501a6a6
4 changed files with 84 additions and 27 deletions
|
@ -348,7 +348,7 @@ class RecentlyAdded(Newsletter):
|
|||
children = pms_connect.get_item_children(show_rating_key, get_grandchildren=True)
|
||||
filtered_children = [i for i in children['children_list']
|
||||
if helpers.cast_to_int(i['added_at']) > self.start_time]
|
||||
filtered_children.sort(key=lambda x: x['parent_media_index'])
|
||||
filtered_children.sort(key=lambda x: int(x['parent_media_index']))
|
||||
|
||||
seasons = []
|
||||
for k, v in groupby(filtered_children, key=lambda x: x['parent_media_index']):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue