playlist2sqlite

Parse M3U/M3U8 playlists into a portable SQL dump.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/vcaldo/continuo --skill playlist2sqlite
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playlist2sqlite
Source: https://github.com/vcaldo/continuo/tree/main/skills_scripts/playlist2sqlite
Command: npx skills add https://github.com/vcaldo/continuo --skill playlist2sqlite

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, sqlite3, mktemp, sed, awk, grep, head, md5sum, numfmt, tr, and includes scripts (resource) components.

What problem does it solve?

Converts M3U/M3U8 IPTV playlists into a portable SQL dump to enable efficient querying, analysis, and integration with SQLite databases.

Core Features & Use Cases

  • Parse M3U/M3U8 playlists from local files or URLs into a compact SQL dump for easy ingestion.
  • Optimized for very large playlists (100k+ entries) with streaming parsing, retry logic, and progress indicators.
  • Enable powerful queries, filtering, and exporting subsets for IPTV management, cataloging, and analytics.

Quick Start

Run scripts/playlist2sqlite.sh --input playlist.m3u --name channels to generate channels.sql and import it into SQLite for querying.

Frequently Asked Questions about playlist2sqlite

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert an M3U playlist to a SQL database for querying?

You can convert an M3U playlist to SQL by running the provided script with your local file or URL input. It outputs a portable SQL dump designed for fast ingestion and querying within a SQLite database.

Can I parse IPTV playlists from remote URLs directly into SQLite?

Yes, you can parse IPTV playlists from remote URLs directly. The script accepts URL inputs and includes retry logic to handle network issues, streaming the data into a structured SQL dump for SQLite integration.

What is the best way to analyze very large M3U files with 100k+ entries?

The best way to analyze very large M3U files is using a streaming parser that converts them to SQL. This skill is optimized for 100k+ entries, utilizing streaming parsing and progress indicators to handle large IPTV datasets efficiently.

Does this M3U to SQL parser work with M3U8 files?

Yes, this M3U to SQL parser works with both M3U and M3U8 file formats. It processes the IPTV playlist data from either format and converts it into a compact SQL dump for database querying.

Do I need curl and sqlite3 installed to convert M3U playlists?

Yes, you need curl and sqlite3 installed, along with standard Unix text processing tools like sed, awk, and grep. These dependencies are required to fetch remote playlists and manage the SQL dump generation.

Why convert IPTV playlists into a SQL dump instead of using text files?

Converting IPTV playlists into a SQL dump enables powerful queries, filtering, and subset exporting. It allows efficient cataloging and fast analytics that are difficult to achieve with raw, unstructured M3U text files.