# xtrak Pulls a full M3U playlist out of an Xtream Codes / XUI panel. Give it a server, a username and a password and it writes a playlist with the live channels, the movies and the series. ## Requirements - Python 3.8 or newer - requests (`pip install requests`) ## Usage python xtrak.py -s http://your-server:port -u USERNAME -p PASSWORD Run it with no arguments and it will ask for the details: python xtrak.py Options: -o FILE output file (default: playlist.m3u) --no-live skip live channels --no-vod skip movies --no-series skip series --live-ext EXT extension used for live streams (default: m3u8) -w N threads used while reading series (default: 8) ## Notes Live channels are written as HLS (.m3u8). Movies and series keep the extension the panel reports for each file. Series are read one show at a time, so a big catalog will take a while to finish.