2011-08-07, 07:23
I'm running a nightly build (dated July 27) on my ATV2. I used to be able to slap the webservice with:
and have my library update. However, it seems with this release (or maybe earlier) it's erring out.
I tried some other methods (e.g. pulling video file lists) and they worked just fine.
Has something changed? Debugging is turned on but while tailing the log file I don't see any indication of a problem (nothing is noted in the log file).
Code:
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.ScanForContent", "id": 1 }' -H 'content-type: text/plain;' http://192.168.0.3:8080/jsonrpc
and have my library update. However, it seems with this release (or maybe earlier) it's erring out.
Code:
$ curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.ScanForContent", "id": 1 }' -H 'content-type: text/plain;' http://192.168.0.3:8080/jsonrpc
{"error":{"code":-32601,"message":"Method not found."},"id":1,"jsonrpc":"2.0"}
I tried some other methods (e.g. pulling video file lists) and they worked just fine.
Has something changed? Debugging is turned on but while tailing the log file I don't see any indication of a problem (nothing is noted in the log file).