ok, my FrndlyTV seven day trial is quickly running out and still no joy...
First to the author of FrndlyTV for Channels.... Good work but Channels looks like they have no free tier. I do not want to be a cord cutter getting nickeled and dimed to death on small fees here and there that add up to the same cost as a basic cable subscription.
So I have tried a few other DVRs and I have very similar results with them . some like NextPVR will not take the epg.xml generated by this script at all. Others like TVMosacCE take it but seem to not recognize it. I am pretty sure something does not come out quite right from the script with the epg.xml file..
Also there are issues with some other DVRs not playing these links. I can see they point to my Raspberry Pi where I am running the script. and the script generates the following error when I try to access it from TVMosaic.
Someone will probably say it is a python problem or something but I can extract the link from the m3u8 file and open the link from a desktop computer with VLC or Celluloid without issue. I can see there is no error and the "frndlytv-for-channels" is happy with VLC or Celluloid, but not with some of the servers..
10.0.0.230 - - [13/May/2022 21:35:09] "GET /play/4.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('10.0.0.230', 58019)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/xmltv/frndlytv/app.py", line 22, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 414, in handle_one_request
method()
File "/opt/xmltv/frndlytv/app.py", line 51, in do_GET
self._error(e)
File "/opt/xmltv/frndlytv/app.py", line 49, in do_GET
routes[func]()
File "/opt/xmltv/frndlytv/app.py", line 55, in _play
url = frndly.play(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 36, in play
path = self._channel_path(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 94, in _channel_path
for row in self.guide([channel_id])[channel_id]:
KeyError: '4'
----------------------------------------
10.0.0.230 - - [13/May/2022 21:35:11] "GET /play/4.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('10.0.0.230', 58020)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/xmltv/frndlytv/app.py", line 22, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 414, in handle_one_request
method()
File "/opt/xmltv/frndlytv/app.py", line 51, in do_GET
self._error(e)
File "/opt/xmltv/frndlytv/app.py", line 49, in do_GET
routes[func]()
File "/opt/xmltv/frndlytv/app.py", line 55, in _play
url = frndly.play(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 36, in play
path = self._channel_path(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 94, in _channel_path
for row in self.guide([channel_id])[channel_id]:
KeyError: '4'
----------------------------------------
10.0.0.230 - - [13/May/2022 21:35:14] "GET /play/4.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('10.0.0.230', 58021)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/xmltv/frndlytv/app.py", line 22, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 414, in handle_one_request
method()
File "/opt/xmltv/frndlytv/app.py", line 51, in do_GET
self._error(e)
File "/opt/xmltv/frndlytv/app.py", line 49, in do_GET
routes[func]()
File "/opt/xmltv/frndlytv/app.py", line 55, in _play
url = frndly.play(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 36, in play
path = self._channel_path(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 94, in _channel_path
for row in self.guide([channel_id])[channel_id]:
KeyError: '4'
----------------------------------------
10.0.0.230 - - [13/May/2022 21:35:17] "GET /play/4.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('10.0.0.230', 58022)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/xmltv/frndlytv/app.py", line 22, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 414, in handle_one_request
method()
File "/opt/xmltv/frndlytv/app.py", line 51, in do_GET
self._error(e)
File "/opt/xmltv/frndlytv/app.py", line 49, in do_GET
routes[func]()
File "/opt/xmltv/frndlytv/app.py", line 55, in _play
url = frndly.play(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 36, in play
path = self._channel_path(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 94, in _channel_path
for row in self.guide([channel_id])[channel_id]:
KeyError: '4'
----------------------------------------
10.0.0.230 - - [13/May/2022 21:35:20] "GET /play/4.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('10.0.0.230', 58023)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/xmltv/frndlytv/app.py", line 22, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 414, in handle_one_request
method()
File "/opt/xmltv/frndlytv/app.py", line 51, in do_GET
self._error(e)
File "/opt/xmltv/frndlytv/app.py", line 49, in do_GET
routes[func]()
File "/opt/xmltv/frndlytv/app.py", line 55, in _play
url = frndly.play(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 36, in play
path = self._channel_path(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 94, in _channel_path
for row in self.guide([channel_id])[channel_id]:
KeyError: '4'
----------------------------------------
10.0.0.230 - - [13/May/2022 21:35:23] "GET /play/4.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('10.0.0.230', 58024)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/xmltv/frndlytv/app.py", line 22, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 414, in handle_one_request
method()
File "/opt/xmltv/frndlytv/app.py", line 51, in do_GET
self._error(e)
File "/opt/xmltv/frndlytv/app.py", line 49, in do_GET
routes[func]()
File "/opt/xmltv/frndlytv/app.py", line 55, in _play
url = frndly.play(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 36, in play
path = self._channel_path(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 94, in _channel_path
for row in self.guide([channel_id])[channel_id]:
KeyError: '4'
----------------------------------------
10.0.0.230 - - [13/May/2022 21:35:27] "GET /play/4.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('10.0.0.230', 58025)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/xmltv/frndlytv/app.py", line 22, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 414, in handle_one_request
method()
File "/opt/xmltv/frndlytv/app.py", line 51, in do_GET
self._error(e)
File "/opt/xmltv/frndlytv/app.py", line 49, in do_GET
routes[func]()
File "/opt/xmltv/frndlytv/app.py", line 55, in _play
url = frndly.play(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 36, in play
path = self._channel_path(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 94, in _channel_path
for row in self.guide([channel_id])[channel_id]:
KeyError: '4'
----------------------------------------
10.0.0.230 - - [13/May/2022 21:35:30] "GET /play/4.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('10.0.0.230', 58026)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/xmltv/frndlytv/app.py", line 22, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 414, in handle_one_request
method()
File "/opt/xmltv/frndlytv/app.py", line 51, in do_GET
self._error(e)
File "/opt/xmltv/frndlytv/app.py", line 49, in do_GET
routes[func]()
File "/opt/xmltv/frndlytv/app.py", line 55, in _play
url = frndly.play(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 36, in play
path = self._channel_path(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 94, in _channel_path
for row in self.guide([channel_id])[channel_id]:
KeyError: '4'
----------------------------------------
10.0.0.230 - - [13/May/2022 21:35:33] "GET /play/4.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('10.0.0.230', 58027)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/xmltv/frndlytv/app.py", line 22, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 414, in handle_one_request
method()
File "/opt/xmltv/frndlytv/app.py", line 51, in do_GET
self._error(e)
File "/opt/xmltv/frndlytv/app.py", line 49, in do_GET
routes[func]()
File "/opt/xmltv/frndlytv/app.py", line 55, in _play
url = frndly.play(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 36, in play
path = self._channel_path(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 94, in _channel_path
for row in self.guide([channel_id])[channel_id]:
KeyError: '4'
----------------------------------------
10.0.0.230 - - [13/May/2022 21:35:36] "GET /play/4.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('10.0.0.230', 58028)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/xmltv/frndlytv/app.py", line 22, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 414, in handle_one_request
method()
File "/opt/xmltv/frndlytv/app.py", line 51, in do_GET
self._error(e)
File "/opt/xmltv/frndlytv/app.py", line 49, in do_GET
routes[func]()
File "/opt/xmltv/frndlytv/app.py", line 55, in _play
url = frndly.play(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 36, in play
path = self._channel_path(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 94, in _channel_path
for row in self.guide([channel_id])[channel_id]:
KeyError: '4'
----------------------------------------
10.0.0.230 - - [13/May/2022 21:35:40] "GET /play/4.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('10.0.0.230', 58029)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/xmltv/frndlytv/app.py", line 22, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 414, in handle_one_request
method()
File "/opt/xmltv/frndlytv/app.py", line 51, in do_GET
self._error(e)
File "/opt/xmltv/frndlytv/app.py", line 49, in do_GET
routes[func]()
File "/opt/xmltv/frndlytv/app.py", line 55, in _play
url = frndly.play(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 36, in play
path = self._channel_path(slug)
File "/opt/xmltv/frndlytv/frndly.py", line 94, in _channel_path
for row in self.guide([channel_id])[channel_id]:
KeyError: '4'
----------------------------------------