mirror of
https://github.com/rembo10/headphones.git
synced 2026-04-20 11:59:36 +01:00
Update notifiers.py
This commit is contained in:
@@ -247,7 +247,7 @@ class LMS:
|
||||
self.hosts = headphones.LMS_HOST
|
||||
|
||||
def _sendjson(self, host):
|
||||
data = {'id': 1, 'method': 'slim.request', 'params': ["",["rescan"]]}
|
||||
data = {'id': 1, 'method': 'slim.request', 'params': ["",["rescan"]]}
|
||||
data = simplejson.JSONEncoder().encode(data)
|
||||
|
||||
content = {'Content-Type': 'application/json'}
|
||||
|
||||
Reference in New Issue
Block a user