fairy-root/mac-to-m3u ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python tool that takes an IPTV server link and a MAC address, then turns it into an M3U playlist I can open in a normal M3U player.
I want it to handle live channels, VOD, and TV series, so I can run one script for each and get a clean playlist file saved locally. It should ask me for the link and MAC address in the terminal, fetch the subscription info, then build the playlist with the channel or episode names and stream URLs. If there are categories or seasons, include them in a sensible way so the playlist stays organized.
Make it easy to run, with clear messages while it works and simple error handling if the link is bad or the request fails. If you need to check current library docs online, go ahead and do that.