2016-05-13, 10:25
Dear all,
I observe that while browsing around with Files.GetDirectory in some addon of kodi, then passing some resulting items of the array "files" to Player.Open (I passed the item having "filetype" = "file", and feed its "file" property to Player.Open), I may get a dialog "Select link" showing up in Kodi to select several alternative URLs of that media.
From the viewpoint of RPC programming, how can I distinguish the two case: Player.Open will open the media or it will show up the Dialog ?
Many thanks
Soq2000
I observe that while browsing around with Files.GetDirectory in some addon of kodi, then passing some resulting items of the array "files" to Player.Open (I passed the item having "filetype" = "file", and feed its "file" property to Player.Open), I may get a dialog "Select link" showing up in Kodi to select several alternative URLs of that media.
From the viewpoint of RPC programming, how can I distinguish the two case: Player.Open will open the media or it will show up the Dialog ?
Many thanks
Soq2000