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

It's in the guide data being pulled from Pluto

"_id": "66205badd1a9170013083b91",
"start": "2024-04-28T17:30:00.000Z",
"stop": "2024-04-28T18:21:00.000Z",
"title": "Jamie's Super Food",
"episode": {
    "_id": "65b3437c9eae9600131ec71c",
    "number": 2,
    "season": 1,
    "description": "Jamie travels to the Nicoyan Peninsula in Costa Rica and the island of Okinawa.",
    "duration": 3060000,
    "originalContentDuration": 3060000,
    "genre": "Food & Cooking",
    "subGenre": "Food & Cooking",
    "distributeAs": {"AVOD": false},
    "clip": {"originalReleaseDate": "2015-09-14T00:00:00.000Z"},
    "rating": "TV-14",
    "name": "Pancakes, Tasty Fish Tacos and Chicken Cacciatore",
    "slug": "pancakes-tasty-fish-tacos-and-chicken-cacciatore-live-epg-1-2-ptv1",
    "poster": {"path": "https://images.pluto.tv/episodes/65b3437c9eae9600131ec71c/poster.jpg?fill=blur&fit=fill&fm=jpg&h=1000&q=75&w=694"},
    "firstAired": "2015-09-14T00:00:00.000Z",
    "thumbnail": {"path": "https://images.pluto.tv/episodes/65b3437c9eae9600131ec71c/thumbnail.jpg?fill=blur&fit=fill&fm=jpg&h=440&q=75&w=440"},
    "liveBroadcast": true,
    "featuredImage": {"path": "https://images.pluto.tv/episodes/65b3437c9eae9600131ec71c/featuredImage.jpg?fill=blur&fit=fill&fm=jpg&h=900&q=75&w=1600"},
    "series": {
        "_id": "6511f52705bcdf001a898dc0",
        "name": "Jamie's Super Food",
        "slug": "jamies-super-food-live-epg",
        "type": "live",
        "tile": {"path": "https://images.pluto.tv/series/6511f52705bcdf001a898dc0/tile.jpg?fill=blur&fit=fill&fm=jpg&h=660&q=75&w=660"},
        "description": "Celebrity chef Jamie Oliver is back with another healthy eating venture in this travelogue series. This time Oliver explores the link between healthy diets and long lives, as he travels some of the healthiest regions in the world, where there are more centenarians than anywhere in the world. Jamie meets people from various cultures and backgrounds in order to find out what secret ingredients they are using in their meals. The chef also cooks meals based on new recipes inspired by the superfoods he learns about during his journey.",
        "summary": "Jamie Oliver cooks nutritious meals inspired by his travels to the world's healthiest places.",
        "displayName": "Jamie's Super Food",
        "featuredImage": {"path": "https://images.pluto.tv/series/6511f52705bcdf001a898dc0/featuredImage.jpg?fill=blur&fit=fill&fm=jpg&h=900&q=75&w=1600"},
        "poster16_9": {"path": "https://images.pluto.tv/assets/images/default/vod.screenshot16_9-default.jpg"}
    },
    "poster16_9": {"path": "https://images.pluto.tv/assets/images/default/vod.screenshot16_9-default.jpg"}
}

But not in the guide data from Pluto for Channels

<programme start="20240428103000 -0700" stop="20240428112100 -0700" channel="jamie-oliver-channel">
   <title lang="en">Jamie&apos;s Super Food</title>
   <icon src="https://images.pluto.tv/series/6511f52705bcdf001a898dc0/tile.jpg?fill=blur&amp;fit=fill&amp;fm=jpg&amp;h=900&amp;q=75&amp;w=900"/>
   <date>20150913</date>
   <category lang="en">Series</category>
   <series-id system="pluto">6511f52705bcdf001a898dc0</series-id>
   <desc lang="en">Jamie travels to the Nicoyan Peninsula in Costa Rica and the island of Okinawa.</desc>
   <category lang="en">Food &amp; Cooking</category>
   <category lang="en">Food &amp; Cooking</category>
   <live/>
   <episode-num system="original-air-date">20240428103000 -0700</episode-num>
   <sub-title lang="en">Pancakes, Tasty Fish Tacos and Chicken Cacciatore</sub-title>
