2016-01-27, 13:03
2 Rapboy
First, your url variable is a weird construction. Why do you use strings inside sets inside a list?
Second, you need to choose which approach to choose: either you are developing a general script addon, then xbmc.Player is fine, or you are developing a plugin. In the latter case you cannot use setResolvedUrl at the top-level route of your plugin: it can be called only from an upper level ListItem of your plugin that has isFolder=False and 'isPlayable'='true' properties (see my example plugin).
First, your url variable is a weird construction. Why do you use strings inside sets inside a list?
Second, you need to choose which approach to choose: either you are developing a general script addon, then xbmc.Player is fine, or you are developing a plugin. In the latter case you cannot use setResolvedUrl at the top-level route of your plugin: it can be called only from an upper level ListItem of your plugin that has isFolder=False and 'isPlayable'='true' properties (see my example plugin).