mp3tools 1.2.4__tar.gz → 1.2.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mp3tools-1.2.4 → mp3tools-1.2.6}/PKG-INFO +32 -21
- mp3tools-1.2.6/README.md +62 -0
- mp3tools-1.2.6/mp3tools/VERSION +1 -0
- mp3tools-1.2.6/mp3tools/cli.py +588 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/mp3tools.egg-info/PKG-INFO +32 -21
- {mp3tools-1.2.4 → mp3tools-1.2.6}/mp3tools.egg-info/SOURCES.txt +2 -1
- mp3tools-1.2.6/tests/test_cli.py +158 -0
- mp3tools-1.2.4/README.md +0 -51
- mp3tools-1.2.4/mp3tools/VERSION +0 -1
- mp3tools-1.2.4/mp3tools/cli.py +0 -392
- {mp3tools-1.2.4 → mp3tools-1.2.6}/Containerfile +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/HISTORY.md +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/LICENSE +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/MANIFEST.in +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/mp3tools/__init__.py +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/mp3tools/__main__.py +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/mp3tools/base.py +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/mp3tools/mp3tool.py +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/mp3tools.egg-info/dependency_links.txt +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/mp3tools.egg-info/entry_points.txt +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/mp3tools.egg-info/requires.txt +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/mp3tools.egg-info/top_level.txt +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/setup.cfg +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/setup.py +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/tests/__init__.py +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/tests/conftest.py +0 -0
- {mp3tools-1.2.4 → mp3tools-1.2.6}/tests/test_base.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mp3tools
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.6
|
|
4
4
|
Summary: Awesome mp3tools created by carsten-engelke
|
|
5
5
|
Home-page: https://github.com/carsten-engelke/mp3tools/
|
|
6
6
|
Author: carsten-engelke
|
|
@@ -59,24 +59,35 @@ pip install mp3tools
|
|
|
59
59
|
## Usage
|
|
60
60
|
Command-line-use:
|
|
61
61
|
```
|
|
62
|
-
mp3tools -> start tools using
|
|
63
|
-
|
|
64
|
-
mp3tools merge-mp3
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
62
|
+
mp3tools -> start tools using the interactive wizard.
|
|
63
|
+
mp3tools --help -> show available commands and options.
|
|
64
|
+
mp3tools merge-mp3 --help -> show command-specific help.
|
|
65
|
+
|
|
66
|
+
mp3tools merge-mp3 [DIR] [SUBDIR-MODE] [FOOBAR-PATH] [SECONDS]
|
|
67
|
+
DIR: folder containing MP3 files (default: current directory)
|
|
68
|
+
SUBDIR-MODE: merge each subfolder separately; if omitted, choose interactively
|
|
69
|
+
FOOBAR-PATH: legacy positional executable path; prefer --foobar-path
|
|
70
|
+
SECONDS: auto-close delay (default: 5; use -1 to disable)
|
|
71
|
+
|
|
72
|
+
mp3tools pack-subdirs [GROUP-SIZE] [DIR] [FILE-FILTER] [COPY-MODE]
|
|
73
|
+
GROUP-SIZE: maximum files per subdirectory (default: 15; must be positive)
|
|
74
|
+
DIR: folder containing files (default: current directory)
|
|
75
|
+
FILE-FILTER: case-sensitive substring selecting files (default: '.mp3')
|
|
76
|
+
COPY-MODE: copy rather than move (default: false)
|
|
77
|
+
|
|
78
|
+
mp3tools unpack-subdirs [DIR] [SUBDIR-FILTER] [FILE-FILTER] [COPY-MODE] [REMOVE-SUBDIRS]
|
|
79
|
+
DIR: folder containing subdirectories (default: current directory)
|
|
80
|
+
SUBDIR-FILTER: case-sensitive substring; '*' selects all (default: 'subdir-')
|
|
81
|
+
FILE-FILTER: case-sensitive substring selecting files (default: '.mp3')
|
|
82
|
+
COPY-MODE: copy rather than move (default: false)
|
|
83
|
+
REMOVE-SUBDIRS: remove emptied subdirectories (default: true)
|
|
84
|
+
|
|
85
|
+
mp3tools wait [SECONDS]
|
|
86
|
+
set the foobar2000 auto-close delay before opening the interactive wizard
|
|
87
|
+
|
|
88
|
+
Boolean arguments accept true/false, yes/no, y/n, ja/nein, 1/0, and on/off.
|
|
89
|
+
For COPY-MODE, 'move' is also accepted as false. Use --foobar-path PATH and
|
|
90
|
+
--mp3tag-path PATH to set executable locations; both default to their configured
|
|
91
|
+
paths and may be placed before or after a subcommand. The legacy `wait=SECONDS`
|
|
92
|
+
form remains supported.
|
|
82
93
|
```
|
mp3tools-1.2.6/README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# mp3tools
|
|
2
|
+
Merge mp3 files and set correct audio length using foobar2000 with an automated python script. These scripts can merge all files in one directory or create one file for each subdirectory.
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
- mp3tools merge-mp3: merging script, works with foobar2000
|
|
7
|
+
- mp3tools pack-subdirs: pack files into grouped subdirectories (good for large audiobooks)
|
|
8
|
+
- mp3tools unpack-subdirs.py: unpack files from grouped subdirectories (undo mp3tools pack-subdirs)
|
|
9
|
+
|
|
10
|
+
## Version
|
|
11
|
+
1.2.2 Fixed
|
|
12
|
+
|
|
13
|
+
1.2.0 Added PI/CI Support thanks to https://github.com/rochacbruno/python-project-template
|
|
14
|
+
|
|
15
|
+
1.0.0 release version. Ported to vscode.
|
|
16
|
+
|
|
17
|
+
0.2.0 bug corrected foobar needs to be called from working directory as the command line plugin cannot handle empty spaces in file names or paths given by command line
|
|
18
|
+
|
|
19
|
+
0.1.0 initial release. Port from windows script to python, introducing automation
|
|
20
|
+
|
|
21
|
+
## Requirements
|
|
22
|
+
- Python (script was created using python 3.7.0) (https://www.python.org/)
|
|
23
|
+
- foobar2000 (https://www.foobar2000.org/)
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
pip install mp3tools
|
|
27
|
+
|
|
28
|
+
## Usage
|
|
29
|
+
Command-line-use:
|
|
30
|
+
```
|
|
31
|
+
mp3tools -> start tools using the interactive wizard.
|
|
32
|
+
mp3tools --help -> show available commands and options.
|
|
33
|
+
mp3tools merge-mp3 --help -> show command-specific help.
|
|
34
|
+
|
|
35
|
+
mp3tools merge-mp3 [DIR] [SUBDIR-MODE] [FOOBAR-PATH] [SECONDS]
|
|
36
|
+
DIR: folder containing MP3 files (default: current directory)
|
|
37
|
+
SUBDIR-MODE: merge each subfolder separately; if omitted, choose interactively
|
|
38
|
+
FOOBAR-PATH: legacy positional executable path; prefer --foobar-path
|
|
39
|
+
SECONDS: auto-close delay (default: 5; use -1 to disable)
|
|
40
|
+
|
|
41
|
+
mp3tools pack-subdirs [GROUP-SIZE] [DIR] [FILE-FILTER] [COPY-MODE]
|
|
42
|
+
GROUP-SIZE: maximum files per subdirectory (default: 15; must be positive)
|
|
43
|
+
DIR: folder containing files (default: current directory)
|
|
44
|
+
FILE-FILTER: case-sensitive substring selecting files (default: '.mp3')
|
|
45
|
+
COPY-MODE: copy rather than move (default: false)
|
|
46
|
+
|
|
47
|
+
mp3tools unpack-subdirs [DIR] [SUBDIR-FILTER] [FILE-FILTER] [COPY-MODE] [REMOVE-SUBDIRS]
|
|
48
|
+
DIR: folder containing subdirectories (default: current directory)
|
|
49
|
+
SUBDIR-FILTER: case-sensitive substring; '*' selects all (default: 'subdir-')
|
|
50
|
+
FILE-FILTER: case-sensitive substring selecting files (default: '.mp3')
|
|
51
|
+
COPY-MODE: copy rather than move (default: false)
|
|
52
|
+
REMOVE-SUBDIRS: remove emptied subdirectories (default: true)
|
|
53
|
+
|
|
54
|
+
mp3tools wait [SECONDS]
|
|
55
|
+
set the foobar2000 auto-close delay before opening the interactive wizard
|
|
56
|
+
|
|
57
|
+
Boolean arguments accept true/false, yes/no, y/n, ja/nein, 1/0, and on/off.
|
|
58
|
+
For COPY-MODE, 'move' is also accepted as false. Use --foobar-path PATH and
|
|
59
|
+
--mp3tag-path PATH to set executable locations; both default to their configured
|
|
60
|
+
paths and may be placed before or after a subcommand. The legacy `wait=SECONDS`
|
|
61
|
+
form remains supported.
|
|
62
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.2.6
|