TonieToolbox 0.4.0__py3-none-any.whl → 0.4.2__py3-none-any.whl
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.
- TonieToolbox/__init__.py +1 -1
- {tonietoolbox-0.4.0.dist-info → tonietoolbox-0.4.2.dist-info}/METADATA +66 -2
- {tonietoolbox-0.4.0.dist-info → tonietoolbox-0.4.2.dist-info}/RECORD +7 -7
- {tonietoolbox-0.4.0.dist-info → tonietoolbox-0.4.2.dist-info}/WHEEL +0 -0
- {tonietoolbox-0.4.0.dist-info → tonietoolbox-0.4.2.dist-info}/entry_points.txt +0 -0
- {tonietoolbox-0.4.0.dist-info → tonietoolbox-0.4.2.dist-info}/licenses/LICENSE.md +0 -0
- {tonietoolbox-0.4.0.dist-info → tonietoolbox-0.4.2.dist-info}/top_level.txt +0 -0
TonieToolbox/__init__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: TonieToolbox
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.2
|
4
4
|
Summary: Convert audio files to Tonie box compatible format
|
5
5
|
Home-page: https://github.com/Quentendo64/TonieToolbox
|
6
6
|
Author: Quentendo64
|
@@ -20,6 +20,7 @@ Requires-Python: >=3.6
|
|
20
20
|
Description-Content-Type: text/markdown
|
21
21
|
License-File: LICENSE.md
|
22
22
|
Requires-Dist: protobuf<=3.19.0
|
23
|
+
Requires-Dist: mutagen>=1.47.0
|
23
24
|
Dynamic: author
|
24
25
|
Dynamic: home-page
|
25
26
|
Dynamic: license-file
|
@@ -42,8 +43,10 @@ A Python tool for converting audio files to Tonie box compatible format (TAF - T
|
|
42
43
|
- [Installation](#installation)
|
43
44
|
- [Install from PyPI (Recommended)](#install-from-pypi-recommended)
|
44
45
|
- [Install from Source](#install-from-source)
|
46
|
+
- [Using Docker](#using-docker)
|
45
47
|
- [Usage](#usage)
|
46
48
|
- [Basic Usage](#basic-usage)
|
49
|
+
- [Docker Usage](#docker-usage)
|
47
50
|
- [Advanced Options](#advanced-options)
|
48
51
|
- [Common Usage Examples](#common-usage-examples)
|
49
52
|
- [Media Tags](#media-tags)
|
@@ -106,6 +109,32 @@ cd TonieToolbox
|
|
106
109
|
pip install protobuf
|
107
110
|
```
|
108
111
|
|
112
|
+
### Using Docker
|
113
|
+
|
114
|
+
TonieToolbox is available as a Docker image, which comes with all dependencies pre-installed.
|
115
|
+
|
116
|
+
#### Pull the Docker Image
|
117
|
+
|
118
|
+
```
|
119
|
+
# From Docker Hub
|
120
|
+
docker pull quentendo64/tonietoolbox:latest
|
121
|
+
|
122
|
+
# From GitHub Packages
|
123
|
+
docker pull ghcr.io/quentendo64/tonietoolbox:latest
|
124
|
+
```
|
125
|
+
|
126
|
+
#### Build the Docker Image Locally
|
127
|
+
|
128
|
+
```
|
129
|
+
docker build -t tonietoolbox .
|
130
|
+
```
|
131
|
+
|
132
|
+
Or using docker-compose:
|
133
|
+
|
134
|
+
```
|
135
|
+
docker-compose build
|
136
|
+
```
|
137
|
+
|
109
138
|
## Usage
|
110
139
|
|
111
140
|
### Basic Usage
|
@@ -162,6 +191,41 @@ By default, all generated TAF files are saved in the `.\output` directory. If yo
|
|
162
191
|
tonietoolbox --recursive --output-to-source "Music/Albums"
|
163
192
|
```
|
164
193
|
|
194
|
+
### Docker Usage
|
195
|
+
|
196
|
+
Using TonieToolbox with Docker simplifies the setup process as all dependencies (FFmpeg and opus-tools) are pre-installed.
|
197
|
+
|
198
|
+
**Convert a single audio file to Tonie format:**
|
199
|
+
|
200
|
+
```bash
|
201
|
+
# Use docker run
|
202
|
+
docker run --rm -v "$(pwd)/input:/tonietoolbox/input" -v "$(pwd)/output:/tonietoolbox/output" quentendo64/tonietoolbox input/my-audio-file.mp3
|
203
|
+
|
204
|
+
# Or using docker-compose
|
205
|
+
docker-compose run --rm tonietoolbox input/my-audio-file.mp3
|
206
|
+
```
|
207
|
+
|
208
|
+
**Process folders recursively:**
|
209
|
+
|
210
|
+
```bash
|
211
|
+
# Use docker run
|
212
|
+
docker run --rm -v "$(pwd)/input:/tonietoolbox/input" -v "$(pwd)/output:/tonietoolbox/output" quentendo64/tonietoolbox --recursive input/folder
|
213
|
+
|
214
|
+
```
|
215
|
+
|
216
|
+
**Advanced options with Docker:**
|
217
|
+
|
218
|
+
```bash
|
219
|
+
# Convert with custom settings
|
220
|
+
docker run --rm -v "$(pwd)/input:/tonietoolbox/input" -v "$(pwd)/output:/tonietoolbox/output" quentendo64/tonietoolbox --recursive --use-media-tags --name-template "{album} - {artist}" --bitrate 128 input/folder
|
221
|
+
```
|
222
|
+
|
223
|
+
**Upload to TeddyCloud with Docker:**
|
224
|
+
|
225
|
+
```bash
|
226
|
+
docker run --rm -v "$(pwd)/input:/tonietoolbox/input" -v "$(pwd)/output:/tonietoolbox/output" quentendo64/tonietoolbox input/my-audio-file.mp3 --upload https://teddycloud.example.com --include-artwork
|
227
|
+
```
|
228
|
+
|
165
229
|
### Advanced Options
|
166
230
|
|
167
231
|
Run the following command to see all available options:
|
@@ -328,7 +392,7 @@ tonietoolbox --recursive "\Hörspiele\Die drei Fragezeichen\Folgen"
|
|
328
392
|
Process a music collection with nested album folders and save TAF files alongside the source directories:
|
329
393
|
|
330
394
|
```
|
331
|
-
tonietoolbox --recursive --output-to-source "\Hörspiele\"
|
395
|
+
tonietoolbox --recursive --output-to-source "\Hörspiele\"
|
332
396
|
```
|
333
397
|
|
334
398
|
#### Automatic dependency download:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
TonieToolbox/__init__.py,sha256=
|
1
|
+
TonieToolbox/__init__.py,sha256=nXGCeCrBTSJ6dr2zymRDckNNp7HIqoxfdAdTozh7yFg,96
|
2
2
|
TonieToolbox/__main__.py,sha256=71HjJZFNfdflCbwuL28xHpKkwLIKAXW6sVpGX9TQRII,37202
|
3
3
|
TonieToolbox/audio_conversion.py,sha256=nV87LTzuxeJQughu-esxTq2aZq-BvaTURj-pvBqygQs,13075
|
4
4
|
TonieToolbox/constants.py,sha256=BQ6eUNvT3eXgsz8KFYMrqpn5vRPXrp2d6folxP6H03E,4374
|
@@ -16,9 +16,9 @@ TonieToolbox/tonie_header.proto,sha256=WaWfwO4VrwGtscK2ujfDRKtpeBpaVPoZhI8iMmR-C
|
|
16
16
|
TonieToolbox/tonie_header_pb2.py,sha256=s5bp4ULTEekgq6T61z9fDkRavyPM-3eREs20f_Pxxe8,3665
|
17
17
|
TonieToolbox/tonies_json.py,sha256=AAYPTDTVZg4sm5AAnUKPPAifTM1iLh6Oa96ic84K2m0,20673
|
18
18
|
TonieToolbox/version_handler.py,sha256=7Zx-pgzAUhz6jMplvNal1wHyxidodVxaNcAV0EMph5k,9778
|
19
|
-
tonietoolbox-0.4.
|
20
|
-
tonietoolbox-0.4.
|
21
|
-
tonietoolbox-0.4.
|
22
|
-
tonietoolbox-0.4.
|
23
|
-
tonietoolbox-0.4.
|
24
|
-
tonietoolbox-0.4.
|
19
|
+
tonietoolbox-0.4.2.dist-info/licenses/LICENSE.md,sha256=rGoga9ZAgNco9fBapVFpWf6ri7HOBp1KRnt1uIruXMk,35190
|
20
|
+
tonietoolbox-0.4.2.dist-info/METADATA,sha256=j46zRD7ZTIkOIh3MlgYmON0-lKUUx62dBOZn2QzY2DU,24105
|
21
|
+
tonietoolbox-0.4.2.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
|
22
|
+
tonietoolbox-0.4.2.dist-info/entry_points.txt,sha256=oqpeyBxel7aScg35Xr4gZKnf486S5KW9okqeBwyJxxc,60
|
23
|
+
tonietoolbox-0.4.2.dist-info/top_level.txt,sha256=Wkkm-2p7I3ENfS7ZbYtYUB2g-xwHrXVlERHfonsOPuE,13
|
24
|
+
tonietoolbox-0.4.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|