Frndly TV for Channels

Thanks for the advice and tips, @Absenm !

I had Frndly TV for Channels working fine but got a new router today and now it is no longer working. I am guessing it is a firewall issue. My setup:

Channels DVR running on a Raspberry 4
Docker Desktop on Windows 10

As I said, I installed a new router today which I believe is the issue. A recording failed, then I was not able to play any friendly shows through channels dvr, so I removed the friendly source and tried to reinstall it. Now, when I try to add it back I get the following error message:

invalid source url: Get "http://192.168.1.6:8183/playlist.m3u8?gracenote=include": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

It appears docker is running: C:\Users\bpaul>docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0763f5399779 matthuisman/frndlytv-for-channels "python -u ./app.py" 3 days ago Up 29 minutes 0.0.0.0:8183->80/tcp frndlytv-for-channels

Should the port say 0.0.0.0:8183->tcp like it is showing or should the 192.168.1.6 adderss docker desktop is running on be listed?

Any suggestions?

Does this link load?

What is the IP of your desktop?

Maybe you need to setup static dhcp reservation for the dvr on the new router

Thanks for the quick response! The IP for the desktop running docker desktop is 192.168.1.6. Yes, the link loads and provides:

Channels Source 1

Stream Format: HLS
Refresh: Daily
Source URL: http://192.168.1.6:8183/playlist.m3u8?gracenote=include
XMLTV Data URL: (Leave Blank)

Channels Source 2

Stream Format: HLS
Refresh: Daily
Source URL: http://192.168.1.6:8183/playlist.m3u8?gracenote=exclude
XMLTV Data URL: http://192.168.1.6:8183/epg.xml?gracenote=exclude

Blockquote Mark_Loves_KensleyDVR UserUpdate: I think my issue is I just installed a new Mikrotik router and I'm sure there is something I have to do to make the Channels DVR server see my Docker container. Both are in the same network but live on different machines. I am learning very quickly that the Mikrotik router is not very idiot friendly.

This is the issue I am having. Do you remember the fix?

UPDATE: OK, I GOT THIS WORKING. No more connection time out errors. Here is the fix:

In Windows Defender Firewall, under "inbound rules", you need to set port 8183 and Docker Desktop Backend to "allow connections".

1 Like

Been trying for hours to get this working in Channels. Got the Docker up and running no problem but cannot get it to load into channels. I put in this http://192.168.50.172:8183/playlist.m3u8?gracenote=include and I get this error message

invalid source url: parse " http://192.168.50.172:8183/playlist.m3u8?gracenote=include": first path segment in URL cannot contain colon

Where are you putting it?

You have an extra space at the beginning of the url. Right in front of the http.

edit: maybe the devs can add something to weed out / trim white space from urls.

1 Like

Under Custom Channels, Sourse, URL

Corrected that and now get this error

invalid source url: failed to retrieve m3u: 500 Internal Server Error

When you view the Frndly docker for Channels webpage at http://192.168.50.172:8183
Does it look like this?

Channels Source 1

Stream Format: HLS
Refresh: Daily
Source URL: http://192.168.50.172:8183/playlist.m3u8?gracenote=include
XMLTV Data URL: (Leave Blank)

Channels Source 2

Stream Format: HLS
Refresh: Daily
Source URL: http://192.168.50.172:8183/playlist.m3u8?gracenote=exclude
XMLTV Data URL: http://192.168.50.172:8183/epg.xml?gracenote=exclude

If it does, you should inspect the Frndly docker container log for errors

And if you do see that page as @chDVRuser described, what do you see if you go directly to the source url from a browser? Do you see the text of an m3u?

Yes it does look like that . Here's the error log

