SkillAgentSearch skills...

M3ujson

Convert m3u file to json

Install / Use

/learn @DesSolo/M3ujson
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

m3ujson

Convert m3u file to json. For use in programs like node-ffmpeg-mpegts-proxy

Features

  • support local m3u files
  • support remote (http) m3u files
  • fast

Binary releases

latest release

Usage

$ ./m3ujson https://example.com/playlist.m3u8 > m3u.json
$ cat m3u.json
[
    {
        "id": 1,
        "name": "Channel Name",
        "source": "http://example.com/0001/index.m3u8"
    }
]

Customize output

Just use jq

$ ./m3ujson https://example.com/playlist.m3u8 | jq 'map({url: "/\(.id)", name, source})' > m3u.json
$ cat m3u.json
[
    {
        "url": "/1",
        "name": "Channel Name",
        "source": "http://example.com/0001/index.m3u8"
    }
]
View on GitHub
GitHub Stars7
CategoryDevelopment
Updated5mo ago
Forks3

Languages

Go

Security Score

72/100

Audited on Oct 10, 2025

No findings