2012-12-29, 21:16
Today elupus fix prob with letter case. You can build new installer and try with your configuration.
https://github.com/xbmc/xbmc/commit/0f40...b06086a33c
https://github.com/xbmc/xbmc/commit/0f40...b06086a33c
(2012-12-31, 15:53)rickardkk Wrote: Thanks!
Do you know how to activate it (at the high level)?
I used to do it via the HTTP API:
xbmcCmds/xbmcHttp?command=SetBroadcast¶meter=2;8278
(2012-12-31, 17:39)jitterjames Wrote:(2012-12-31, 15:53)rickardkk Wrote: Thanks!
Do you know how to activate it (at the high level)?
I used to do it via the HTTP API:
xbmcCmds/xbmcHttp?command=SetBroadcast¶meter=2;8278
How are you sending button presses to XBMC? Maybe you can detect them directly from event ghost if you are using IR or the keyboard. If you are using an XBMC app for your phone or tablet then maybe not so easy.
I was also using this method and requesting event nitification via the http API. It should be possible to request it directly through the event client, but I don't know how. If it is not possible, then I think it should be.
(2012-05-27, 16:15)Mizaki Wrote: There seems to be a problem with adding directories that are not in the library:
Works and is in library.Code:{"jsonrpc": "2.0", "method": "Playlist.Add", "params": {"item": {"directory": "/mnt/media/audio/Art Brut/Bang Bang Rock 'n Roll/"}, "playlistid": 0}, "id": 1}
Does not work and is not in library. Invalid params is the error.Code:{"jsonrpc": "2.0", "method": "Playlist.Add", "params": {"item": {"directory": "/mnt/media/music/A/How Ace Are Buildings/"}, "playlistid": 0}, "id": 1}
Am I missing something?
[Player.Open Example
--------------------------------------
SendTCP: Sending (153 Bytes) - {"id":31,"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":"smb://AV-NAS/media/Movies/The Amazing Spider-Man/The Amazing Spider-Man.ISO"}}}
GetResp: Response (96 Bytes) - {"jsonrpc":"2.0","method":"Playlist.OnClear","params":{"data":{"playlistid":1},"sender":"xbmc"}}
GetResp: Response (39 Bytes) - {"id":31,"jsonrpc":"2.0","result":"OK"}
...
SendTCP: Sending (194 Bytes) - {"id":51,"jsonrpc":"2.0","method":"Player.GetItem","params":{"playerid":1,"properties":["cast","plot","year","mpaa","showtitle","title","season","episode","thumbnail","fanart","streamdetails"]}}
GetResp: Response (270 Bytes) - {"id":51,"jsonrpc":"2.0","result":{"item":{"cast":[],"episode":-1,"fanart":"","label":"The Amazing Spider-Man.ISO","mpaa":"","plot":"","season":-1,"showtitle":"","streamdetails":{"audio":[],"subtitle":[],"video":[]},"thumbnail":"","title":"","type":"unknown","year":0}}}
Played Through GUI Example
-------------------------------------------------
SendTCP: Sending (195 Bytes) - {"id":143,"jsonrpc":"2.0","method":"Player.GetItem","params":{"playerid":1,"properties":["cast","plot","year","mpaa","showtitle","title","season","episode","thumbnail","fanart","streamdetails"]}}
GetResp: Response (14799 Bytes) - {"id":143,"jsonrpc":"2.0","result":{"item":{"cast":[{"name":"Andrew Garfield","role":"Spider-Man / Peter Parker","thumbnail":"image://http%3a%2f%2ffiles.mymovies.dk%2fPhotos%2fd6b13260-cfa6-4fa6-9eb9-a9121a48a746.jpg/"},{"name":"Emma Stone","role":"Gwen...
19:49:05 T:7968 DEBUG: JSONRPC: Incoming request: {"id":210,"jsonrpc":"2.0","method":"Player.GetItem","params":{"playerid":1,"properties":["cast","plot","year","mpaa","showtitle","title","season","episode","thumbnail","fanart","streamdetails"]}}
19:49:05 T:7968 DEBUG: JSONRPC: Calling player.getitem
19:49:05 T:7968 DEBUG: CVideoDatabase::GetMovieId (), query = select idMovie from movie join files on files.idFile=movie.idFile where files.idPath=78
(2013-01-05, 08:48)kevinkelm Wrote: Hi,
I'm trying to figure out this json control stuff with Roomie but I'm not quite sure how the parameters should go. Commands with no parameters work fine but I'm not sure what I should use for toggle fullscreen and subtitles. The docs just say this
Parameters:
Global.Toggle fullscreen
This is what I'm trying that doesn't work
{"jsonrpc": "2.0", "method": "GUI.SetFullscreen", "params": { "fullscreen": "true" }, "id": "1"}
Thanks
{"jsonrpc": "2.0", "method": "GUI.SetFullscreen", "params": { "fullscreen": true }, "id": "1"}
{"jsonrpc": "2.0", "method": "GUI.SetFullscreen", "params": { "fullscreen": "toggle" }, "id": "1"}
{ "name": "subtitle", "required": true, "type": [
{ "type": "string", "enum": [ "previous", "next", "off", "on" ] },
{ "type": "integer", "minimum": 0, "description": "Index of the subtitle to display" }
]
}