the container doesnt do anything in regards to playback.
it simply gives Channels the url to play
"long pauses between items in their playlist."
what does that mean?
the container doesnt do anything in regards to playback.
it simply gives Channels the url to play
"long pauses between items in their playlist."
what does that mean?
Something must have changed overnight. Seems the docker container is not functioning properly. I have included log where I was slecting a channel to watch with a 500 Internal Server Error. I have deleted the docker container, docker image, and started all over with the same results.
PS I can retrieve the playlist but no streaming. So my docker is not blocking the port.
matthuisman-frndlytv-for-channels1
date,stream,content
2021-11-19 13:29:09,stdout,----------------------------------------
2021-11-19 13:29:09,stdout,Exception: Unable to find live stream for: 1
2021-11-19 13:29:09,stdout, raise Exception(f'Unable to find live stream for: {id}')
2021-11-19 13:29:09,stdout," File \"./app.py\", line 131, in _play
"
2021-11-19 13:29:09,stdout, routes[func]()
2021-11-19 13:29:09,stdout," File \"./app.py\", line 99, in do_GET
"
2021-11-19 13:29:09,stdout, self._error(e)
2021-11-19 13:29:09,stdout," File \"./app.py\", line 101, in do_GET
"
2021-11-19 13:29:09,stdout, method()
2021-11-19 13:29:09,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 415, in handle_one_request
"
2021-11-19 13:29:09,stdout, self.handle_one_request()
2021-11-19 13:29:09,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 427, in handle
"
2021-11-19 13:29:09,stdout, self.handle()
2021-11-19 13:29:09,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 747, in __init__
"
2021-11-19 13:29:09,stdout," super().__init__(*args, **kwargs)
"
2021-11-19 13:29:09,stdout," File \"./app.py\", line 74, in __init__
"
2021-11-19 13:29:09,stdout," self.RequestHandlerClass(request, client_address, self)
"
2021-11-19 13:29:09,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 360, in finish_request
"
2021-11-19 13:29:09,stdout," self.finish_request(request, client_address)
"
2021-11-19 13:29:09,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 683, in process_request_thread
"
2021-11-19 13:29:09,stdout,Traceback (most recent call last):
2021-11-19 13:29:09,stdout,"Exception happened during processing of request from ('192.168.1.34', 54670)
"
2021-11-19 13:29:09,stdout,----------------------------------------
2021-11-19 13:29:09,stdout,192.168.1.34 - - [19/Nov/2021 13:29:09] "GET /play/1 HTTP/1.1" 500 -
2021-11-19 13:24:44,stdout,----------------------------------------
2021-11-19 13:24:44,stdout,Exception: Unable to find live stream for: 6
2021-11-19 13:24:44,stdout, raise Exception(f'Unable to find live stream for: {id}')
2021-11-19 13:24:44,stdout," File \"./app.py\", line 131, in _play
"
2021-11-19 13:24:44,stdout, routes[func]()
2021-11-19 13:24:44,stdout," File \"./app.py\", line 99, in do_GET
"
2021-11-19 13:24:44,stdout, self._error(e)
2021-11-19 13:24:44,stdout," File \"./app.py\", line 101, in do_GET
"
2021-11-19 13:24:44,stdout, method()
2021-11-19 13:24:44,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 415, in handle_one_request
"
2021-11-19 13:24:44,stdout, self.handle_one_request()
2021-11-19 13:24:44,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 427, in handle
"
2021-11-19 13:24:44,stdout, self.handle()
2021-11-19 13:24:44,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 747, in __init__
"
2021-11-19 13:24:44,stdout," super().__init__(*args, **kwargs)
"
2021-11-19 13:24:44,stdout," File \"./app.py\", line 74, in __init__
"
2021-11-19 13:24:44,stdout," self.RequestHandlerClass(request, client_address, self)
"
2021-11-19 13:24:44,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 360, in finish_request
"
2021-11-19 13:24:44,stdout," self.finish_request(request, client_address)
"
2021-11-19 13:24:44,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 683, in process_request_thread
"
2021-11-19 13:24:44,stdout,Traceback (most recent call last):
2021-11-19 13:24:44,stdout,"Exception happened during processing of request from ('192.168.1.34', 54582)
"
2021-11-19 13:24:44,stdout,----------------------------------------
2021-11-19 13:24:44,stdout,192.168.1.34 - - [19/Nov/2021 13:24:44] "GET /play/6 HTTP/1.1" 500 -
2021-11-19 13:24:43,stdout,----------------------------------------
2021-11-19 13:24:43,stdout,Exception: Unable to find live stream for: 6
2021-11-19 13:24:43,stdout, raise Exception(f'Unable to find live stream for: {id}')
2021-11-19 13:24:43,stdout," File \"./app.py\", line 131, in _play
"
2021-11-19 13:24:43,stdout, routes[func]()
2021-11-19 13:24:43,stdout," File \"./app.py\", line 99, in do_GET
"
2021-11-19 13:24:43,stdout, self._error(e)
2021-11-19 13:24:43,stdout," File \"./app.py\", line 101, in do_GET
"
2021-11-19 13:24:43,stdout, method()
2021-11-19 13:24:43,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 415, in handle_one_request
"
2021-11-19 13:24:43,stdout, self.handle_one_request()
2021-11-19 13:24:43,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 427, in handle
"
2021-11-19 13:24:43,stdout, self.handle()
2021-11-19 13:24:43,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 747, in __init__
"
2021-11-19 13:24:43,stdout," super().__init__(*args, **kwargs)
"
2021-11-19 13:24:43,stdout," File \"./app.py\", line 74, in __init__
"
2021-11-19 13:24:43,stdout," self.RequestHandlerClass(request, client_address, self)
"
2021-11-19 13:24:43,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 360, in finish_request
"
2021-11-19 13:24:43,stdout," self.finish_request(request, client_address)
"
2021-11-19 13:24:43,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 683, in process_request_thread
"
2021-11-19 13:24:43,stdout,Traceback (most recent call last):
2021-11-19 13:24:43,stdout,"Exception happened during processing of request from ('192.168.1.34', 54574)
"
2021-11-19 13:24:43,stdout,----------------------------------------
2021-11-19 13:24:43,stdout,192.168.1.34 - - [19/Nov/2021 13:24:43] "GET /play/6 HTTP/1.1" 500 -
2021-11-19 13:24:42,stdout,----------------------------------------
2021-11-19 13:24:42,stdout,Exception: Unable to find live stream for: 6
2021-11-19 13:24:42,stdout, raise Exception(f'Unable to find live stream for: {id}')
2021-11-19 13:24:42,stdout," File \"./app.py\", line 131, in _play
"
2021-11-19 13:24:42,stdout, routes[func]()
2021-11-19 13:24:42,stdout," File \"./app.py\", line 99, in do_GET
"
2021-11-19 13:24:42,stdout, self._error(e)
2021-11-19 13:24:42,stdout," File \"./app.py\", line 101, in do_GET
"
2021-11-19 13:24:42,stdout, method()
2021-11-19 13:24:42,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 415, in handle_one_request
"
2021-11-19 13:24:42,stdout, self.handle_one_request()
2021-11-19 13:24:42,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 427, in handle
"
2021-11-19 13:24:42,stdout, self.handle()
2021-11-19 13:24:42,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 747, in __init__
"
2021-11-19 13:24:42,stdout," super().__init__(*args, **kwargs)
"
2021-11-19 13:24:42,stdout," File \"./app.py\", line 74, in __init__
"
2021-11-19 13:24:42,stdout," self.RequestHandlerClass(request, client_address, self)
"
2021-11-19 13:24:42,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 360, in finish_request
"
2021-11-19 13:24:42,stdout," self.finish_request(request, client_address)
"
2021-11-19 13:24:42,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 683, in process_request_thread
"
2021-11-19 13:24:42,stdout,Traceback (most recent call last):
2021-11-19 13:24:42,stdout,"Exception happened during processing of request from ('192.168.1.34', 54570)
"
2021-11-19 13:24:42,stdout,----------------------------------------
2021-11-19 13:24:42,stdout,192.168.1.34 - - [19/Nov/2021 13:24:42] "GET /play/6 HTTP/1.1" 500 -
2021-11-19 13:24:41,stdout,----------------------------------------
2021-11-19 13:24:41,stdout,Exception: Unable to find live stream for: 6
2021-11-19 13:24:41,stdout, raise Exception(f'Unable to find live stream for: {id}')
2021-11-19 13:24:41,stdout," File \"./app.py\", line 131, in _play
"
2021-11-19 13:24:41,stdout, routes[func]()
2021-11-19 13:24:41,stdout," File \"./app.py\", line 99, in do_GET
"
2021-11-19 13:24:41,stdout, self._error(e)
2021-11-19 13:24:41,stdout," File \"./app.py\", line 101, in do_GET
"
2021-11-19 13:24:41,stdout, method()
2021-11-19 13:24:41,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 415, in handle_one_request
"
2021-11-19 13:24:41,stdout, self.handle_one_request()
2021-11-19 13:24:41,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 427, in handle
"
2021-11-19 13:24:41,stdout, self.handle()
2021-11-19 13:24:41,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 747, in __init__
"
2021-11-19 13:24:41,stdout," super().__init__(*args, **kwargs)
"
2021-11-19 13:24:41,stdout," File \"./app.py\", line 74, in __init__
"
2021-11-19 13:24:41,stdout," self.RequestHandlerClass(request, client_address, self)
"
2021-11-19 13:24:41,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 360, in finish_request
"
2021-11-19 13:24:41,stdout," self.finish_request(request, client_address)
"
2021-11-19 13:24:41,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 683, in process_request_thread
"
2021-11-19 13:24:41,stdout,Traceback (most recent call last):
2021-11-19 13:24:41,stdout,"Exception happened during processing of request from ('192.168.1.34', 54566)
"
2021-11-19 13:24:41,stdout,----------------------------------------
2021-11-19 13:24:41,stdout,192.168.1.34 - - [19/Nov/2021 13:24:41] "GET /play/6 HTTP/1.1" 500 -
2021-11-19 13:23:56,stdout,No gracenote id found in epg map for: 38
2021-11-19 13:23:56,stdout,No gracenote id found in epg map for: 16
2021-11-19 13:23:56,stdout,No gracenote id found in epg map for: 37
2021-11-19 13:23:56,stdout,172.17.0.1 - - [19/Nov/2021 13:23:56] "GET /playlist.m3u?start_chno=70 HTTP/1.1" 200 -
2021-11-19 13:23:22,stdout,logged in!
2021-11-19 13:23:20,stdout,logging in....
I have the same problem.
Yeah I'm running into problems too.
2021/11/19 11:43:50.199003 [ERR] Failed to start stream for ch9010: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:50.268808 [HLS] Couldn't generate stream playlist for ch9010-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:50.268808 [HLS] Stopping transcoder session ch9010-dANY-ip127.0.0.1
2021/11/19 11:43:51.443893 [ERR] Failed to start stream for ch9010: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:51.468915 [HLS] Couldn't generate stream playlist for ch9010-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:51.468915 [HLS] Stopping transcoder session ch9010-dANY-ip127.0.0.1
2021/11/19 11:43:52.076690 [ERR] Failed to start stream for ch9010: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:52.115640 [HLS] Couldn't generate stream playlist for ch9010-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:52.116145 [HLS] Stopping transcoder session ch9010-dANY-ip127.0.0.1
2021/11/19 11:43:53.255354 [ERR] Failed to start stream for ch9010: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:53.309351 [HLS] Couldn't generate stream playlist for ch9010-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:53.309351 [HLS] Stopping transcoder session ch9010-dANY-ip127.0.0.1
2021/11/19 11:43:54.078521 [ERR] Failed to start stream for ch9010: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:54.138327 [HLS] Couldn't generate stream playlist for ch9010-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:54.138327 [HLS] Stopping transcoder session ch9010-dANY-ip127.0.0.1
2021/11/19 11:43:55.284242 [ERR] Failed to start stream for ch9010: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:55.337190 [HLS] Couldn't generate stream playlist for ch9010-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:55.337190 [HLS] Stopping transcoder session ch9010-dANY-ip127.0.0.1
2021/11/19 11:43:56.108169 [ERR] Failed to start stream for ch9010: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:56.162955 [HLS] Couldn't generate stream playlist for ch9010-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:56.163954 [HLS] Stopping transcoder session ch9010-dANY-ip127.0.0.1
2021/11/19 11:43:57.312641 [ERR] Failed to start stream for ch9010: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:57.364664 [HLS] Couldn't generate stream playlist for ch9010-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/29: 500 Internal Server Error
2021/11/19 11:43:57.364664 [HLS] Stopping transcoder session ch9010-dANY-ip127.0.0.1
2021/11/19 11:44:05.388886 [ERR] Failed to start stream for ch9000: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:44:05.415615 [HLS] Couldn't generate stream playlist for ch9000-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:44:05.415615 [HLS] Stopping transcoder session ch9000-dANY-ip127.0.0.1
2021/11/19 11:44:06.574867 [ERR] Failed to start stream for ch9000: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:44:06.609364 [HLS] Couldn't generate stream playlist for ch9000-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:44:06.609390 [HLS] Stopping transcoder session ch9000-dANY-ip127.0.0.1
2021/11/19 11:44:07.379713 [ERR] Failed to start stream for ch9000: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:44:07.424131 [HLS] Couldn't generate stream playlist for ch9000-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:44:07.424131 [HLS] Stopping transcoder session ch9000-dANY-ip127.0.0.1
2021/11/19 11:44:08.589478 [ERR] Failed to start stream for ch9000: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:44:08.613945 [HLS] Couldn't generate stream playlist for ch9000-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:44:08.614102 [HLS] Stopping transcoder session ch9000-dANY-ip127.0.0.1
2021/11/19 11:44:09.419050 [ERR] Failed to start stream for ch9000: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:44:09.460664 [HLS] Couldn't generate stream playlist for ch9000-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:44:09.460664 [HLS] Stopping transcoder session ch9000-dANY-ip127.0.0.1
2021/11/19 11:44:57.957464 [M3U] Refreshed lineup for Frndly with 30 channels
2021/11/19 11:45:15.569580 [ERR] Failed to start stream for ch9000: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:45:15.640542 [HLS] Couldn't generate stream playlist for ch9000-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:45:15.640542 [HLS] Stopping transcoder session ch9000-dANY-ip127.0.0.1
2021/11/19 11:45:16.810956 [ERR] Failed to start stream for ch9000: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:45:16.836266 [HLS] Couldn't generate stream playlist for ch9000-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:45:16.836367 [HLS] Stopping transcoder session ch9000-dANY-ip127.0.0.1
2021/11/19 11:45:17.441849 [ERR] Failed to start stream for ch9000: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:45:17.494421 [HLS] Couldn't generate stream playlist for ch9000-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:45:17.494421 [HLS] Stopping transcoder session ch9000-dANY-ip127.0.0.1
2021/11/19 11:45:18.651800 [ERR] Failed to start stream for ch9000: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:45:18.690711 [HLS] Couldn't generate stream playlist for ch9000-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:45:18.690711 [HLS] Stopping transcoder session ch9000-dANY-ip127.0.0.1
2021/11/19 11:45:19.485853 [ERR] Failed to start stream for ch9000: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:45:19.522593 [HLS] Couldn't generate stream playlist for ch9000-dANY-ip127.0.0.1: M3U: get http://127.0.0.1:8183/play/10: 500 Internal Server Error
2021/11/19 11:45:19.522593 [HLS] Stopping transcoder session ch9000-dANY-ip127.0.0.1
**please try latest container. **
should be fixed
I concure. May I ask what happened. My recordings that ended at 3am did record with no issues, so the problem happened sometime after that time.
A Yule Log Logo created for anyone that wants it.
the new method I used to find the channel paths stopped working (frndly stopped returning it)
So, I've gone back to supplying it via the external file.
I've also automated this external file to check for new channels every hour.
For channels not found in this external file, there is now a backup method that tries to generate the url itself. It does rely on the docker containers time being correct though. Majority of the time it is.
So, if a new channel pops up, the playlist will use backup method until 1 hour later and the external file has the path it needs.
Thanks for being so fast. Back up and running. And thanks for the work you have done on this excellent "add-on" to Channels. I'm not sure what else to call it.
Unfortunately, I am still getting "500 Internal Server Error":
2021/11/20 09:52:12.258638 [ERR] Failed to start stream for ch14297: M3U: get http://192.168.1.40:8183/play/70113: 500 Internal Server Error
And I have deleted the container and replaced it several times but it is still not working...
Im not having issues today but your channel numbers dont look right
I donβt know why. Is there a way to reset the channels numbers?
I set mine to start at 70 Make sure your souce is set Format HLS and prefere channels numbers from M3U
http://192.168.1.40:8183/playlist.m3u?start_chno=70
I set my source to text and copied the content in the m3u file. You have more flexiblity like using diffterent logo images and odering channels together in groups like hallmark, gac, and histories.
Channel numbers aren't used for the playback urls. Either the channel slug or channel Id is used.
The users issue I suspect is they are using an older version of the docker container. They need to update it to the latest.
Deleting and recreating isnt getting the latest. You need to pull latest.
I was wondering about this external file you mentioned. Is this a file within the container or a file residing somewhere on your network. I notice some times when switching channels live, 500 Internal Server Error appears. When I change channel and return to previous channel the error clears. Its kinda like you have the switch to turn it off, not that you would. You have done an outstanding job for us that have this service. I'm actually surprised the Channels Developers have not worked on this to include this in their platform. I'm just concerned on losing this capibility. I wish I had the smarts to do this myself. Thanks for all you hard work.
Yes, apparently that was the case. I pulled the latest and it's working now. Thank you!. And thanks for all your hard work on the container.
One little question, I am getting this warning in the log "Timestamps are unset in a packet for stream 1. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly"
Should I just ignore that?
2021/11/21 08:16:09.715195 [TNR] Opened connection to M3U-Frndly for ch14314 QVC
2021/11/21 08:16:09.726409 [HLS] Starting transcoder for channel 14314 from 192.168.1.40 (encoder=remux, resolution=, deinterlacer=, bitrate=3000)
2021/11/21 08:16:09.924297 [HLS] ffmpeg: ch14314-dANY-ip192.168.1.40-remux: [hls @ 0x7fdace0c7c00] Timestamps are unset in a packet for stream 1. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2021/11/21 08:16:10.050969 [HLS] Probed live stream in 324.228411ms: h264 1280x720 progressive 2577749bps
2021/11/21 08:16:10.061123 [HLS] Session ch14314-dANY-ip192.168.1.40 started in 1.361250346s
@kennyb3653
The external file is hosted on my server. It is only used when generating the playlist. Not when playing channel. So that error wouldn't be related to the external file. Not sure what would be causing it to he honest. I wonder if anyone else is getting the same??
@macintv
That warning is coming from ffmpeg in channels.
It doesn't seem too concerning. Might be some sort of issue with the frdnly streams themselves. @tmm1 may have an idea?
I also have seen the 500 error when switching live. It only happens once - when you go back and try again, it always seems to load properly. Here is a log from the container when it happened in case it is useful (looks like a JSON parse error that causes it):
2021-11-22 17:53:06,stdout,----------------------------------------
2021-11-22 17:53:06,stdout,json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2021-11-22 17:53:06,stdout," raise JSONDecodeError(\"Expecting value\", s, err.value) from None
"
2021-11-22 17:53:06,stdout," File \"/usr/local/lib/python3.8/json/decoder.py\", line 355, in raw_decode
"
2021-11-22 17:53:06,stdout," obj, end = self.raw_decode(s, idx=_w(s, 0).end())
"
2021-11-22 17:53:06,stdout," File \"/usr/local/lib/python3.8/json/decoder.py\", line 337, in decode
"
2021-11-22 17:53:06,stdout, return _default_decoder.decode(s)
2021-11-22 17:53:06,stdout," File \"/usr/local/lib/python3.8/json/__init__.py\", line 357, in loads
"
2021-11-22 17:53:06,stdout," return complexjson.loads(self.text, **kwargs)
"
2021-11-22 17:53:06,stdout," File \"/usr/local/lib/python3.8/site-packages/requests/models.py\", line 910, in json
"
2021-11-22 17:53:06,stdout," data = requests.get(url, params=params, headers=HEADERS, timeout=TIMEOUT).json()
"
2021-11-22 17:53:06,stdout," File \"./app.py\", line 110, in _request
"
2021-11-22 17:53:06,stdout," return self._request(url, login_on_failure=False)
"
2021-11-22 17:53:06,stdout," File \"./app.py\", line 113, in _request
"
2021-11-22 17:53:06,stdout," data = self._request(f'https://frndlytv-api.revlet.net/service/api/v1/page/stream', params=params)
"
2021-11-22 17:53:06,stdout," File \"./app.py\", line 151, in _play_path
"
2021-11-22 17:53:06,stdout, self._play_path(f'channel/live/{slug}')
2021-11-22 17:53:06,stdout," File \"./app.py\", line 124, in _play_slug
"
2021-11-22 17:53:06,stdout, routes[func]()
2021-11-22 17:53:06,stdout," File \"./app.py\", line 102, in do_GET
"
2021-11-22 17:53:06,stdout, self._error(e)
2021-11-22 17:53:06,stdout," File \"./app.py\", line 104, in do_GET
"
2021-11-22 17:53:06,stdout, method()
2021-11-22 17:53:06,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 415, in handle_one_request
"
2021-11-22 17:53:06,stdout, self.handle_one_request()
2021-11-22 17:53:06,stdout," File \"/usr/local/lib/python3.8/http/server.py\", line 427, in handle
"
2021-11-22 17:53:06,stdout, self.handle()
2021-11-22 17:53:06,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 747, in __init__
"
2021-11-22 17:53:06,stdout," super().__init__(*args, **kwargs)
"
2021-11-22 17:53:06,stdout," File \"./app.py\", line 76, in __init__
"
2021-11-22 17:53:06,stdout," self.RequestHandlerClass(request, client_address, self)
"
2021-11-22 17:53:06,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 360, in finish_request
"
2021-11-22 17:53:06,stdout," self.finish_request(request, client_address)
"
2021-11-22 17:53:06,stdout," File \"/usr/local/lib/python3.8/socketserver.py\", line 683, in process_request_thread
"
2021-11-22 17:53:06,stdout,Traceback (most recent call last):
2021-11-22 17:53:06,stdout,"Exception happened during processing of request from ('10.0.1.28', 39458)
"
2021-11-22 17:53:06,stdout,----------------------------------------
2021-11-22 17:53:06,stdout,10.0.1.28 - - [22/Nov/2021 17:53:06] "GET /play2/game_show_network HTTP/1.1" 500 -
2021-11-22 17:53:05,stdout,logged in!
2021-11-22 17:53:04,stdout,logging in....
@trhill @kennyb3653
try the latest docker container.
It should catch the 500 error now and then retry.
I pulled the latest and will let you know if any problems come up.
thanks Matt
2021-11-23 11:48:04,stdout,----------------------------------------
2021-11-23 11:48:04,stdout,Exception: Failed to get response from url: https://frndlytv-api.revlet.net/service/api/v1/page/stream
2021-11-23 11:48:04,stdout, raise Exception('Failed to get response from url: {}'.format(url))
2021-11-23 11:48:04,stdout," File "./app.py", line 122, in _request
"
2021-11-23 11:48:04,stdout," return self._request(url, login_on_failure=False)
"
2021-11-23 11:48:04,stdout," File "./app.py", line 117, in _request
"
2021-11-23 11:48:04,stdout," data = self._request(f'https://frndlytv-api.revlet.net/service/api/v1/page/stream', params=params)
"
2021-11-23 11:48:04,stdout," File "./app.py", line 155, in _play_path
"
2021-11-23 11:48:04,stdout, self._play_path(f'channel/live/{slug}')
2021-11-23 11:48:04,stdout," File "./app.py", line 128, in _play_slug
"
2021-11-23 11:48:04,stdout, routesfunc
2021-11-23 11:48:04,stdout," File "./app.py", line 102, in do_GET
"
2021-11-23 11:48:04,stdout, self._error(e)
2021-11-23 11:48:04,stdout," File "./app.py", line 104, in do_GET
"
2021-11-23 11:48:04,stdout, method()
2021-11-23 11:48:04,stdout," File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
"
2021-11-23 11:48:04,stdout, self.handle_one_request()
2021-11-23 11:48:04,stdout," File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
"
2021-11-23 11:48:04,stdout, self.handle()
2021-11-23 11:48:04,stdout," File "/usr/local/lib/python3.8/socketserver.py", line 747, in init
"
2021-11-23 11:48:04,stdout," super().init(*args, **kwargs)
"
2021-11-23 11:48:04,stdout," File "./app.py", line 76, in init
"
2021-11-23 11:48:04,stdout," self.RequestHandlerClass(request, client_address, self)
"
2021-11-23 11:48:04,stdout," File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
"
2021-11-23 11:48:04,stdout," self.finish_request(request, client_address)
"
2021-11-23 11:48:04,stdout," File "/usr/local/lib/python3.8/socketserver.py", line 683, in process_request_thread
"
2021-11-23 11:48:04,stdout,Traceback (most recent call last):
2021-11-23 11:48:04,stdout,"Exception happened during processing of request from ('192.168.1.34', 59688)
"
2021-11-23 11:48:04,stdout,----------------------------------------
2021-11-23 11:48:04,stdout,192.168.1.34 - - [23/Nov/2021 11:48:04] "GET /play2/the_weather_channel HTTP/1.1" 500 -
2021-11-23 11:48:04,stdout,logged in!
2021-11-23 11:48:03,stdout,logging in....