Even if i add the attributes "mediapath" and "dynpath" to the json call all i get returned is
the "plugin://plugin" path when a video is played for the
second time.
Example json to a Retrospect video:
json:
{"jsonrpc": "2.0", "method": "Player.GetItem", "params": { "properties": ["file","mediapath","dynpath"], "playerid": 1 }, "id": "VideoGetItem"}
First time playing response:
Code:
{"id":"VideoGetItem","jsonrpc":"2.0","result":{"item":{"dynpath":"https://lbs-usp-dash-vod.cmore.se/vod/d5cbd/vctcbpssbdr(13315106_ISMUSP).ism/vctcbpssbdr(13315106_ISMUSP).mpd","file":"https://lbs-usp-dash-vod.cmore.se/vod/d5cbd/vctcbpssbdr(13315106_ISMUSP).ism/vctcbpssbdr(13315106_ISMUSP).mpd","label":"Nyheterna 22.00 15 januari 2021 [COLOR aqua]º[/COLOR]","mediapath":"plugin://plugin.video.retrospect/?action=playvideo&pickle=DD6519DF5C3BB8618977DF7B441DDFDDA5626AFDB89257C498AEB3015BCE370A--FB06DBDE5D934D8B77629074D74086D2806050D2F19DF7ECE90BA5BFC15204E5&channel=channel.se.tv4se-tv4segroup","type":"unknown"}}}
Second time playing response:
Code:
{"id":"VideoGetItem","jsonrpc":"2.0","result":{"item":{"dynpath":"plugin://plugin.video.retrospect/?action=playvideo&pickle=DD6519DF5C3BB8618977DF7B441DDFDDA5626AFDB89257C498AEB3015BCE370A--FB06DBDE5D934D8B77629074D74086D2806050D2F19DF7ECE90BA5BFC15204E5&channel=channel.se.tv4se-tv4segroup","file":"plugin://plugin.video.retrospect/?action=playvideo&pickle=DD6519DF5C3BB8618977DF7B441DDFDDA5626AFDB89257C498AEB3015BCE370A--FB06DBDE5D934D8B77629074D74086D2806050D2F19DF7ECE90BA5BFC15204E5&channel=channel.se.tv4se-tv4segroup","label":"Nyheterna 22.00 15 januari 2021 [COLOR aqua]º[/COLOR]","mediapath":"plugin://plugin.video.retrospect/?action=playvideo&pickle=DD6519DF5C3BB8618977DF7B441DDFDDA5626AFDB89257C498AEB3015BCE370A--FB06DBDE5D934D8B77629074D74086D2806050D2F19DF7ECE90BA5BFC15204E5&channel=channel.se.tv4se-tv4segroup","type":"unknown"}}}
This is not so good, I want an attribute that gives the playing url every time.
youtube addon is the same.
You can pull literally hundreds of different data attributes with the json system, but the most
fundamental data point for a mediaplayer, the playing url you can't.....