mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 15:32:38 -07:00
add getSync, fix named argument
This commit is contained in:
parent
f7bffdc050
commit
9d925cce03
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ import xmltodict
|
|||
|
||||
cmd_list = ['getLogs', 'getVersion', 'checkGithub', 'shutdown',
|
||||
'getSettings', 'restart', 'update', 'getApikey', 'getHistory',
|
||||
'getMetadata', 'getUserips', 'getPlayby']
|
||||
'getMetadata', 'getUserips', 'getPlayby, getSync']
|
||||
|
||||
|
||||
class Api(object):
|
||||
|
@ -456,7 +456,7 @@ class Api(object):
|
|||
else:
|
||||
self.msg = 'Failed to find users ips'
|
||||
|
||||
def _getPlayby(self, time_range=30, y_axis='plays', playtype='total_plays_per_month', **kwargs):
|
||||
def _getPlayby(self, time_range='30', y_axis='plays', playtype='total_plays_per_month', **kwargs):
|
||||
|
||||
graph = graphs.Graphs()
|
||||
if playtype == 'total_plays_per_month':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue