2011-12-22, 03:14
Hitcher Wrote:So can this be fixed on the XBMC side of things or do we need to update the script and our skins <onclick> commands?I t is quite possible that the method used currently can be made to work on XBMCs side, I just have no idea how much effort it will require.
I'd like to get it sorted before Eden if possible.
Thanks.
ronie Wrote:if this requires both script and skin updates, i'd prefer to wait until after eden.I can understand where you are coming from, but the changes are very small and should be almost identical across the add-ons.
since both RandomItems and GlobalSearch use the same method of playing episodes as well,
i assume skin/script code for those will also have to be adjusted.
making such a number of changes this close to the release of xbmc eden
is something that should be avoided imo.
There is one halfway solution which I personally would like to see, the ability for a skin to play an item by its id (movieid, episodeid etc) as this should line
it up with the way that the jsonrpc play requests happen. I the solution that I had presented I modified the add-on to pass the id, which is two lines of code per video type, I then changed the plugins onclick to send that id back to the add-on as a play request and in the add-on I implemented a handler that caught that and passed it on via a jsonrpc command. I reallity that last bit could be avoided by simply having the script pass the id to XBMC to play it.