BurntOC Posted November 12, 2020 Share Posted November 12, 2020 (edited) Not so fast, says Plex..... So I set up a recording for this afternoon and I accessed Plex at dinner to watch it. There's no recording, but a triangle next to it in the "DVR Scheduler". Two shows for tomorrow show scheduled, but I expect they'd fail. When I try to watch live TV, I get a dialog box "Playback Error: Could not tune channel. Please check your tuner or antenna." Looks like it could be something with l2p. I see this in the logs for the l2p container: 192.168.70.20 - - [12/Nov/2020 04:20:59] "GET /watch/1075?X-Plex-Token=redacted HTTP/1.1" 200 - ---------------------------------------- Exception happened during processing of request from ('192.168.70.20', 56744) Traceback (most recent call last): File "/usr/lib/python3.8/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.8/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.8/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.8/socketserver.py", line 720, in __init__ self.handle() File "/usr/lib/python3.8/http/server.py", line 427, in handle self.handle_one_request() File "/usr/lib/python3.8/http/server.py", line 415, in handle_one_request method() File "/app/main.py", line 127, in do_GET ffmpeg_proc = subprocess.Popen(["ffmpeg", "-i", channelUri, "-codec", "copy", "-f", "mpegts", "pipe:1"], stdout=subprocess.PIPE) File "/usr/lib/python3.8/subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.8/subprocess.py", line 1637, in _execute_child self.pid = _posixsubprocess.fork_exec( TypeError: expected str, bytes or os.PathLike object, not bool ---------------------------------------- 192.168.70.20 - - [12/Nov/2020 04:21:00] "GET /discover.json HTTP/1.0" 200 - 192.168.70.20 - - [12/Nov/2020 04:21:00] "GET /lineup_status.json HTTP/1.0" 200 - UPDATE: So I found others with similar issues, and one of the investigation steps was to go to http://plex_accessible_ip:plex_accessible_port in a browser. This showed the IP:port:port. I removed the port from my config.ini (which may have been key to getting the tuner into Plex to begin with), restarted the container, and now I can watch live TV - on about half my local HD channels. I'm not sure why this would be the case unless there is some sort of transcoding issue going on as most all my stuff is Direct Play, but at least it's progress. Baby steps.... UPDATE2: Back into Plex again I noticed a message about a new tuner detected, a SiliconDust Locast device. I figured wth, I'll go through DVR setup again. It seems like more channels are playing nice now (and it still only shows the SiliconDust Locast device), so maybe it's just temperamental. Edited November 12, 2020 by BurntOC update Quote Link to comment
BurntOC Posted November 26, 2020 Share Posted November 26, 2020 Update - saw an update in Unraid and applied it and it wouldn't start. Based on this line in the log, I realized it was probably failing because my password had a % character in it. I changed it to remove that, updated the config.ini and it works now. Initiating Locast2Plex v0.6.1 Opening and Verifying Configuration File. /app/config/config.ini Loading Configuration File: /app/config/config.ini Traceback (most recent call last): File "/app/main.py", line 49, in <module> config = get_config(script_dir, opersystem, args) File "/app/lib/user_config.py", line 10, in get_config return UserConfig(script_dir, opersystem, args).data File "/app/lib/user_config.py", line 52, in __init__ self.import_config() File "/app/lib/user_config.py", line 75, in import_config for (each_key, each_val) in self.config_handler.items(each_section): File "/usr/local/lib/python3.8/configparser.py", line 859, in items return [(option, value_getter(option)) for option in orig_keys] File "/usr/local/lib/python3.8/configparser.py", line 859, in <listcomp> return [(option, value_getter(option)) for option in orig_keys] File "/usr/local/lib/python3.8/configparser.py", line 855, in <lambda> value_getter = lambda option: self._interpolation.before_get(self, File "/usr/local/lib/python3.8/configparser.py", line 395, in before_get self._interpolate_some(parser, option, L, value, section, defaults, 1) File "/usr/local/lib/python3.8/configparser.py", line 442, in _interpolate_some raise InterpolationSyntaxError( configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: '%restofpassword Quote Link to comment
Bobb18 Posted December 10, 2020 Share Posted December 10, 2020 Ugh...now its saying credentials missing Quote Opening and Verifying Configuration File. /app/config/config.ini Loading Configuration File: /app/config/config.ini Locast Login Credentials Missing. Exiting... Config is taking from github [main] [email protected] locast_password=xxxxx plex_accessible_ip=192.168.1.171 Quote Link to comment
Apoceclipse Posted December 25, 2020 Share Posted December 25, 2020 (edited) On 12/10/2020 at 8:00 AM, Bobb18 said: Ugh...now its saying credentials missing Config is taking from github [main] [email protected] locast_password=xxxxx plex_accessible_ip=192.168.1.171 I had the same issue. I changed the path from /mnt/user/appdata/locast to /mnt/cache/appdata/locast and everything works great. Edit: Yesterday plex decided not to play live TV. I deleted the dvr and tried to set it up again and plex does not see my device anymore. Locast seems to be loading just fine, I can access the xml from port 6077, but for some reason plex can't find my device even when manually entering the ip address. Any ideas? Edited January 10, 2021 by Apoceclipse Quote Link to comment
TBoneStaek Posted March 13, 2021 Share Posted March 13, 2021 On 12/10/2020 at 11:00 AM, Bobb18 said: Ugh...now its saying credentials missing Config is taking from github [main] [email protected] locast_password=xxxxx plex_accessible_ip=192.168.1.171 Did you ever find a solution to this? I'm getting the same error. Quote Link to comment
Bobb18 Posted March 15, 2021 Share Posted March 15, 2021 On 3/13/2021 at 11:31 AM, TBoneStaek said: Did you ever find a solution to this? I'm getting the same error. Nope...stopped trying for now Quote Link to comment
TBoneStaek Posted March 15, 2021 Share Posted March 15, 2021 4 hours ago, Bobb18 said: Nope...stopped trying for now Yup, so after some more scouring I found a solution that worked for me; change the config file path from app/config/config.ini to app/config/ That did it for me. Quote Link to comment
ziggie216 Posted March 23, 2021 Share Posted March 23, 2021 I'm reading that Locast dropped the donation when COVID started but seems like in order to use this locast2plex, donation is still required? Quote Link to comment
ppunraid Posted March 23, 2021 Share Posted March 23, 2021 1 hour ago, ziggie216 said: I'm reading that Locast dropped the donation when COVID started but seems like in order to use this locast2plex, donation is still required? Probably not the right forum to discuss your issue, but here's what a quick search brought up: https://www.globenewswire.com/news-release/2020/03/18/2002822/0/en/Locast-lessens-coronavirus-hardships-with-emergency-offer.html Quote Link to comment
ziggie216 Posted March 23, 2021 Share Posted March 23, 2021 (edited) 40 minutes ago, ppunraid said: Probably not the right forum to discuss your issue, but here's what a quick search brought up: https://www.globenewswire.com/news-release/2020/03/18/2002822/0/en/Locast-lessens-coronavirus-hardships-with-emergency-offer.html Thanks.. I must have read another article wrong about donating being temporary removed when I saw this Quote A locast account that you have donated to (non donated accounts have streams that terminate after 5-10 mins, so locast2plex intentionally fails to prevent issues with non donating users and the DVR function). Also be sure you are running the server from the same physical location that you want channels for. when I was wondering why the docker wouldn't start. Edited March 23, 2021 by ziggie216 Quote Link to comment
Cynagen Posted March 25, 2021 Share Posted March 25, 2021 (edited) Docker.img got corrupted, had to readd L2P, and well, the new configuration sucks cause when I scan for channels from Plex, it says it found none, despite there being 46 listed in the logs. "Found 46 stations", and Plex comes back with "No channels found. Make sure your device has a signal from your antenna and try scanning again." Really really wish I didn't have to be forced to update my software, original version was working fine. Anyone else run into this issue? It's not documented anywhere else it seems. FIX: Had to manually add the address and port number to Plex for it to recognize it as a tuner properly. Wtf? Edited March 25, 2021 by Cynagen Stupid fix for stupid issue Quote Link to comment
wgstarks Posted August 13, 2021 Share Posted August 13, 2021 Is this docker working for anyone? I’ve read all through this thread and tried all the different configurations recommended but have been totally unsuccessful getting it to work. Quote Link to comment
wgstarks Posted August 13, 2021 Share Posted August 13, 2021 My current settings are- debug=yes appdata container=/app/config.ini host=/mnt/user/appdata/locast2plex/config.ini The log shows what appears to be a successful start but Plex never finds the DVR even when configured manually. Initiating Locast2Plex v0.6.6 Opening and Verifying Configuration File. /app/config/config.ini /app/config.ini Loading Configuration File: /app/config.ini Tuner count set to 3 Server is set to run on 10.0.1.24:6077 UUID set to: zwlqwxjq... Getting user location... Getting location via IP Address. Got external IP 24.211.134.231. Got location as Raleigh - DMA 560 - Lat\Lon 35.879414\-79.08193 Logging into Locast using username [email protected]... Validating User Info... User Info obtained. User didDonate: True User donationExpire: 2021-10-09 10:54:41 Starting First time Stations refresh... Checking FCC facilities database for updates. Online facilities database is newer. Downloading the latest FCC facilities database... Unzipping FCC facilities database... Reading and formatting FCC database... Found 5415 stations. Getting list of stations based on DMA... Found 39 stations for DMA 560 Starting Stations thread... Starting device server on 10.0.1.24:6077 Now listening for requests. Starting SSDP server... Starting First time EPG refresh... Fetching: https://api.locastnet.org/api/watch/epg/560?startTime=2021-08-13T00:00:00 Fetching: https://api.locastnet.org/api/watch/epg/560?startTime=2021-08-14T00:00:00 Fetching: https://api.locastnet.org/api/watch/epg/560?startTime=2021-08-15T00:00:00 Fetching: https://api.locastnet.org/api/watch/epg/560?startTime=2021-08-16T00:00:00 Fetching: https://api.locastnet.org/api/watch/epg/560?startTime=2021-08-17T00:00:00 Fetching: https://api.locastnet.org/api/watch/epg/560?startTime=2021-08-18T00:00:00 Starting EPG thread... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.