tellytv / telly

An IPTV proxy
MIT License
769 stars 106 forks source link

EPG not matching Shows #233

Closed endiz closed 5 years ago

endiz commented 5 years ago

telly release with the issue:

1.1

Last working telly release (if known):

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

Unraid Docker

Description of problem: Show's don't get matched in plex, and when I set to record them they default to a movies library. Movie's get matched properly. IPTV service being used: IrisTV

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

# THIS SECTION IS REQUIRED ########################################################################
[Discovery]                                    # most likely you won't need to change anything here
  Device-Auth = "telly123"                     # These settings are all related to how telly identifies
  Device-ID = 12345678                         # itself to Plex.
  Device-UUID = ""
  Device-Firmware-Name = "hdhomeruntc_atsc"
  Device-Firmware-Version = "20150826"
  Device-Friendly-Name = "telly"
  Device-Manufacturer = "Silicondust"
  Device-Model-Number = "HDTC-2US"
  SSDP = true

# THIS SECTION IS REQUIRED ########################################################################
[IPTV]
  Streams = 2               # number of simultaneous streams that the telly virtual DVR will provide
                            # This is often 1, but is set by your iptv provider; for example,
                            # Vaders provides 5
  Starting-Channel = 10000  # 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

# 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.2.22:6077"   # Set this to the IP address of the machine telly runs on
  Listen-Address = "0.0.0.0:6077" # 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; Vader is the only provider
#  Password = ""             # that works with it fully at this time

# AT LEAST ONE SOURCE IS REQUIRED #################################################################
# DELETE OR COMMENT OUT SOURCES THAT YOU ARE NOT USING ############################################
# NONE OF THESE EXAMPLES WORK AS-IS; IF YOU DON'T CHANGE IT, DELETE IT ############################
[[Source]]
  Name = ""                 # Name is optional and is used mostly for logging purposes
  Provider = "Iris"       # named providers currently supported are "Vaders", "area51", "Iris"
# IF YOUR PROVIDER IS NOT ONE OF THE ABOVE, CONFIGURE IT AS A "Custom" PROVIDER; SEE BELOW
  Username = "XXX"
  Password = "XXX"
  # THE FOLLOWING KEYS ARE OPTIONAL IN THEORY, REQUIRED IN PRACTICE
  Filter = "CANADA"
  FilterKey = "group-title" # FilterKey normally defaults to whatever the provider file says is best,
                            # otherwise you must set this.
  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]:

Docker run command used to run telly [if applicable]:

tellytv/telly:dev-ffmpeg

telly or docker log:

time="2019-02-23T02:33:50Z" level=info msg="Loading M3U from http://irislinks.net:83/get.php?username=REDACTED&password=REDACTED&type=m3u_plus&output=ts"
time="2019-02-23T02:33:51Z" level=info msg="Loading XMLTV from http://irislinks.net:83/xmltv.php?username=REDACTED&password=REDACTED"
time="2019-02-23T02:33:57Z" level=info msg="Loaded 214 channels into the lineup from Iris"
time="2019-02-23T02:33:57Z" level=info msg="telly is live and on the air!"
time="2019-02-23T02:33:57Z" level=info msg="Broadcasting from http://0.0.0.0:6077/"
time="2019-02-23T02:33:57Z" level=info msg="EPG URL: http://0.0.0.0:6077/epg.xml"
time="2019-02-23T02:46:21Z" level=info msg="Serving channel number 10008"
time="2019-02-23T02:47:21Z" level=info msg="Serving channel number 10132"
time="2019-02-23T02:49:50Z" level=info msg="Serving channel number 10132"
time="2019-02-23T03:28:07Z" level=info msg="Serving channel number 10132"
time="2019-02-23T03:30:13Z" level=info msg="Serving channel number 10043"
time="2019-02-23T03:30:41Z" level=info msg="Serving channel number 10203"
time="2019-02-23T03:31:28Z" level=info msg="Serving channel number 10000"
time="2019-02-23T13:12:34Z" level=info msg="Serving channel number 10008"
time="2019-02-23T13:33:19Z" level=info msg="Serving channel number 10132"
time="2019-02-23T13:34:06Z" level=info msg="Serving channel number 10132"
time="2019-02-23T14:40:31Z" level=info msg="telly is preparing to go live (version=1.1.0.5, branch=dev, revision=0d28df61af33f5f0779427d8ad24d62a719e478c)"

time="2019-02-23T14:40:31Z" level=info msg="Loading M3U from http://irislinks.net:83/get.php?username=REDACTED&password=REDACTED&type=m3u_plus&output=ts"
time="2019-02-23T14:40:32Z" level=info msg="Loading XMLTV from http://irislinks.net:83/xmltv.php?username=REDACTED&password=REDACTED"
time="2019-02-23T14:40:45Z" level=info msg="Loaded 214 channels into the lineup from Iris"
time="2019-02-23T14:40:45Z" level=info msg="telly is live and on the air!"
time="2019-02-23T14:40:45Z" level=info msg="Broadcasting from http://0.0.0.0:6077/"
time="2019-02-23T14:40:45Z" level=info msg="EPG URL: http://0.0.0.0:6077/epg.xml"
time="2019-02-23T15:33:53Z" level=info msg="telly is preparing to go live (version=1.1.0.5, branch=dev, revision=0d28df61af33f5f0779427d8ad24d62a719e478c)"

time="2019-02-23T15:33:53Z" level=info msg="Loading M3U from http://irislinks.net:83/get.php?username=REDACTED&password=REDACTED&type=m3u_plus&output=ts"
time="2019-02-23T15:33:55Z" level=info msg="Loading XMLTV from http://irislinks.net:83/xmltv.php?username=REDACTED&password=REDACTED"
time="2019-02-23T15:34:06Z" level=info msg="Loaded 214 channels into the lineup from Iris"
time="2019-02-23T15:34:06Z" level=info msg="telly is live and on the air!"
time="2019-02-23T15:34:06Z" level=info msg="Broadcasting from http://0.0.0.0:6077/"
time="2019-02-23T15:34:06Z" level=info msg="EPG URL: http://0.0.0.0:6077/epg.xml"

Additional information: Show not matched: image

Show defaulting to Movie library when recording: image

Movie matched: image

chazlarson commented 5 years ago

This is an issue between guide data and Plex. telly just passes guide data through from provider to Plex, so if the required tag [dd_progid] Plex uses to identify a thing as Movie/TV is not present there's nothing telly can do.

Telly 1.5 can source guide data from Schedules Direct, which provides very complete data, but for earlier versions the solution is to find a better guide source; if it is possible to use Plex' built-in guide that can be a solution as well.

endiz commented 5 years ago

Thanks. I noticed 1.1 also has a section for schedules direct & iptv-epg.. I'll take a look at them. You can close this issue.

chazlarson commented 5 years ago

In 1.1, Schedules Direct is only used for filling in existing EPG data, and then only for Vader sources. It's not a general-purpose EPG source.