Non-Docker source for PlutoTV and Stirr m3u playlists and EPG

Hello everyone,

I've created a little PHP project (repo) that can replace the need to have a local Docker instance for PlutoTV and Stirr.

It's very simple. For PlutoTV, the project runs a slightly modified version of the pluto-for-channels script by @maddox in nodejs on my web server (thanks @maddox and the dev team!) .

Then my PHP script just replaces the deviceID and sid URL parameters with uniquely generated UUIDs upon each page load. So every use/access of the playlist.m3u file from the website is unique.

This should prevent any conflicts, dropouts, and disconnects that other online/public m3u files may have caused which do not have unique URL parameters in the stream URLs.

You can access the resulting m3u and EPG files here: https://nocords.xyz/

Where we're going, we don't need 'cords'

These links should work exactly the same as the files created by the local Docker instance.
The underlying m3u and epg files are automatically updated on the backend every three hours.

For Stirr, the stirr-for-channels GO repo by @robbiet480 runs in the background every 30 minutes and uses the 'national' STATION-ID. Those links are here:

The github repo is here: https://github.com/HankLloydRight/pluto-for-channels-php

If you enjoy these links, please help support the bandwidth resources required to keep the site/links up and available 24/7 -- the EPG files alone are 6MB every single time they are accessed. If you pull the PlutoTV and Stirr EPG files every hour, that's 9GB of data every single day.

Please contribute some bandwidth here: https://www.buymeacoffee.com/nocords.xyz

Let me know if you have any questions or comments. Thank you.

18 Likes

Thank you so much!

Also to note: while the pluto-for-channels project was created as a container, there is nothing stopping a user from using it as the basis to extract the base program and run it locally. IIRC, it's nothing more than a node.js app.

Great contribution to the community! Is there going to be a cost for you in providing this? If so, are you going to have a method of accepting donations for those want to express their appreciation?

Hi, thanks for your feedback.

There's no cost to providing these links. IRL I run a few large websites and a dozen or so AWS instances, so this just lives within that infrastructure. No donations are necessary, but I really appreciate the offer!

If at some point the bandwidth becomes a significant cost factor, I may ask for donations, but I don't expect thousands of people to use this (but it would be cool if they did!).

Over the years I've benefited A LOT from open-source projects and services provided for free, so I'm happy for a change to be able to give back to not just this community, but the overall open-source movement.

14 Likes

Does the .m3u file update often? Should we copy that locally or run it from the URL?

Thank you for this!

The PlutoTV playlist.m3u file (this web link: https://nocords.xyz/pluto/playlist.m3u ) updates every time the file is downloaded**. You can just put that URL into the Channels admin and it will (a) always be up to date and (b) unique from every other instance.

The underlying .m3u file generated by the pluto-for-channels script is updated every three hours (same as the Docker instance does).

** While the filename is playlist.m3u, it's actually a dynamic PHP program in the background that generates a unique file every time it is downloaded or accessed.

2 Likes

Gotcha! So the .m3u file is dynamic as well. Thanks.

1 Like

Thanks - Looks like it works

However, I always have issues creating Passes for recuring airings.
They seem not to work - Only a direct Record using the Guide works.

Any clues on how to fix this?

Thanks

Romain

Wow. Thanks. That was easy as pie. I kinda think that Channels is a premium service, these should already set up

2 Likes

Hi Romain,
I'm a bit new to Channels so I can't really tell you why that doesn't work.
Does creating Passes for recurring airings work with the Pluto-for-Docker m3u file but not for the nocords.xyz links?

1 Like

There are guide limitations with Pluto, including episode IDs that are not unique. As a result, recording from Pluto may produce unexpected results. I think some of the channels have better data than others, so your experience may vary quite a bit depending on the channel.

2 Likes

You're welcome.
I'm sure they could, but probably don't for legal reasons.

1 Like

I used DVR Channels in the past with locast and creating a PASS worked just fine

Now with Pluto, I would expect the same thing but apparently the way PASS works is not compatible with current EPG information (That PASS is using to identify a New program to record)...

Only a daily look at the Guide and press record works --- Not really user friendly ...

I actually went in the advanced mode for an individual PASS and saw there is a way to put different search strings for it... Will continue to see if I can find a solution there :wink: Stay tuned

It has been mentioned before.
GIGO (Garbage In Garbage Out)
The Pluto EPG data coming from Pluto lacks a lot.

1 Like

Ok, I've got GO running on the server, should have a non-Docker Stirr version up by tomorrow!

3 Likes

Ok, I did get Stirr to work for the "national" station ID.

I'll make a new thread for Stirr tomorrow. But for now if anyone wants to try it out tonight:

Start here (same as the Docker output) with Station ID, Channel count, Program count, and Last Update: https://nocords.xyz/

Direct links:
Playlist.m3u: https://nocords.xyz/stirr/playlist.m3u
epg.xml: https://nocords.xyz/stirr/epg.xml

This was quick and dirty and could change tomorrow based on feedback. But please feel free to try it out and report back any issues. Thanks.

3 Likes

Thank you for setting these up for our use!

I already dumped Docker in favor of this. Pluto and Stirr was the only thing I was using Docker for so it was a no brainer.

Great. Me too. :grinning:

PLEASE let me know if you have any issues with these m3u files -- i.e. disconnects, dropouts, etc.