</programme>

It's not in the Matt Huisman feed (https://i.mjh.nz/PlutoTV) either

<programme channel="64dab9df3d48f40008868091" start="20240428173000 +0000" stop="20240428182100 +0000">
  <title>Jamie's Super Food</title>
  <live/>
  <episode-num system="original-air-date">20240428173000 +0000</episode-num>
  <desc>Jamie travels to the Nicoyan Peninsula in Costa Rica and the island of Okinawa.</desc>
  <icon src="https://images.pluto.tv/series/6511f52705bcdf001a898dc0/tile.jpg?fill=blur&amp;fit=fill&amp;fm=jpg&amp;h=900&amp;q=75&amp;w=900"/>
  <date>20150914</date>
  <series-id system="pluto">6511f52705bcdf001a898dc0</series-id>
  <sub-title>Pancakes, Tasty Fish Tacos and Chicken Cacciatore</sub-title>
  <category>Series</category>
  <category>Food &amp; Cooking</category>
</programme>

Looks like some series are like this and some aren't. Perhaps it's a PlutoTV problem that isn't easy to develop around.

Is there a Plex nondocker version as well by chance?

Ahem

I appreciate it. But what is pip install and python? Sorry I am stupid when it comes to all of this.

2 Likes

Just install python 3.11 for windows and be sure to check to install pip in the installation options

1 Like

Is python lunix or wondows? I apologize for being confused. But this is far beyond my grasp of windows.

It's both. You could use python on both

1 Like

Did not know that. Thank you.

The Blue Bloods Pluto channel on Channel is stuck on a perpetual loop of the same three commercials, without any Blue Bloods content being shown. But on the Pluto’s own app, everything is normal. Do you have any reason for this happening?

ANSWER;
Pluto is not a native Channels DVR source.
What m3u are you using for your source?

1 Like

https://nocords.xyz/pluto/playlist.m3u

Working great using Maddox Docker.

1 Like

nocords.xyz only provides m3u links to the content and the program guide. It has nothing to do with the content streaming from those channels.

2 Likes

That has to set a record for the fastest reply for an unsupported 3rd party addon to Channels DVR from the 3rd party developer.

Thanks @HankLloydRight

1 Like

What's the difference between using the script (Docker container) to generate a playlist instead of using the one directly from the website?

There should be no difference in the end result. But with the website playlist, you don't have to run docker or a docker container locally on your computer.

looks like t: https://nocords.xyz/stirr/playlist.m3u is just returning my Stirr playlist?

https://nocords.xyz/stirr/playlist.m3u

#EXTINF:-1 channel-id="stirr-5442" tvg-id="5442" tvg-logo="https://vcz-ktest2-cloud-vodlix-com.b-cdn.net/u/ktest2/files/thumbs/2024/03/21/1711050143xj230eD6gK-512x512-square.png" tvg-chno="100" group-title="Comedy Live" , Always Funny
https://i.mjh.nz/Stirr/5442.m3u8

Is that intended?
Same goes for the EPG

https://i.mjh.nz/Stirr/all.m3u8
https://i.mjh.nz/Stirr/all.xml

Yes. When there's an error or other problem with the GO program running on the site, instead of failing, it fails over to your files.

If that's not OK, I can change it. I thought it was better to return something that worked instead of nothing or an error.

I'm off to investigate what's wrong now.

edit: It's returning this error:

Error when filling cache unexpected response 502 Bad Gateway from https://ott-gateway-stirr.sinclairstoryline.com/api/rest/v3/channels/stirr?station=national

I'm not sure what to do to fix that.

they did a big rewrite. the api completely different now.
The GO container will need to update based on webtools of there website :slight_smile:
fallback to mine is OK
was just curious

2 Likes