TonieToolbox 0.4.0__tar.gz → 0.4.2__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.
Files changed (31) hide show
  1. {tonietoolbox-0.4.0/TonieToolbox.egg-info → tonietoolbox-0.4.2}/PKG-INFO +66 -2
  2. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/README.md +64 -1
  3. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/__init__.py +1 -1
  4. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2/TonieToolbox.egg-info}/PKG-INFO +66 -2
  5. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox.egg-info/requires.txt +1 -0
  6. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/pyproject.toml +1 -0
  7. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/setup.py +2 -1
  8. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/LICENSE.md +0 -0
  9. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/MANIFEST.in +0 -0
  10. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/__main__.py +0 -0
  11. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/audio_conversion.py +0 -0
  12. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/constants.py +0 -0
  13. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/dependency_manager.py +0 -0
  14. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/filename_generator.py +0 -0
  15. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/logger.py +0 -0
  16. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/media_tags.py +0 -0
  17. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/ogg_page.py +0 -0
  18. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/opus_packet.py +0 -0
  19. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/recursive_processor.py +0 -0
  20. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/teddycloud.py +0 -0
  21. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/tonie_analysis.py +0 -0
  22. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/tonie_file.py +0 -0
  23. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/tonie_header.proto +0 -0
  24. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/tonie_header_pb2.py +0 -0
  25. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/tonies_json.py +0 -0
  26. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox/version_handler.py +0 -0
  27. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox.egg-info/SOURCES.txt +0 -0
  28. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox.egg-info/dependency_links.txt +0 -0
  29. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox.egg-info/entry_points.txt +0 -0
  30. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/TonieToolbox.egg-info/top_level.txt +0 -0
  31. {tonietoolbox-0.4.0 → tonietoolbox-0.4.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TonieToolbox
3
- Version: 0.4.0
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:
@@ -15,8 +15,10 @@ A Python tool for converting audio files to Tonie box compatible format (TAF - T
15
15
  - [Installation](#installation)
16
16
  - [Install from PyPI (Recommended)](#install-from-pypi-recommended)
17
17
  - [Install from Source](#install-from-source)
18
+ - [Using Docker](#using-docker)
18
19
  - [Usage](#usage)
19
20
  - [Basic Usage](#basic-usage)
21
+ - [Docker Usage](#docker-usage)
20
22
  - [Advanced Options](#advanced-options)
21
23
  - [Common Usage Examples](#common-usage-examples)
22
24
  - [Media Tags](#media-tags)
@@ -79,6 +81,32 @@ cd TonieToolbox
79
81
  pip install protobuf
80
82
  ```
81
83
 
84
+ ### Using Docker
85
+
86
+ TonieToolbox is available as a Docker image, which comes with all dependencies pre-installed.
87
+
88
+ #### Pull the Docker Image
89
+
90
+ ```
91
+ # From Docker Hub
92
+ docker pull quentendo64/tonietoolbox:latest
93
+
94
+ # From GitHub Packages
95
+ docker pull ghcr.io/quentendo64/tonietoolbox:latest
96
+ ```
97
+
98
+ #### Build the Docker Image Locally
99
+
100
+ ```
101
+ docker build -t tonietoolbox .
102
+ ```
103
+
104
+ Or using docker-compose:
105
+
106
+ ```
107
+ docker-compose build
108
+ ```
109
+
82
110
  ## Usage
83
111
 
84
112
  ### Basic Usage
@@ -135,6 +163,41 @@ By default, all generated TAF files are saved in the `.\output` directory. If yo
135
163
  tonietoolbox --recursive --output-to-source "Music/Albums"
136
164
  ```
137
165
 
166
+ ### Docker Usage
167
+
168
+ Using TonieToolbox with Docker simplifies the setup process as all dependencies (FFmpeg and opus-tools) are pre-installed.
169
+
170
+ **Convert a single audio file to Tonie format:**
171
+
172
+ ```bash
173
+ # Use docker run
174
+ docker run --rm -v "$(pwd)/input:/tonietoolbox/input" -v "$(pwd)/output:/tonietoolbox/output" quentendo64/tonietoolbox input/my-audio-file.mp3
175
+
176
+ # Or using docker-compose
177
+ docker-compose run --rm tonietoolbox input/my-audio-file.mp3
178
+ ```
179
+
180
+ **Process folders recursively:**
181
+
182
+ ```bash
183
+ # Use docker run
184
+ docker run --rm -v "$(pwd)/input:/tonietoolbox/input" -v "$(pwd)/output:/tonietoolbox/output" quentendo64/tonietoolbox --recursive input/folder
185
+
186
+ ```
187
+
188
+ **Advanced options with Docker:**
189
+
190
+ ```bash
191
+ # Convert with custom settings
192
+ 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
193
+ ```
194
+
195
+ **Upload to TeddyCloud with Docker:**
196
+
197
+ ```bash
198
+ 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
199
+ ```
200
+
138
201
  ### Advanced Options
139
202
 
140
203
  Run the following command to see all available options:
@@ -301,7 +364,7 @@ tonietoolbox --recursive "\Hörspiele\Die drei Fragezeichen\Folgen"
301
364
  Process a music collection with nested album folders and save TAF files alongside the source directories:
302
365
 
303
366
  ```
304
- tonietoolbox --recursive --output-to-source "\Hörspiele\"
367
+ tonietoolbox --recursive --output-to-source "\Hörspiele\"
305
368
  ```
306
369
 
307
370
  #### Automatic dependency download:
@@ -2,4 +2,4 @@
2
2
  TonieToolbox - Convert audio files to Tonie box compatible format
3
3
  """
4
4
 
5
- __version__ = '0.4.0'
5
+ __version__ = '0.4.2'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TonieToolbox
3
- Version: 0.4.0
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 +1,2 @@
1
1
  protobuf<=3.19.0
2
+ mutagen>=1.47.0
@@ -23,6 +23,7 @@ classifiers = [
23
23
  ]
24
24
  dependencies = [
25
25
  "protobuf<=3.19.0",
26
+ "mutagen>=1.47.0"
26
27
  ]
27
28
  requires-python = ">=3.6"
28
29
 
@@ -22,7 +22,7 @@ setup(
22
22
  version=version,
23
23
  author="Quentendo64",
24
24
  author_email="quentin@wohlfeil.at",
25
- description="Convert audio files to Tonie box compatible format",
25
+ description="Convert audio files to Toniebox compatible format (.TAF)",
26
26
  long_description=long_description,
27
27
  long_description_content_type="text/markdown",
28
28
  url="https://github.com/Quentendo64/TonieToolbox",
@@ -41,6 +41,7 @@ setup(
41
41
  python_requires=">=3.6",
42
42
  install_requires=[
43
43
  "protobuf<=3.19.0",
44
+ "mutagen>=1.47.0"
44
45
  ],
45
46
  entry_points={
46
47
  'console_scripts': [
File without changes
File without changes
File without changes