Starting server on port 80
logging in....
logging in....
172.17.0.1 - - [08/Aug/2022 21:29:23] "GET / HTTP/1.1" 200 -
172.17.0.1 - - [08/Aug/2022 21:48:17] "GET / HTTP/1.1" 200 -
172.17.0.1 - - [08/Aug/2022 21:49:49] "GET / HTTP/1.1" 200 -
172.17.0.1 - - [08/Aug/2022 21:49:50] "GET /favicon.ico HTTP/1.1" 404 -
172.17.0.1 - - [08/Aug/2022 21:54:48] "GET /playlist.m3u8?gracenote=include HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39216)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [08/Aug/2022 21:56:12] "GET / HTTP/1.1" 200 -
172.17.0.1 - - [08/Aug/2022 21:57:43] "GET /playlist.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39222)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [08/Aug/2022 22:06:57] "GET /playlist.m3u8?gracenote=include HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39224)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
logging in....
logging in....
logging in....
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [08/Aug/2022 22:07:35] "GET /playlist.m3u8?gracenote=include HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39228)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [08/Aug/2022 22:07:58] "GET /playlist.m3u8?gracenote=exclude HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39230)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [08/Aug/2022 22:09:08] "GET /playlist.m3u8?gracenote=exclude HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39234)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
logging in....
logging in....
Starting server on port 80
logging in....
logging in....
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [08/Aug/2022 22:11:17] "GET /playlist.m3u8?gracenote=include HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39238)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [08/Aug/2022 22:19:32] "GET / HTTP/1.1" 200 -
172.17.0.1 - - [08/Aug/2022 22:21:57] "GET /playlist.m3u8 HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39246)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [08/Aug/2022 22:46:23] "GET /playlist.m3u8?gracenote=include HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39248)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [08/Aug/2022 22:56:48] "GET /playlist.m3u8?gracenote=include HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39250)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [08/Aug/2022 23:20:20] "GET /playlist.m3u8?gracenote=include HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39252)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
logging in....
logging in....
logging in....
Starting server on port 80
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [08/Aug/2022 23:24:46] "GET /playlist.m3u8?gracenote=include HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('172.17.0.1', 39254)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 683, 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 "./app.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "./app.py", line 55, in do_GET
    self._error(e)
  File "./app.py", line 53, in do_GET
    routes[func]()
  File "./app.py", line 71, in _playlist
    channels = frndly.channels()
  File "/usr/src/app/frndly.py", line 145, in channels
    rows = self._request('https://frndlytv-api.revlet.net/service/api/v1/tvguide/channels?skip_tabs=0')['data']
  File "/usr/src/app/frndly.py", line 111, in _request
    self.login()
  File "/usr/src/app/frndly.py", line 168, in login
    raise Exception('USERNAME and PASSWORD are required')
Exception: USERNAME and PASSWORD are required
----------------------------------------
172.17.0.1 - - [09/Aug/2022 00:13:28] "GET / HTTP/1.1" 200 -
172.17.0.1 - - [09/Aug/2022 00:13:29] "GET /favicon.ico HTTP/1.1" 404 -
172.17.0.1 - - [09/Aug/2022 00:15:18] "GET / HTTP/1.1" 200 -
172.17.0.1 - - [09/Aug/2022 00:15:18] "GET /favicon.ico HTTP/1.1" 404 -

When I click on the URL I get this opening in a new tab

Error: USERNAME and PASSWORD are required

Make sure the docker contains the correct current Frndly username and password. Maybe you miss typed something doing your docker run.

docker run -d --restart unless-stopped --env "USERNAME=MY_EMAIL" --env "PASSWORD=MY_PASSWORD" --name frndlytv-for-channels -p 8183:80 matthuisman/frndlytv-for-channels

Do I put my user name after USERNAME= and password after PASSWORD=? Do I also leave the " in?

Yes leave the quotes. Replace MY-EMAIL with your Frndly username and replace MY_PASSWORD with your password.

1 Like

Thanks to you all!!! Got it working!!!

2 Likes

Frndly was working fine. Suddenly showing 0 channels. I've deleted the docker image and container and re started. Tried to re-add to the sources and now all I get is "malformed m3u"
What am I doing wrong?
Here is error log

docker : Error response from daemon: No such container: frndlytv-for-channels
At line:2 char:1
+ docker stop frndlytv-for-channels
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Error response ...tv-for-channels:String) [], RemoteExcepti 
   on
    + FullyQualifiedErrorId : NativeCommandError
 
docker : Error: No such container: frndlytv-for-channels
At line:3 char:1
+ docker rm frndlytv-for-channels
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Error: No such ...tv-for-channels:String) [], RemoteExcepti 
   on
    + FullyQualifiedErrorId : NativeCommandError

It sounds like you don't have the docker container pulled. You can't stop it or remove it if it does not exist. Try pulling the container and running it.

docker pull matthuisman/frndlytv-for-channels
docker run -d --restart unless-stopped --env "USERNAME=MY_EMAIL" --env "PASSWORD=MY_PASSWORD" --name frndlytv-for-channels -p 8183:80 matthuisman/frndlytv-for-channels

Make sure you use your Frndly user name and password.