Fix slowness

This commit is contained in:
angelblue05 2018-10-04 23:38:55 -05:00
commit 2ec188341c
3 changed files with 15 additions and 10 deletions

View file

@ -68,7 +68,7 @@ class Events(object):
elif mode =='play':
item = TheVoid('GetItem', {'Id': params['id'], 'ServerId': server}).get(10, {'Items': {}})
item = TheVoid('GetItem', {'Id': params['id'], 'ServerId': server}).get()
Actions(server).play(item, params.get('dbid'), playlist=params.get('playlist') == 'true')
elif mode == 'playlist':