2010-11-25, 05:19
I'm trying to use JSON in my script to get around a problem that I have with the different DBs that people use(I don't have a problem about SQLite, just MySQL)
I see one of the new additions is GetAlbumDetails.
I hope I am structuring the call correctly. I'm not sure which way is the right one.
or is this correct?
I see one of the new additions is GetAlbumDetails.
I hope I am structuring the call correctly. I'm not sure which way is the right one.
Code:
{"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbumDetails", "param": {"albumid": "2"}, "id": 1}
or is this correct?
Code:
{"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbumDetails", "param": {"albumid": 2}, "id": 1}