Giter Club home page Giter Club logo

samsung-tvplus-for-channels's People

Contributors

matthuisman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

samsung-tvplus-for-channels's Issues

guide data

ChannelsDVR pulling m3u/XML fails.


192.168.245.99 - - [17/Nov/2022 15:12:01] "GET /playlist.m3u HTTP/1.1" 500 -

Exception happened during processing of request from ('192.168.245.99', 34760)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 683, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "./app.py", line 21, in init
super().init(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 747, in init
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
method()
File "./app.py", line 48, in do_GET
self._error(e)
File "./app.py", line 46, in do_GET
routesfunc
File "./app.py", line 58, in _playlist
channels = regions[REGION].get('channels', {})
KeyError: 'us'

More EPG Data?

Any chance of getting data for a longer period or refereed more often? Seems to only go a few hours so even if I set Channels to refresh hourly, I still miss shows.

epg markup issue

I'll start by saying i love this.

But I have noticed an issue with the EPG when it reads the data for the Magellan TV Now channel.

In Channels, the guide data only says "Magellan TV Now" which is what is inside of the display-name field.

But it appears the information in "title" or "sub-title" would be a lot more informative. Most of the other channels are working as expected. (at least what I've noticed).

Thanks for taking the time to read this.

The full markup for that channel is below:

<channel id="USAJ340000677">
    <display-name>Magellan TV Now</display-name>
    <icon src="https://tvpnlogopus.samsungcloud.tv/platform/image/sourcelogo/vc/00/02/34/USAJ340000677_20221109T013603SQUARE.png_20221109013603.png"/>
  </channel>
  <programme channel="USAJ340000677" start="20230702170000 +0000" stop="20230702180000 +0000">
    <title>Wildest Islands</title>
    <sub-title>Caribbean: The Wild Side of Paradise</sub-title>
    <desc>The Caribbean is a tropical paradise. Each with it's own unique wildlife.</desc>
    <icon src="https://tvpnlogopus.samsungcloud.tv/platform/image/contents/vc/00/02/33/US_VC_CTI_USQU352137A_US-304-USAJ340000677-642110_20230701105729229.jpg"/>
    <rating>
      <value>TV-14</value>
    </rating>
  </programme>

Multiple containers

I have a Pluto container running already in docker and I ran your script to add samsung-tvplus-for-channels. The script ran without error but now docker show it starting consistently. How do I remedy this?

pi@raspberrypi:~ $ docker ps --format "table {{.ID}}\t{{.Status}}\t{{.Names}}"
CONTAINER ID STATUS NAMES
27dee739bc29 Restarting (1) 20 seconds ago samsung-tvplus-for-channels
09a0e808bda5 Up 28 minutes pluto-for-channels

Samsung USA empty / missing

I have loved the container for quite some time but it stopped working for a few weeks. I use watchtower to automatically update containers once a week but I have not seen any updates coming.

Here is my Docker compose:

version: "3.9"
services:
samsung-tv-channels:
image: matthuisman/samsung-tvplus-for-channels
hostname: samsung-tv
container_name: samsung-tv
environment:
- REGION:us
networks:
- samsung_tv
ports:
- 8182:80
restart: unless-stopped
networks:
samsung_tv:
external: true

I noted explicitly the REGION after the container stopped working.

Going to the address localhost:8182 I can see the links to the M3U and the EPG but visiting the link:

localhost:8182/playlist.m3u

I get the following error:

Error: 'us'

Is this something that others have experienced?

Guide Data isn't updating daily or hourly

Great add-on, thanks so much! It's working great, but twice now in two days, there hasn't been any guide data when I've checked even though I have this set to refresh XMLTV guide data hourly:
http://i.imgur.com/k5iJaH5.png

The only way I've gotten guide data for these Samsung TV Plus channels to populate when it's empty, has been by stopping and starting the docker container, and then manually redownloading XMTV for it, in the Channels DVR webUI.

All of my other docker containers (Pluto, Stirr, MLB.TV, etc.) are working fine, without these manual steps required. Is there anything else I can try?

Please add the AU reigon channels

Pulled the good channels from Appsatv before the site went down, channels such as Smithsonian channel can only be viewed from the AU reigon of Samsung TV plus.

I need the EPG.

Any specific reason why this hasn't been done?

Thanks

python errors in most recent docker


192.168.245.101 - - [22/Nov/2021 19:17:39] "GET /playlist.m3u HTTP/1.1" 500 -

Exception happened during processing of request from ('192.168.245.101', 58600)
Traceback (most recent call last):
File "./app.py", line 46, in do_GET
routesfunc
File "./app.py", line 86, in _playlist
self.wfile.write(f'#EXTINF:-1 channel-id="{channel_id}" tvg-id="{key}" tvg-logo="{logo}" group-title="{group}"{chno},{name}\n{url}\n'.encode('utf8'))
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 683, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "./app.py", line 21, in init
super().init(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 747, in init
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
method()
File "./app.py", line 48, in do_GET
self._error(e)
File "./app.py", line 25, in _error
self.end_headers()
File "/usr/local/lib/python3.8/http/server.py", line 529, in end_headers
self.flush_headers()
File "/usr/local/lib/python3.8/http/server.py", line 533, in flush_headers
self.wfile.write(b"".join(self._headers_buffer))
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.