A first look shows that the RSS feed is not valid xml, but maybe that happened when pasting the contents of an xml file in here? The closing " is missing on the url attributes. Also the closing tag is wrong (it’s missing a /).
If the xml is valid, the for loop to get the url attribute of all the elements can be written like this:
for video in XML.ElementFromURL(RSS_FEED).xpath('//vod'):<br />
url = video.get('url')<br />
The XML is copy/pasted. But the original XML is OK. Will check and let you know I am able to get the URL value using your suggestion. Thanks for the reply.
I was able to parse the XML and able to get the details. But I have the final media link available with in the XML. If I assign the url from xml to url of VideoClipObject then the plug in won’t list the items. I think it needs a web page link than the final media link.
I do not wish to write ServiceCode.pys as the media link available in XML Feed. Is there any alternative for this.
If you set the url attribute of a VideoClipObject, it expects a URL Service. If you don’t need or want that, you can write it like this (just put your for-loop around the oc.add(…)).
I was able to parse and load the channel using Plex Client. I am able to play the videos using Plex. But When I try to access the same using Roku, I can navigate till the episode and play list of episodes, but no option to get Play link. I have List and InfoList groups created with in the plex channel. In List group I have different episodes and with in InfoList group I have the play list of that episode.
Do I need to add one more group view in plex channel to list the details of each play list of an episode in order to play them on ROKU ?
Yes, It is URLS only. I typed wrong in my first post. Even with Function it loads the thumbs on both Plex and Roku.
I think the issue is Roku - Plex Client will add Play Buttons only if it is a Clip or Episode. I changed the code to display the videoClip as one more layer. Will test it with the changes.