Hi. I had my addon working under linux with what was obviously older verison of plexhometheater. Now with the latest version both windows or linux I am having this problem.
I select the video to be played like this.

Then after hitting enter i get a screen like this.

Then if i hit enter again the video will play. Does anyone have any idea what is happening here?
The relevant code i am using is as such.
…
oc.add(VideoClipObject(
key = Callback(GETSOURCE, url = url),
rating_key = url,
title = name +’ - ‘+ description +’ (’+date+’)’,
thumb = thumbnail,
items = [
MediaObject(
container = Container.MP4,
video_codec = VideoCodec.H264,
audio_codec = AudioCodec.AAC,
audio_channels = 2,
parts = [PartObject(key = Callback(GETSOURCE, url = url))]
)
]
))################################################################################
@indirect
def GETSOURCE(url):
link=HTTP.Request(url).content
url=re.compile(’“is_source”:true,“file_size”:.+?,“audio_codec”:".+?",“video_codec”:".+?",“average_video_bitrate”:.+?,“stream_type”:“single”,“url”:"(.+?)"’).findall(link)
url = url[0]
url = url.replace(’\’, ‘’)
return IndirectResponse(VideoClipObject, key = url)
Also the addon does not work with Plex/Web. When i click play on a video i get " :( This channel is currently unavailable"
Any help would be greatly appreciated. Thank You.