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

Thank you so much for this non-docker option. I have a quick question. Anyone noticing any issues with no guide data on Pluto. The channels play but I don't have any guide data and am not sure why..

I'm seeing guide data but it stops at 6am PT tomorrow. I've refreshed the guide data but that did not help.

2 Likes

I believe there are only 12 hours of guide data available at any given time. Which is also a reason why you should have guide data set to refresh often, like every 3 hours (the data on the backend only updates every 3 hours).

1 Like

I think something's broken with the STIRR EPG. At least it's not working over here and I haven't changed anything that would affect this. Anyone else?

Interesting. I'm seeing it empty too. Even though pulling up the URL in a browser is showing data. I am thinking it is out of date which means that url is no longer updating.

1 Like

Could be a sign at https://nocords.xyz/ ?
LOCAL STIRR MODULE TEMPORARILY UNAVAILABLE

3 Likes

Yes, this happened a few months ago. The raw data from the Stirr server has some formatting error that the Stirr GO program can’t parse. Last time it took 3 or 4 days to wait for Stirr to fix the problem.
I don’t know GO so I’m unable to debug and fix the code to handle the parsing error.

I took a quick look and made some fixes here: https://github.com/robbiet480/stirr-for-channels/pull/3

5 Likes

Wow, thank you!! I'll put these changes in tomorrow.

2 Likes

I put your changes in, and it's working again. You're best, thank you @tmm1!

The Stirr links on nocords.xyz are now back up, and hopefully much more resilient to upstream errors.

In case anyone wants to dig or debug further, here's the stations/data that it was erroring out on:

Ignoring program error on gravitas-wurl-external-12-03-2018 : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/program/stirr/ott/gravitas-wurl-external-12-03-2018?station=national
2022/07/11 09:30:29
Ignoring program error on externallinearfeed-02-09-2022-02-09-2022 : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/program/stirr/ott/externallinearfeed-02-09-2022-02-09-2022?station=national
2022/07/11 09:30:29
Ignoring error on externallinearfeed-07-18-2019-07-18-2019 : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/status/externallinearfeed-07-18-2019-07-18-2019?station=national
2022/07/11 09:30:29
Ignoring error on externallinearfeed-05-25-2020-174756630-05-25-2020 : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/status/externallinearfeed-05-25-2020-174756630-05-25-2020?station=national
2022/07/11 09:30:29
Ignoring error on externallinearfeed-09-28-2021-09-28-2021 : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/status/externallinearfeed-09-28-2021-09-28-2021?station=national
2022/07/11 09:30:30
Ignoring program error on stirr-reality-tv : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/program/stirr/ott/stirr-reality-tv?station=national
2022/07/11 09:30:30
Ignoring error on horse-shopping-channel-01-05-2021-232155211 : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/status/horse-shopping-channel-01-05-2021-232155211?station=national
2022/07/11 09:30:31
Ignoring program error on externallinearfeed-09-12-2019-09-12-2019 : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/program/stirr/ott/externallinearfeed-09-12-2019-09-12-2019?station=national
2022/07/11 09:30:31
Ignoring program error on externallinearfeed-07-30-2020-07-30-2020 : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/program/stirr/ott/externallinearfeed-07-30-2020-07-30-2020?station=national
2022/07/11 09:30:32
Ignoring program error on externallinearfeed-12-04-2019-195208364-12-04-2019 : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/program/stirr/ott/externallinearfeed-12-04-2019-195208364-12-04-2019?station=national
2022/07/11 09:30:32
Ignoring program error on externallinearfeed-05-30-2019-05-30-2019 : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/program/stirr/ott/externallinearfeed-05-30-2019-05-30-2019?station=national
2022/07/11 09:30:32
Ignoring error on externallinearfeed-06-24-2021-06-24-2021 : unexpected response 404 Not Found from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/status/externallinearfeed-06-24-2021-06-24-2021?station=national
2022/07/11 09:30:33
Cache fill complete, loaded 110 channels with 2292 programs in guide
2022/07/11 09:30:33

Update. I just checked all those URLs and they work fine (not 404).

I re-ran the Stirr GO program and this time it returned no errors.

So whatever is happening on the Stirr end appears to be intermittent with these URLs.

Whatever it is, Stirr is now up again.

4 Likes

Thank you for your help with this. I've got guide data on both Pluto and Stirr. Love this solution much better than the Docker version that would quit intermittently on me on my Windows computer and also much less strenous on the CPU.

3 Likes

just found this. awesome.

feature request: enable "prefix" and "padding" parameters to adjust the channel numbers dynamically while still referencing the original channel-number.

PoC:
This is just a wrapper around your m3u (cached locally for 30 min as well):
https://jeremy.kister.net/cgi-bin/channelsdvr-plutotv.mpl

the default is ?prefix=8&padding=4

this makes all pluto channels 5 digits in length and all start with an 8:

  • 0 -> 80000
  • 12 -> 80012
  • 123 -> 80123
  • 1234 -> 81234
2 Likes

Thanks
It’s already set up for that.

I believe this should work (I’m on my phone right now):

https://nocords.xyz/pluto/custom.php?start=80000

edit: Yup, that works.

1 Like

well, that behavior is a bit different - it starts numbering at N and increments 1 for each channel.

this one keeps the original channel convention but just pads it. I like this because it matches with the native channels and the pluto.tv website. so the ST:TNG channel on their site is 270, and with this it's changed to 80270

so the last channel # in mine is 83415 (my prefix + match pluto's 3415), the last channel in yours is 80337 (because 337 available channels).

2 Likes

That does sound nice. The mismatch otherwise can be confusing.

1 Like

Ok, I've changed the code to re-use the original channel number.

The link and parameters remain the same:

https://nocords.xyz/pluto/custom.php?start=80000

2 Likes

sweet that's exactly how i need it. thx!

You're welcome! Thanks for the suggestion.

I hope any other custom users aren't surprised by the change (for the better).

edit: The only difference is that the custom link adds the channel number to the starting point. So if you specified start=80001, then you'd get channel number+80001 in the m3u file.

4 Likes

What should the Options be set to ??? Prefer or Ignore channel-number from M3U??

Thank you...

1 Like