Skip to main content

Shuffle M3U playlists easily

Project description

m3ushuffler

Shuffle your M3U Playlists easily!

This simple python tool will shuffle your M3U playlists while keeping the Extended M3U (EXTM3U) metadata in the right place. If you want to shuffle M3U playlists without metadata (i.e. without files starting with #EXTINF), you can simply use shuf instead:

shuf /path/to/playlist.m3u > /path/to/output.m3u

Installation

You can install it via pip/pip3:

$ pip3 install --user m3ushuffler

As an alternative, you can install it directly from source:

$ git clone https://github.com/Holzhaus/m3ushuffler.git
$ cd m3ushuffler
$ ./setup.py install --user

Usage

$ m3ushuffler -h
usage: m3ushuffler [-h] [-o OUTPUT_FILE] [-d] input_file

positional arguments:
  input_file            The M3U playlist to randomize

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT_FILE, --output-file OUTPUT_FILE
                        The M3U output file to write to
  -d, --debug           Show debug messages

License

See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for m3ushuffler, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size m3ushuffler-0.2.0-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size m3ushuffler-0.2.0.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page