From 3f649fdf848f1af2426e3a6e7d2e73e3579b1918 Mon Sep 17 00:00:00 2001 From: Matteo Guadrini Date: Tue, 7 Mar 2023 11:26:34 +0100 Subject: [PATCH] chore: new minor version --- CHANGES.md | 9 +++++++++ README.md | 9 +++++++++ __info__.py | 2 +- mkpl.py | 2 +- 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c187003..bbd25f7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,14 @@ # Release notes +## 1.6.0 +Mar 07, 2023 + +- Add `-o` or `--orderby-name` cli argument: see issue #4 +- Add `-O` or `--orderby-date` cli argument: see issue #4 +- Add support for _'opus'_ file format: see issue #5 +- Fix check playlist extension for _m3u8_ format +- Fix asterisk and dot char into include argument + ## 1.5.0 Jan 13, 2023 diff --git a/README.md b/README.md index 8119e57..25a2f77 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,8 @@ $ python setup.py install # for others | -w | --windows | Windows style folder separator | | | -v | --verbose | Enable verbosity (debug mode) | | | -S | --split | Split playlist by directories | | +| -o | --orderby-name | Order playlist files by name | | +| -O | --orderby-date | Order playlist files by creation date | | ## Examples @@ -139,6 +141,13 @@ $ python setup.py install # for others ... ``` +15. Sort playlist files by name (`-o`) or by creation date (`-O`): + + ```bash + mkpl -d "new_collection" -r "my music.m3u" -o + mkpl -d "new_collection" -r "my music.m3u" -O + ``` + ## Use it like Python module `mkpl` can also be used as a Python module to customize your scripts. diff --git a/__info__.py b/__info__.py index 48b4e98..eaebe24 100644 --- a/__info__.py +++ b/__info__.py @@ -22,7 +22,7 @@ """Information variable used by modules on this package.""" -__version__ = '1.5.0' +__version__ = '1.6.0' __author__ = 'Matteo Guadrini' __email__ = 'matteo.guadrini@hotmail.it' __homepage__ = 'https://github.com/MatteoGuadrini/mkpl' diff --git a/mkpl.py b/mkpl.py index 0adeeae..6d7e636 100644 --- a/mkpl.py +++ b/mkpl.py @@ -37,7 +37,7 @@ # region globals FILE_FORMAT = {'mp1', 'mp2', 'mp3', 'mp4', 'aac', 'ogg', 'wav', 'wma', 'm4a', 'aiff', 'avi', 'xvid', 'divx', 'mpeg', 'mpg', 'mov', 'wmv', 'flac', 'alac', 'opus'} -__version__ = '1.5.0' +__version__ = '1.6.0' # endregion