2013-09-19, 14:10
My plugin jworg on github load a list of mp4 file.
When at the end the user choose a title and a resolution from a select list, I do
Where mp4_to_play[index] is a full url of a .mp4 file.
The problem is that the mp4 name is ugly. So when playing a video, I see not the title (that I grab from a json), but I see instead the file name.
So I've the title,
but results is like this
Is there a way when invoking play method to set up the title of the stream ?
When at the end the user choose a title and a resolution from a select list, I do
Code:
xbmc.Player(xbmc.PLAYER_CORE_AUTO).play(mp4_to_play[selected])
Where mp4_to_play[index] is a full url of a .mp4 file.
The problem is that the mp4 name is ugly. So when playing a video, I see not the title (that I grab from a json), but I see instead the file name.
So I've the title,
but results is like this
Is there a way when invoking play method to set up the title of the stream ?