Frndly TV for Channels

About

A simple Docker image to generate a Frndly TV M3U playlist for use in Channels and expose them over HTTP.
It also works with other IPTV players.

Requires

Setup

Simply run the below Docker commands using your Frndly TV credentials

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

Replace MY_EMAIL and MY_PASSWORD with your Frndly TV login details.

By default, the image will use your IP location to fetch streams for your location.
If you want streams for a different location or your location is not supported,
simply pass an IP environment variable to the container with the IP address you want to use.

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

The above using 72.229.28.185 will get streams for Manhattan, New York.

You can retrieve the playlist URL via the status page.
http://127.0.0.1:8183

Add to Channels

Add a new source in Channels DVR Server and choose M3U Playlist.
Fill out the form using your new playlist URL from above.

Leave the EPG field blank.
The playlist uses Gracenote IDs which will make Channels automatically fetch the EPG.

Customise Playlist

There are a few query parameters you can add to the end of the M3U playlist url

start_chno
a channel number you want to start numbering channels from
eg. /playlist.m3u8?start_chno=50

include
comma separated list of channel-id you ONLY want in the playlist.
eg. /playlist.m3u8?include=frndly-1,frndly-2,frndly-3

exclude
comma separate list of channel-id you DONT want in the playlist.
eg. /playlist.m3u8?exclude=frndly-10,frndly-11

And of course you can combine query params
eg. /playlist.m3u8?start_chno=50&include=frndly-1,frndly-2&exclude=frndly-10

Update

To update the Docker image to the latest, run the below commands

docker pull matthuisman/frndlytv-for-channels
docker stop frndlytv-for-channels
docker rm frndlytv-for-channels
docker run ......

Replace the last docker run command with the command you used from the Setup section above.

No Docker

This app can also run without Docker using just Python3.

git clone https://github.com/matthuisman/frndlytv-for-channels
cd frndlytv-for-channels
pip install --no-cache-dir -r requirements.txt
python app.py --PORT 8183 --USERNAME "MY_EMAIL" --PASSWORD "MY_PASSWORD" --IP "72.229.28.185"

The cmdline arguments are the same as the Docker env arguments.

Links

Support