2013-10-03, 20:40
Hi,
This may be an incredibly stupid question, but I did try to find an answer by reading through the forum and couldn't quite find the answer.
It appears that a Json equivalent for xbmc.executebuiltin("PlayMedia("filename")") doesn't exist.
Player.Open is close, but it doesn't seem to handle .strm files in the same manner as PlayMedia.
An example where this needs to be done is with the Skin.Widgets service in order to get it to play items which are .strms, such as movies and tv episodes that are added to the library from the Hulu addon.
So, I assume to get the same functionality, I need to first figure out that I have a .strm file, then unpack it, load into a playlist, then do a Player.Open via Json-RPC. Would this be correct or is there an exposed RPC that already does this?
Thanks
This may be an incredibly stupid question, but I did try to find an answer by reading through the forum and couldn't quite find the answer.
It appears that a Json equivalent for xbmc.executebuiltin("PlayMedia("filename")") doesn't exist.
Player.Open is close, but it doesn't seem to handle .strm files in the same manner as PlayMedia.
An example where this needs to be done is with the Skin.Widgets service in order to get it to play items which are .strms, such as movies and tv episodes that are added to the library from the Hulu addon.
So, I assume to get the same functionality, I need to first figure out that I have a .strm file, then unpack it, load into a playlist, then do a Player.Open via Json-RPC. Would this be correct or is there an exposed RPC that already does this?
Thanks