Skip to main content

https://m3u-manage.readthedocs.io

Tools to create amd manage an m3u playlist

https://img.shields.io/github/stars/iandennismiller/m3u-manage.svg?style=social&label=GitHub https://img.shields.io/pypi/v/m3u-manage.svg Documentation Status https://travis-ci.org/iandennismiller/m3u-manage.svg?branch=master

Overview

Installation

pip install m3u-manage

Usage

Analyze

Analyze a playlist for the most common terms appearing in filenames.

m3um analyze DIRECTORY_NAME

Produces output like:

m3u-manage 0.2.2
90: cbc
47: true
47: season
45: patrol

Mesh

Create interleaved playlists by inserting from playlists with even spacing.

m3um mesh -o OUTPUT.m3u FILE1.m3u FILE2.m3u FILE3.m3u ...

Produces output like:

m3u-manage 0.2.2
TV/cars.m3u
9
TV/trucks.m3u
27
TV/planes.m3u
31
wrote OUTPUT.m3u

Curate

Curate playlists based on the inclusion and exclusion criteria in the provided .json file.

m3um curate --config example.json

Produces output like:

m3u-manage 0.2.2
write TV/cars.m3u
write TV/trucks.m3u
write TV/planes.m3u

example.json

When using the curate command, a series of expressions is provided in a .json file to indicate which playlists to generate.

The following example.json creates three .m3u files based on the videos present in the /TV directory. The cars and trucks playlists will contain any filename that matches the regular expressions.

The planes example specifies criteria for inclusion and exclusion, both as regular expressions. According to the exclusion criteria, all shuttles belong in the trucks playlist.

{
    "path": ".",
    "subdirs": ["TV"],
    "patterns": {
        "cars": "(car|auto|sedan)",
        "trucks": "(truck|bus|shuttle)",
        "planes": {
            "include": "(jet|plane|rocket)",
            "exclude": "shuttle"
        }
    }
}

Documentation

https://m3u-manage.readthedocs.io

Release files for m3u-manage 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for m3u-manage 0.2.3
File Size Uploaded
m3u-manage-0.2.3.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for m3u-manage 0.2.3
File Interpreter ABI Platform
m3u_manage-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / m3u-manage-0.2.3.tar.gz

Download URL m3u-manage-0.2.3.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
24f2875692c97b094c55e24bc832a80582b9e7dccff56a41469a64ea310ef950
BLAKE2b-256 checksum
How to use checksums
23ea9e429cfb7a34ec59aa0aae9d3745be2d6b000cebbd9cc376e9dfdb17e040
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / m3u_manage-0.2.3-py3-none-any.whl

Download URL m3u_manage-0.2.3-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4294c649c1f51f2247d0606231d4fbca87ee53715be8c1fa64fc535ce050b5d7
BLAKE2b-256 checksum
How to use checksums
976b3a209ce71a42da9297b29d7467f6d37d821914326c7e3a9cfb23a27872d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page