When i try to add a recording with Python htsp like this:
h=HTSPClient(('10.4.4.8',9982))
h.hello()
h.send("addDvrEntry",{'channelId': 437649270,'start':1438250400,'stop':1438254000,'disp_title':'test'})
I get this debug result:
2015-07-10 09:11:34 DEBUG : htsp tx:
2015-07-10 09:11:34 DEBUG : { 'clientname': 'HTSP PyClient', 'htspversion': 17, 'method': 'hello'}
2015-07-10 09:11:34 DEBUG : htsp.recv rx:
2015-07-10 09:11:34 DEBUG : { 'challenge': 'M\xe8?\xdc\x1b\xfb\xae\xe7\xcd~\xf1\xbd\xa2\x8e\n[oc\xf6\xect\x9b2o\xf6\xc3\x99\x94O\xe1\x80\xdf',
'htspversion': 20,
'language': 'swe',
'servercapability': [ 'caclient',
'tvadapters',
'satip_client',
'satip_server',
'trace'],
'servername': 'HTS Tvheadend',
'serverversion': '4.0.5'}
2015-07-10 09:11:34 DEBUG : htsp tx:
2015-07-10 09:11:34 DEBUG : { 'channelId': 437649270,
'disp_title': 'test',
'method': 'addDvrEntry',
'start': 1438250400,
'stop': 1438254000}
2015-07-10 09:11:34 DEBUG : htsp.recv rx:
2015-07-10 09:11:34 DEBUG : { 'error': 'Invalid arguments'}
Any idea whats wrong?