tellytv / telly

An IPTV proxy
MIT License
751 stars 105 forks source link

Plex recordings fail every time; live TV works OK #234

Closed eelton closed 5 years ago

eelton commented 5 years ago
Plex shows error "Recording failed. Please check your tuner or antenna" on every recording. **telly release with the issue:** 1.1.0-Beta5 **Last working telly release (if known):** **Operating environment (Docker/Windows/Linux/QNAP, etc.):** Windows 10 **Description of problem:** Files are created, but are shorter than they should be--sometimes only a few seconds long, and others nearly the full length. I've tried an m3u specifying ts files, with and without using ffmpeg, and m3u8 files with ffmpeg (which seems to produce more complete recordings, but still incomplete and still shown as failed). Live TV plays without issues. **Contents of `telly.config.toml` [if you're using a version above 1.1]:** - REMEMBER TO DELETE ANY CREDENTIALS IN CONFIG FILES OR COMMAND LINES ```# 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 # 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 = 3 # number of simultaneous streams that telly virtual tuner will provide # This is often 1, but is set by your iptv provider; for example, # Vaders provides 5 Starting-Channel = 100 # 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.1.5:6077" # 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. Listen-Address = "0.0.0.0:6077" # this can stay as-is # 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 = "Vader via EPG for IPTV" # Name is optional and is used mostly for logging purposes Provider = "IPTV-EPG" # DO NOT CHANGE THIS IF YOU ARE USING THIS PROVIDER Username = "xxxxxxxxx" # From http://iptv-epg.com/[M3U-Identifier].m3u Password = "xxxxxxxxx" # From http://iptv-epg.com/[XML-Identifier].xml # NOTE: THOSE KEY NAMES DO NOT MAKE SENSE FOR THIS PROVIDER ################ # THIS IS JUST AN IMPLEMENTATION DETAIL. JUST GO WITH IT. # For this purpose, IPTV-EPG does not have a "username" and "password", HOWEVER, # telly's scaffolding for a "Named provider" does. Rather than special-casing this provider, # the username and password are used to hold the two required bits of information. # THIS IS JUST AN IMPLEMENTATION DETAIL. JUST GO WITH IT. # NOTE: THOSE KEY NAMES DO NOT MAKE SENSE FOR THIS PROVIDER ################ # THE FOLLOWING KEYS ARE OPTIONAL HERE; IF YOU"RE USING IPTV-EPG YOU'VE PROBABLY DONE YOUR # FILTERING THERE ALREADY # Filter = "" # FilterKey = "" # FilterRaw = false # Sort = "" # END TELLY CONFIG ############################################################################### ``` **Command line used to run telly [if applicable]:** - REMEMBER TO DELETE ANY CREDENTIALS IN CONFIG FILES OR COMMAND LINES ``` ``` **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:** Plex DVR recordings work fine with HDHomeRun network tuner.
eelton commented 5 years ago

It appears this was due to the use of a VPN, as recordings work with it disabled. Why live streams can play through the VPN while recording fails is unclear to me.