mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 23:42:37 -07:00
Add media info table to library page
This commit is contained in:
parent
10e4d562ab
commit
381c3da31c
28 changed files with 1415 additions and 462 deletions
|
@ -73,6 +73,11 @@ class Users(object):
|
|||
|
||||
rows = []
|
||||
for item in users:
|
||||
if item['friendly_name']:
|
||||
friendly_name = item['friendly_name']
|
||||
else:
|
||||
friendly_name = item['username']
|
||||
|
||||
if item['media_type'] == 'episode' and item['parent_thumb']:
|
||||
thumb = item['parent_thumb']
|
||||
elif item['media_type'] == 'episode':
|
||||
|
@ -114,7 +119,7 @@ class Users(object):
|
|||
'recordsTotal': query['totalCount'],
|
||||
'data': rows,
|
||||
'draw': query['draw']
|
||||
}
|
||||
}
|
||||
|
||||
return dict
|
||||
|
||||
|
@ -199,7 +204,7 @@ class Users(object):
|
|||
'recordsTotal': query['totalCount'],
|
||||
'data': rows,
|
||||
'draw': query['draw']
|
||||
}
|
||||
}
|
||||
|
||||
return dict
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue