Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Commit

Permalink
Trying to find problem with my JSONRPC calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Hoad committed May 6, 2011
1 parent 5fde56a commit d163f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_shares():
return results

def get_movie_sources():
result = eval(xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": {"fields": ["file", "label", "trailer"]}, "id": 1}'))
result = eval(xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": {"fields": ["file"]}, "id": 1}'))
print result
movies = result['result']['movies']
print movies
Expand Down

0 comments on commit d163f94

Please sign in to comment.