Pluto for Channels

Perhaps you can see the problem by looking at the container log.
You can export the log from Synology Docker and save it to a CSV (comma separated) text file.
It's structured in reverse chronological order (latest entries first).
Screenshot 2021-07-31 at 12-58-06 DS1513PLUS - Synology DiskStation

content
2021-07-31 20:06:47 stdout 172.17.0.1 - - [31/Jul/2021:20:06:47 +0000] "GET /epg.xml HTTP/1.1" 404 555 "http://192.168.68.27:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.166 Safari/537.36" "-"
2021-07-31 20:06:47 stdout 2021/07/31 20:06:47 [error] 13#13: *2 open() "/usr/share/nginx/html/epg.xml" failed (2: No such file or directory), client: 172.17.0.1, server: localhost, request: "GET /epg.xml HTTP/1.1", host: "192.168.68.27:8080", referrer: "http://192.168.68.27:8080/"
2021-07-31 20:06:44 stdout 172.17.0.1 - - [31/Jul/2021:20:06:44 +0000] "GET / HTTP/1.1" 200 910 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.166 Safari/537.36" "-"
2021-07-31 20:05:58 stdout Last ran: Sat Jul 31 20:05:58 UTC 2021
2021-07-31 20:05:58 stdout mv: can't rename '*epg.xml': No such file or directory
2021-07-31 20:05:58 stdout mv: can't rename '*playlist.m3u': No such file or directory
2021-07-31 20:05:58 stdout
2021-07-31 20:05:48 stdout e[90m at processTicksAndRejections (internal/process/task_queues.js:80:21)e[39m
2021-07-31 20:05:48 stdout e[90m at emitErrorNT (internal/streams/destroy.js:84:8)e[39m
2021-07-31 20:05:48 stdout e[90m at Socket.emit (events.js:210:5)e[39m
2021-07-31 20:05:48 stdout e[90m at Socket.socketErrorListener (_http_client.js:407:9)e[39m
2021-07-31 20:05:48 stdout e[90m at ClientRequest.emit (events.js:210:5)e[39m
2021-07-31 20:05:48 stdout at Request.onRequestError (/usr/src/app/node_modules/e[4mrequeste[24m/request.js:877:8)
2021-07-31 20:05:48 stdout e[90m at Request.emit (events.js:210:5)e[39m
2021-07-31 20:05:48 stdout at self.callback (/usr/src/app/node_modules/e[4mrequeste[24m/request.js:185:22)
2021-07-31 20:05:48 stdout at Request._callback (/usr/src/app/index.js:120:26)
2021-07-31 20:05:48 stdout at JSON.parse ()
2021-07-31 20:05:48 stdout SyntaxError: Unexpected token u in JSON at position 0
2021-07-31 20:05:48 stdout
2021-07-31 20:05:48 stdout ^
2021-07-31 20:05:48 stdout undefined
2021-07-31 20:05:48 stdout undefined:1
2021-07-31 20:05:43 stdout http://api.pluto.tv/v2/channels?start=2021-08-01%2014%3A00%3A00.000%2B0000&stop=2021-08-01%2020%3A00%3A00.000%2B0000
2021-07-31 20:05:43 stdout http://api.pluto.tv/v2/channels?start=2021-08-01%2008%3A00%3A00.000%2B0000&stop=2021-08-01%2014%3A00%3A00.000%2B0000
2021-07-31 20:05:43 stdout http://api.pluto.tv/v2/channels?start=2021-08-01%2002%3A00%3A00.000%2B0000&stop=2021-08-01%2008%3A00%3A00.000%2B0000
2021-07-31 20:05:43 stdout http://api.pluto.tv/v2/channels?start=2021-07-31%2020%3A00%3A00.000%2B0000&stop=2021-08-01%2002%3A00%3A00.000%2B0000
2021-07-31 20:05:43 stdout [INFO] Grabbing EPG...

I don't know @maddox code used in the container, so can't comment on the errors.
What version DSM and Docker are you running?
I'm on DSM 7.0-41890 and Docker 20.10.3-1233

Im on DSM 6.2.4-25556 Docker 20.10.3-0554

That should work. I was running the same versions before I updated to DSM 7.0.

Thank you so much for trying to help.
I have been digging into settings and my Impact Firewall settings were blocking the docker app. I managed to add rules to allow it to work and keep the firewall on. It now works again! I have been mercilessly pinged on my qnap and are very carefull so need to keep it on...

2 Likes

Wow, this is great. I read almost everything here for quite a while and... got everything working within a couple hours. So my question is...

Channels Server is on a very old iMac that can't run Docker. My Mac mini is running it - it stays on all the time anyway, so no worries. I was able to point Channels to the files being served up on the Mini no problem!

The question is - now that I have the image running, can I close out the terminal and just keep Docker running? I believe that's the case.

The other question is... when this machine restarts, will I then need to run that same command line or will Docker restart and run it until it actually is instructed to end?

Version 1.2.2 is up:

  • Mogrifies movie genres to conform to major top level genres in Channels

This helps fix Pluto movie genres so they conform to those expected in Channels so that they show up in the new On Later browsing.

4 Likes

Version 1.2.3 is up:

  • Mogrifies series genres to conform to major top level genres in Channels

This helps fix Pluto series genres so they conform to those expected in Channels so that they show up in the new On Later TV Show browsing.

4 Likes

Versions 1.2.4 and 1.2.5 have been pushed up with updates to series genre mapping.

2 Likes

Hi I am trying to get Pluto to work and so confused. I went into Custom Channels and did all this but no channels are showing up.. I have a mac am i dong something wrong? thanks for help Amy
Add Source: select M3U Playlist
Give it a nickname: e.g. PlutoTV
Leave HLS as default stream
Leave Source as URL
Enter this URL: https://techzyon.com/epg/plutotv.m3u

Once the source is added, click on trash icon.
You should see an option "Pick Guide Provider", click on this button.
Under the dropdown where it shows USA, select Custom URL. Enter this URL:
https://techzyon.com/epg/plutotv_guide.xml
Click on save.

The PluoTV channels should now show up in the guide.

From what I've read on the forum this method no longer works. The only supported method for Pluto is the Docker container.

Use these for Pluto links if avoiding docker

https://i.mjh.nz/PlutoTV/

1 Like

Hi I tried and did not work. Does that go under the URL? Thanks!

Like in this example for Stirr: (I use docker for pluto)
Stream Format
HLS

Source
URL
https://i.mjh.nz/Stirr/all.m3u8
Options
Refresh URL daily

XMLTV Guide Data
https://i.mjh.nz/Stirr/all.xml

Refresh Every 3 Hours

The URLs for Pluto would be:
The links for Pluto would be: (Assuming you are in the US)
https://i.mjh.nz/PlutoTV/us.m3u8
https://i.mjh.nz/PlutoTV/us.xml

I have no idea who maintains it but it works.

1 Like

OK so I cannot use a Docker as my computer is older and version does not support latest. DO I need a docker? sorry so new to all of this

No, no docker, use the 2 links just above your last post, the us.m3u8 and us.xml

3 hour guide refresh

wow great thank you!!! Can I record with this?

Also do Need to change the Provider under settings?

Yes you can record. That is it. It should work. At least until the person that maintains it quits doing it like the techzyon person did.

Of course it would be way better to use the docker pluto supported here. It would be nice if they did Stirr too.