Bringing local sports streams into channels

Anyone know if there is a way I could pull these streams into channels?

Example URL

Thanks!

Looks pretty straightforward. Someone could make a provider for it in EPlusTV: ESPN+ & FOX Sports with Custom Channels via EPlusTV

I could do it, but I'm not sure when I'd get around to it.

2 Likes

If you inspect the "Channels", they have exposed m3u8's that could be integrated as custom stations:

So long as there is no DRM, you should be able to add them. I tested one, and here's it working in Channels:

You can either do this yourself manually...

... or you can use Playlist Manager for Channels (a Streaming Library Manager extension) to do all the technical stuff for you...

Also, I noticed some of the games were archived on YouTube. These can easily be added as on-demand content in Channels by using the Stream Link/File Manager extension's SLM Streams capabilities:

2 Likes

Is there documentation for setting up a provider? I am not a developer but I am technical enough to follow directions and ask AI for help.

I already took a peek at the KSL site and I think I could knock this out pretty quickly, once I can get around to it.

But if you want to take a crack at it in the meantime, there's a little documentation in this fork that hasn't been merged yet: GitHub - armarquez/EPlusTV at armarquez--espn-ultimate

Apart from that documentation, I will outline the steps I took to make my first provider below.

Start by creating a Github account and installing git and NPM on your computer.

Then identify a provider that might be similar to yours -- I recommend KBO here, since it is also free without an account. Log into the Github website and search the EPlusTV repository for "kbo" -- that will show you every file, line, and folder that it took to make that provider. Make a fork of the EPlusTV code at the Github website, then clone your fork to a local folder on your computer (something like "git clone https://github.com/yourusername/EPlusTV" in a command prompt. In the local EPlusTV folder, make a copy of each "kbo" file/folder/line, replacing "kbo" with "ksl" in the copy. Run it locally (with commands "npm install" and "npm start" when your command prompt is in the main EPlusTV code directory) and if you made any mistakes or typos, it should tell you in the command line output. Once you've fixed those errors and EPlusTV successfully starts, you should see be able to load the web interface (http://localhost:8000) in a web browser and see your new provider listed in the web interface. It won't do anything yet, but at least you have the structure all ready!

Finally, you can go back into your new provider's handler file (would be "ksl-handler.ts") and you can change the page/URLs where it pulls events and streams. You can load the KSL Sports site in a browser with the browser's Developer Tools open to the "Network" pane and you'll likely see the pages and URLs you will need to use, and the format the data will come in that you will have to parse. Try some changes then restart EPlusTV ("npm start"), enable the provider in the web interface, try to pull the m3u and xml endpoints and inspect them, and finally try loading one of the active streams from channels.m3u in VLC Media Player. Between every step, look for errors in the command line output and try to fix them and restart EPlusTV.

Once you have something working, you can commit and push your local code changes back to your online fork, and from there you can open a pull request to ask to merge your new code into the main EPlusTV program. I can propose changes and help identify/fix bugs in your code at that point too.

KSL Sports events have been added in EPlusTV version 4.12.0

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.