I am starting work on a Sportsdevil plex plugin, but am completely new and would gladly welcome help

So I am completely satisfied with everything about Plex and never plan to use anything else. The issue I’m having is i like live sporting events and the only option i have right now is the sportsdevil plugin for Kodi. Now nothing is wrong with Kodi, but i would really like everything to be in plex and have been starting to work on how i can make this happen. I have looked around a LOT and no one has shared if they have been able to do this or not so I’ve decided I’m going to delve in and do it whatever it takes. So however long it takes i will be working on this and if anyone would like to point me in the right direction, offer suggestions, help me with (or just do the project for me :-P), it would be greatly appreciated. Currently the only thing I’m rolling with right now is a guide posted by IanDBird at https://forums.plex.tv/discussion/28084/plex-plugin-development-walkthrough.
I would love to get this done as soon as possible as the new unofficial app store is up and going :slight_smile: It would be great to get this out to everybody.

The biggest issue with any live streams is going to be the player you use and if it is compatible with the format of the live stream offered by the site. And often sites that offer live streams require login, so you may have to also figure out how to work with their requirements for access. They usually do not share their authentication API with the public.

Plex cannot transcode RTMP live. Plex can now transcode HLS, but I cannot speak to live HLS feeds, only on demand HLS videos, since those are the only type I have tried.

The pinned documents at the top of this forum are helpful as are these support documents - support.plex.tv/hc/en-us/sections/200308733-Channel-Development.

Most people start by looking at a few simpler plugins to figure the basics. And then find one that is similar to what they want to accomplish and use it to figure out what else they need to learn.

@shopgirl284 said:
The biggest issue with any live streams is going to be the player you use and if it is compatible with the format of the live stream offered by the site. And often sites that offer live streams require login, so you may have to also figure out how to work with their requirements for access. They usually do not share their authentication API with the public.

Plex cannot transcode RTMP live. Plex can now transcode HLS, but I cannot speak to live HLS feeds, only on demand HLS videos, since those are the only type I have tried.

The pinned documents at the top of this forum are helpful as are these support documents - support.plex.tv/hc/en-us/sections/200308733-Channel-Development.

Most people start by looking at a few simpler plugins to figure the basics. And then find one that is similar to what they want to accomplish and use it to figure out what else they need to learn.

hey shopgirl284,

I’m actually reading your xpath guides right now :slight_smile: I have the basic menus set up right now and I’m trying to figure out the different tags used for different elements in the pages. It looks like the individual streams come in in an swf format… I don’t know. No experience with this stuff, but I’m pretty excited to learn and am happy you posted your xpath stuff because that was where i was getting hung up last night. I’m using the chaterbate plugin right now to figure out how the code works as it seems like chaterbate and sportsdevil would have the same type of code requirements.

The hardest part of any Plex channel is figuring out how to build the media objects.

Andit is not enough to just find the object tag in the html code that contains the Flash link, because Plex does not use Flash or offer any WebKit options. Usually there is an associated XML, json, or SMIL file that contains all the media info including the actual network stream. Sometimes these media info files are are referenced in the web page code, but usually you have to use browser development tools or capture the HTTPS traffic.

When you see a channel that includes a VideoClipObject() with a URL field, it is calling a separate URL service to find and build the media object. You should create a separate URL service to handle the media build, unless you are pulling videos from a variety of website and/or the media data is easily accessible, like from a hardcoded list or as part of other data pulls already used in your channel code.

The Services bundle provides you with the best and largest group of examples of Plex URL services - github.com/plexinc-plugins/Services.bundle/tree/master/Contents/Service%20Sets

An example of a channel that includes a media build in the channel code is the HGTV channel - github.com/plexinc-plugins/HGTV.bundle/blob/master/Contents/Code/init.py#L185.

good day, i’m in South africa and would also like to watch live Rugby in plex but i dont have the plugin. I only have the plugin for kodi but my rasberry pi is only plex and my smart tv has also plex on it but i can get this kodi on my smart tv at all. so i would also like to know how to watch life rugby on plex or my smart tv. i dont have attenas or dstv and its to expensive to me.
with uncapped internet is much beter becouse i can alot with my uncapped internet.
If anyone have an idea how can watch let me know please.