mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 15:32:38 -07:00
Add user filter to the synced table
This commit is contained in:
parent
9100e25a21
commit
d29a12b6db
6 changed files with 71 additions and 24 deletions
|
@ -2201,9 +2201,8 @@ class WebInterface(object):
|
|||
@cherrypy.tools.json_out()
|
||||
@requireAuth()
|
||||
def get_sync(self, machine_id=None, user_id=None, **kwargs):
|
||||
|
||||
if not machine_id:
|
||||
machine_id = plexpy.CONFIG.PMS_IDENTIFIER
|
||||
if user_id == 'null':
|
||||
user_id = None
|
||||
|
||||
plex_tv = plextv.PlexTV()
|
||||
result = plex_tv.get_synced_items(machine_id=machine_id, user_id_filter=user_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue