JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (/forumdisplay.php?fid=93)
+---- Forum: JSON-RPC (/forumdisplay.php?fid=174)
+---- Thread: JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC (/showthread.php?tid=68263)
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
VideoPlaylist.GetItems Duration=0 - wuench - 2011-01-30 18:20
Title says it all. Duration is showing zero in the web interface and for the VideoPlaylist.GetItems command, but not in the GetInfoLablels ListItem.Duration or GetInfoLabels VideoPlayer.Duration
EDIT: Nevermind on this one. It looks like some of my movies don't have the duration under streamsettings in the NFO file, so the data isn't there. I do have some other movies showing this data.
- Montellese - 2011-01-30 19:44
Please create bug reports for these problems on http://trac.xbmc.org otherwise these problems tend to get forgotten/lost. Best case you provide the request that causes problems and the response you get along with a description of what exactly the problem is and if we need to do something special to reproduce it. Thanks!
- topfs2 - 2011-01-31 00:53
dann0 Wrote:I have just read through this thread and i should say thankyou to everyone who has put there efforts into this interface, i use it and i love it!
Both the player and the playlist wrapping is rather bad I agree. It follows our internal structure way to much and I opted for speedy development and didn't make it proper.
Hopefully we will have time to redesign this for version 4.
- Celox - 2011-02-01 20:57
ok i think i found something weird. in the last couple of weeks i noticed that my xbmc would crash randomly. so i compiled the latest git source and was carefully watching if it would happen again. and i think i found out why. everytime i access MFP which requests info through json my xbmc would crash.
so i went into the config.php to disable the json config.
it did not happen since that, i will be monitoring it further.
anyone else experiencing issues like that?
it did not happen before i had MFP running...
i also found there is an ticket already open http://trac.xbmc.org/ticket/10905
i activated debugging and i'm trying to reproduce the problem.
oh and if i should post the debug in a different thread, please let me know.
i only thought this might be the appropriate thread for it.
- Hiram - 2011-02-02 16:24
Hi guys, I wanted a way to retrieve the episodes of a TV show with the season "Specials". So I thought I'd try something straightforward, and put the season under params as "specials". This results in every episode, from every season, of the specified TV show to come up.
For my particular case this is actually fantastic, as I want to get all the episodes anyway so this saves some processing. But I did a bit of experimenting and no matter what you put in the season param, if it's a string, it returns every episode. Thought this would be worth reporting!
As a side note, I think the string "all" should be an option, to provide the functionality I've discovered.
Edit: How can I get the movies in a set?
Ticket 11165 created - turbolag - 2011-02-05 01:58
I created the ticket to track the permissions error when calling Files.Download.
I see that in the Roadmap, HTTP API is to be completely removed from XBMC in three weeks time. Since much of the functionality is missing from JSONRPC, will the HTTP API be kept alive?
- topfs2 - 2011-02-05 02:29
turbolag Wrote:I created the ticket to track the permissions error when calling Files.Download.
I'd opt to say that we will keep HTTP API until jsonrpc is really close functionality wise, might even be an overlap in time where both exist. HTTP API will however not get new features during this time.
The idea was to remove it in eden but I fear it is unlikely to happen due to the time constraints we all have had to work on the API. Functionality will be really close to HTTP API in eden though, it will be very stable and there are very few stuff missing nowadays. The only missing thing is the execbuiltin which violates the entire philosophy about jsonrpc and it will be really hard to cover all it does before deprecating. Which is why we want as many tickets as possible about missing features and how the methods to access that feature should look (the less we need to think the more likely it is implemented).
- Tolriq - 2011-02-05 11:28
About missing feature since i got no answer i suppose it's missing, but we need a way to get covers / fanart for the All seasons in TV Shows.
Or a way to get translated strings in user language from json.
Even if i think that the CRC calculation should really not be language based
- topfs2 - 2011-02-05 17:39
Tolriq Wrote:About missing feature since i got no answer i suppose it's missing, but we need a way to get covers / fanart for the All seasons in TV Shows.
hmm, thought fanart was implemented, if not it really should be. please create a feature request ticket for it Explain exactly what params and fields etc should be.
- wuench - 2011-02-05 19:18
I understand the VideoPlaylist.GetItems fields parameter uses the VideoInfoTag values. What would be the syntax for the field parameter to pull cast and stream info?
- topfs2 - 2011-02-05 19:38
wuench Wrote:I understand the VideoPlaylist.GetItems fields parameter uses the VideoInfoTag values. What would be the syntax for the field parameter to pull cast and stream info?
Think neither of those are wrapped atm. A ticket would be nice (one for each of the fields).
- Tolriq - 2011-02-05 19:43
Fanart for seasons just send back the standard tv show fanart.
What is missing is just the "all seasons" cover and fanart in the VideoLibrary.GetSeasons
like add a season -1 with the data
Will open a trac soon. Or perhaps there's a way to get the "* All seasons" in the user language from httpapi or json ?
- noem - 2011-02-08 12:05
I have a lame question
are System.GetInfoLabels,System.GetInfoBooleans working in 10.0 “Dharma” ?
Im trying :
and I get:
NVM got it working ....
- vidtech - 2011-02-08 13:53
Hi guys, new round these parts,
Been looking at the methods that have been mapped so far and was wondering if there was any way to navigate the menus of xbmc? - i.e. getting the same result as using up,down, left, right & enter on a keyboard.
- Montellese - 2011-02-08 20:16
noem Wrote:I have a lame question
For anyone else who doesn't get this working, the proper way is:
vidtech Wrote:Hi guys, new round these parts,
This is currently not possible. Please check Trac to see if there already is a feature request for this. If not feel free to add one. If you (or anyone else) got any other ideas please create a feature request for every feature you have in mind (not one for all of them) on Trac. Thanks