npx m3u-check playlist.m3u
Use curl -o playlist.m3u "URL" in your terminal. That gives you a clean, fixed copy of whatever M3U the server returns right now. fixed download m3u file from url