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.
It also works with other IPTV players.
Requires
- Frndly TV subscription (not free)
- Docker (free)
or Python (free - see No Docker section below) - Channels DVR Server (not free)
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.
Add to Channels
You can retrieve the Channels configuration via the status page below.
http://127.0.0.1:8183
(if accessing from different device, replace 127.0.0.1 with the IP of the device)
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"
The cmdline arguments are the same as the Docker env arguments.