IPTV proxy for Plex Live written in Golang
- Go to the releases page and download the correct version for your Operating System
- Have the .m3u file on hand from your IPTV provider of choice
Any command arguments can also be supplied as environment variables, for example -playlist can also be provided as the PLAYLIST environment variable - Run
tellywith the-playlistcommandline argument pointing to your .m3u file. (This can be a local file or a URL) For example:./telly -playlist=/home/github/myiptv.m3u - If you would like multiple streams/tuners use the
-streamscommandline option. Default is 1. When setting or changing this option,plexmediaserverwill need to be completely restarted. - If you would like
tellyto attempt to the filter the m3u a bit, add the-filterregexcommandline option. If you would like UK only tv, runtellywith the-uktvcommandline option. If you would like to use your own regex, runtellywith-useregex <regex>, for example-useregex .*UK.* - If
tellytells you[telly] [info] listening on ...- great! Your .m3u file was successfully parsed andtellyis running. Check below for how to add it into Plex. - If
tellyfails to run, check the error. If it's self explanitory, great. If you don't understand, feel free to open an issue and we'll help you out. As of telly v0.4sedcommands are no longer needed. Woop! - For your IPTV provider m3u, try using option
type=m3u_plusandoutput=ts.
- Once
tellyis running, you can add it to Plex. Plex Live requires Plex Pass at the time of writing - Navigate to
app.plex.tvand make sure you're logged in. Go to Settings -> Server -> Live TV & DVR - Click 'Setup' or 'Add'. Plex won't find your device, so press the text to add it manually - input
localhost:6077(or whatever port you're using - you can change it using the-listencommandline argument, i.e.-listen localhost:12345) - Plex will find your device (in some cases it continues to load but the continue button becomes orange, i.e. clickable. Click it) - select the country in the bottom left and ensure Plex has found the channels. Proceed.
- Once you get to the channel listing,
tellycurrently doesn't have any idea of EPG data so it starts the channel numbers at 10000 to avoid complications with selecting channels at this stage. EPG APIs will come in the future, but for now you'll have to manually match up whattellyis telling Plex to the actual channel numbers. For UK folk,Sky HDis the best option I've found. - Once you've matched up all the channels, hit next and Plex will start downloading necessary EPG data.
- Once that is done, you might need to restart Plex so the telly tuner is not marked as dead.
- You're done! Enjoy using
telly. :-)
docker run -d \
--name='telly' \
--net='bridge' \
-e TZ="Europe/Amsterdam" \
-e 'PLAYLIST'='/home/github/myiptv.m3u' \
-e STREAMS=1 \
-e USEREGEX='.*UK.*' \
-p '6077:6077/tcp' \
-v '/tmp/telly':'/tmp':'rw' \
tombowditch/telly -base=localhost:6077
telly:
image: tombowditch/telly
ports:
- "6077:6077"
environment:
- TZ=Europe/Amsterdam
- PLAYLIST=/home/github/myiptv.m3u
- USEREGEX='.*UK.*'
- LISTEN=telly:6077
- STREAMS=1
- FRIENDLYNAME=Tuner1
- DEVICEID=12345678
command: -base=telly:6077
restart: unless-stopped
Please free to open an issue if you run into any issues at all, I'll be more than happy to help.
We have a Discord server you can join!