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.

Source Distribution

m3ushuffler-0.2.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

m3ushuffler-0.2.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file m3ushuffler-0.2.0.tar.gz.

File metadata

  • Download URL: m3ushuffler-0.2.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for m3ushuffler-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fca89d6d9e35ecdea12fa8b8e1139eb2cf7a16520c25e8ca830aeb06f6c76db1
MD5 5ef90d9e3fe04cf2efb22bed434552a7
BLAKE2b-256 5065df1418d5859a8a1dab55a993c59cbadea2477d4cec01fa151296cce78520

See more details on using hashes here.

File details

Details for the file m3ushuffler-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: m3ushuffler-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for m3ushuffler-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7ec07e265281ad11bea94266f68f46493d5ae657400a70841ac999f4867acee
MD5 745a0d8bdad2d4827c4d0996c3807052
BLAKE2b-256 98ce90f20270a2f3ba66bc1d2273848147845818e1863e47adf90d6d6bbf7872

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page