Samsung TV Plus for Channels

This is still working for me using the latest image dated 2025-01-02 18:21:22

Compose

version: '3.9'
services:
  # Docker container home for this project: https://registry.hub.docker.com/r/matthuisman/samsung-tvplus-for-channels
  samsung-tvplus-for-channels:
    image: matthuisman/samsung-tvplus-for-channels:${TAG}
    container_name: samsung-tvplus-for-channels
    ports:
      - ${HOST_PORT}:80
    environment:
      - TZ=${TZ} # Add your local timezone in standard linux format.
      - REGIONS=${REGIONS} # at|ca|ch|de|es|fr|gb|in|it|kr|us or all
    restart: unless-stopped

Environment variables

TAG=latest
HOST_PORT=8182
TZ=America/Los_Angeles
REGIONS=us

Screenshot 2025-02-04 at 17-21-56 Samsung TV Plus for Channels

Mine shows this

When i do a manual refresh in Channels

2025/02/04 21:37:05.176619 [DVR] Fetched guide data for XMLTV-SamsungDocker in 406ms
2025/02/04 21:37:05.273297 [DVR] Indexed 0 airings into XMLTV-SamsungDocker (6 channels over 0s) + 50 skipped [55ms index]

What does your docker compose or run command look like?
Multiple Regions in an environment variable now need to be seperated with | instead of ,

No idea? How do i find that? I don't use Compose, just normal docker (and use Portainer to view things)(

My notes from when i setup/installed it shows to use this..

docker run -d --restart unless-stopped --name samsung-tvplus-for-channels -p 8182:80 matthuisman/samsung-tvplus-for-channels

It been working fine for long time. Have not updated since (laast updated Dec 14) , only noticed no guide data this evening. Had data earlier today.

Sorry, just looked at my grid guide and there's no listings!
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE tv SYSTEM "xmltv.dtd"><tv generator-info-name="www.matthuisman.nz" generated-ts="1738690277">

generated-ts="1738690277" means the guide data was generated 11 hours ago.
@matthuisman

Not getting that broken pipe error anymore, but the logs show this when i try to pull data

192.168.0.4 - - [05/Feb/2025 02:44:54] "GET /epg.xml?regions=kr HTTP/1.1" 200 -
192.168.0.4 - - [05/Feb/2025 02:45:22] "GET / HTTP/1.1" 200 -
192.168.0.4 - - [05/Feb/2025 02:45:22] Cache hit: https://i.mjh.nz/SamsungTVPlus/.channels.json.gz
192.168.0.4 - - [05/Feb/2025 02:45:40] Cache hit: https://i.mjh.nz/SamsungTVPlus/.channels.json.gz
192.168.0.4 - - [05/Feb/2025 02:45:40] "GET /playlist.m3u8?regions=us HTTP/1.1" 200 -
192.168.0.4 - - [05/Feb/2025 02:45:40] Including channels from regions: ['us'] in groups: []
192.168.0.4 - - [05/Feb/2025 02:45:42] Cache hit: https://i.mjh.nz/SamsungTVPlus/us.xml.gz...
192.168.0.4 - - [05/Feb/2025 02:45:42] "GET /epg.xml?regions=us HTTP/1.1" 200 -
192.168.0.20 - - [05/Feb/2025 03:12:09] Downloading https://i.mjh.nz/SamsungTVPlus/us.xml.gz...
192.168.0.20 - - [05/Feb/2025 03:12:09] "GET /epg.xml?regions=us HTTP/1.1" 200 -
192.168.0.4 - - [05/Feb/2025 03:34:34] "GET / HTTP/1.1" 200 -
192.168.0.4 - - [05/Feb/2025 03:34:34] Downloading https://i.mjh.nz/SamsungTVPlus/.channels.json.gz...
192.168.0.3 - - [05/Feb/2025 03:37:40] Downloading https://i.mjh.nz/SamsungTVPlus/us.xml.gz...
192.168.0.3 - - [05/Feb/2025 03:37:40] "GET /epg.xml?regions=us HTTP/1.1" 200 -
192.168.0.4 - - [05/Feb/2025 03:38:32] Cache hit: https://i.mjh.nz/SamsungTVPlus/us.xml.gz...
192.168.0.4 - - [05/Feb/2025 03:38:32] "GET /epg.xml?regions=us HTTP/1.1" 200 -
192.168.0.4 - - [05/Feb/2025 03:41:10] Downloading https://i.mjh.nz/SamsungTVPlus/all.xml.gz...
192.168.0.4 - - [05/Feb/2025 03:41:11] "GET /epg.xml HTTP/1.1" 200 -

Yah, it's downloading stale guide data.

Ah. ok, so (Samsung) server side issue...nothing wrong on my end. I surmise.
Forgot that happens from time to time.

1 Like

How do you decode this again? into normal time format?

It's unix epoch time.
Try this https://www.epochconverter.com/

1 Like

And....Guide data back again.

It seems like I have to restart the container every couple of hours or else the streams stop working. Is this a known issue?

1 Like

Probably an issue with your player.

I only set this up yesterday and I'm fairly new to this level of customisation, so it could be that I've done something wrong.

I have all the channels and can play them (at least all I've of them I've tried) but I'm not getting EPG data. I did when I first set it up (only for about 6 hours, but it seems that is normal from reading the thread) and I'm sure it updated a few times subsequently. But my guide data ran out about 11pm last night (UK time). In the custom channels setting, I have it set to refresh every hour.

The docker container log seems to be pulling the data every hour, but when looking at the actual xml file from the web UI, the last update time (using the epoch converter link above) is over 24 hours ago.

image

I'm just trying to establish if I'm doing something wrong, or if others are having similar guide issues as reported in previous posts.

This problem started for me yesterday as well. The epgs (e.g., all, us) I checked at Index of /SamsungTVPlus/ are showing an old timestamp as well.

@matthuisman

Same here
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE tv SYSTEM "xmltv.dtd"><tv generator-info-name="www.matthuisman.nz" generated-ts="1739460734">
Screenshot 2025-02-14 at 08-28-48 Epoch Converter - Unix Timestamp Converter

Thanks @forey3rd and @chDVRuser, that's really helpful to know. I'll stop messing around trying to fix what might not be broken!

Just a coincidence that I set it up and within a few hours it isn't working, typical!

This has been happing more frequently lately.

Can't complain. Having that XMLTV generated for us is an amazing gift. But makes for a real bummer worldwide when it sometimes breaks.

and p.s. It's not only the SamsungTVPlus XMLTV. As it only has about 3 - 4 hours of guide data and Plex has about 1 day I use Plex's guide when TV channel streams from the two services align in programming and time. And I don't have guide data for those channels mapped to the Plex guide either.

back now.
this time it was STIRR with "dodgy" urls breaking my nginx redirect config so the config refused to update.

I use redirects to github for xml's, and was using the newest pushed commit into the redirect url.
Mainly to get past githubs /master/ urls being cached.

Anyway, for better reliability, I'm now just redirecting to /master url in github.
So if nginx refuses to load new config - it wont break the epgs as long as they have been uploaded to github

3 Likes

Is there a way to make the Conan TV show up in the US or is it region locked by Samsung?