m3u maker
Installation
This script doesn't have any dependencies except from python, so install python3.6+ before. python2 is not supported
with pip
pip install m3u-maker
m3u-maker ~/Music > out.m3u
available aliases
the best way to run is directly with: python -m m3u_maker
but the following aliases are available m3u-maker, mkm3u, mkm3u8
manual
git clone https://github.com/CastixGitHub/m3u_maker
cd m3u_maker
python m3u_maker.py ~/Music > out.m3u
Help menu
usage: 'm3u_maker [-h] [sources [sources ...]]
Finds music files by extension (flac, ogg, oga, wav, mp3,
aiff, aif, loss, m4a, aac, alac, mogg, opus. webm, mp4, wma, mpc)
inside a folders and it's subdirectories, makes a m3u file
without metadata
positional arguments:
sources
Source directories that contains the music
(subdirectories are included).
We suggest to use an absolute path for better
compatibility with players.
If you want to use relative paths remember that them
are relative to the location of the output m3u file.
Defaults to the directory where the script is called
from (`pwd`).
optional arguments:
-h, --help show this help message and exit
Example Usage:
python m3u_maker.py ~/Music > out.m3u
Example with random order without duplicates:
python m3u_maker.py ~/Music | uniq | shuf > out.m3u
Testing & Development
after activating a virtualenv:
install the project with
pip install -e '.[test]'
run the tests with
pytest --cov=.
release a new version on pypi
- update the version number in setup.py
- clean the old built
rm -rf dist - build tarball and wheel with
python setup.py sdist bdist_wheel - install twine
pip install twine - upload with
twine upload dist/m3u_maker-*
Metadata
Release files for m3u-maker 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| m3u_maker-0.1.4.tar.gz | 16.1 kB | Without provenance | Details for m3u_maker-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| m3u_maker-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for m3u_maker-0.1.4-py3-none-any.whl |
Total release size: 32.9 kB
Release files / m3u_maker-0.1.4.tar.gz
| Download URL | m3u_maker-0.1.4.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d1ac438645af1c4edc33131f0c803611910cdc1cee900ce726ac974bd8fea9f
|
|
BLAKE2b-256 checksum How to use checksums |
666a4734e15da7730e9b40417c0a5c4273b3abdb2af6da986c89fa67f6d9bddb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / m3u_maker-0.1.4-py3-none-any.whl
| Download URL | m3u_maker-0.1.4-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac4a10f7ab0cd7f25d936acda27b0539564827a06ec4b75c3cfbe244fb2729eb
|
|
BLAKE2b-256 checksum How to use checksums |
8f6dbd6c78343cf727d5f9bf549f1ca668518db3b882e2f81638a9b97605b509
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for m3u-maker 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.