tellytv / telly

An IPTV proxy
MIT License
769 stars 107 forks source link

Telly in docker not recognised by Plex running on the same machine #268

Open Behinder opened 4 years ago

Behinder commented 4 years ago

telly release with the issue: ersion=1.1.0.6, branch=dev, revision=741108cd2100cf9f4d3a13f771d1ebe5132baae6)

Last working telly release (if known):

Operating environment (Docker/Windows/Linux/QNAP, etc.): Docker

Description of problem:

Having plex running on my machine cannot detect Telly as tuner,only my hdhomerun is detected

Contents of telly.config.toml [if you're using a version above 1.1]:

Note on running multiple instances of telly

There are three things that make up a "key" for a given Telly Virtual Tuner:

Device-ID [required], Device-UUID [optional], and port [required]

When you configure your additional telly instances, change:

the Device-ID [above] AND

the Device-UUID [above, if you're entering one] AND

the port [below in the "Web" section]

THIS SECTION IS REQUIRED

[IPTV] Streams = 1 # number of simultaneous streams that telly virtual tuner will provide

This is often 1, but is set by your iptv provider

Starting-Channel = 7000 # When telly assigns channel numbers it will start here XMLTV-Channels = true # if true, any channel numbers specified in your M3U file will be used.

FFMpeg = true # if this is uncommented, streams are buffered through ffmpeg;

                        # ffmpeg must be installed and on your $PATH
                        # if you want to use this with Docker, be sure you use the correct docker image

if you DO NOT WANT TO USE FFMPEG leave this commented; DO NOT SET IT TO FALSE [Issue #185]

THIS SECTION IS REQUIRED

[Log] Level = "info" # Only log messages at or above the given level. [debug, info, warn, error, fatal] Requests = true # Log HTTP requests made to telly

THIS SECTION IS REQUIRED

[Web] Base-Address = "192.168.0.10:6666" # Set this to the IP address of the machine telly runs on AS SEEN BY PLEX

telly will be telling Plex to connect to URLs at this address.

                              # DO NOT REMOVE THE PORT
                              # Just change the 0.0.0.0 to your IP address.

Listen-Address = "0.0.0.0:6666" # this can stay as-is

THIS SECTION IS OPTIONAL ========================================================================

[SchedulesDirect] # If you have a Schedules Direct account, fill in details and then

                         # UNCOMMENT THIS SECTION

Username = "" # This is under construction; There is no provider

Password = "" # that works with it fully at this time

AT LEAST ONE SOURCE IS REQUIRED

COPY/PASTE THIS BLOCK TO ADD MORE SOURCES

THIS EXAMPLE WILL NOT WORK AS-IS

[[Source]] Name = "Testing" # Name is optional and is used mostly for logging purposes Provider = "Custom" # DO NOT CHANGE THIS

"Custom" is telly's internal identifier for this 'Provider'

                        # If you change it to "SOMETHING ELSE", telly's reaction will be
                        # "I don't recognize a provider called 'SOMETHING ELSE'."

M3U = "LINK-TO-MY-SERVER" # This can be either URL or fully-qualified path.

This needs to be an M3Uplus file

                        # IT CANNOT BE A STREAM ADDRESS
                        # IT CANNOT BE AN M3U THAT LINKS TO ANOTHER M3U

EPG = "http://www.xmltv.co.uk/feed/6743" # This can be either URL or fully-qualified path.

THE FOLLOWING KEYS ARE OPTIONAL IN THEORY, REQUIRED IN PRACTICE

Filter = "YOUR_FILTER_REGULAR_EXPRESSION"

Telly is written in Go, and uses the Go regular expression system,

                        # which is limited compared to other regular expression parsers.

FilterKey = "group-title" # Telly applies the regular expression to the contents of this key in the M3U. FilterRaw = false # FilterRaw will run your regex on the entire line instead of just specific keys. Sort = "group-title" # Sort will alphabetically sort your channels by the M3U key provided

END TELLY CONFIG


**Command line used to run telly [if applicable]:**
- REMEMBER TO DELETE ANY CREDENTIALS IN CONFIG FILES OR COMMAND LINES

./telly-docker.sh


**Docker run command used to run telly [if applicable]:**
- REMEMBER TO DELETE ANY CREDENTIALS IN CONFIG FILES OR COMMAND LINES

**telly or docker log:**


**Additional information:**
chazlarson commented 4 years ago

Is Plex running as a docker, as well? My typical test systems have all had telly and Plex running in dockers without any problems.

Behinder commented 4 years ago

No Plex is running separately. Maybe it is random issue because once it was detected and once not. Usually it does not appear as a tuner even when detected :(