TonieToolbox 0.1.2__tar.gz → 0.1.4__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 (26) hide show
  1. {tonietoolbox-0.1.2/TonieToolbox.egg-info → tonietoolbox-0.1.4}/PKG-INFO +3 -1
  2. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/README.md +2 -0
  3. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/__init__.py +1 -1
  4. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/constants.py +1 -0
  5. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/tonie_file.py +3 -3
  6. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4/TonieToolbox.egg-info}/PKG-INFO +3 -1
  7. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/LICENSE.md +0 -0
  8. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/MANIFEST.in +0 -0
  9. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/__main__.py +0 -0
  10. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/audio_conversion.py +0 -0
  11. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/dependency_manager.py +0 -0
  12. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/filename_generator.py +0 -0
  13. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/logger.py +0 -0
  14. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/ogg_page.py +0 -0
  15. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/opus_packet.py +0 -0
  16. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/tonie_analysis.py +0 -0
  17. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/tonie_header.proto +0 -0
  18. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox/tonie_header_pb2.py +0 -0
  19. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox.egg-info/SOURCES.txt +0 -0
  20. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox.egg-info/dependency_links.txt +0 -0
  21. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox.egg-info/entry_points.txt +0 -0
  22. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox.egg-info/requires.txt +0 -0
  23. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/TonieToolbox.egg-info/top_level.txt +0 -0
  24. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/pyproject.toml +0 -0
  25. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/setup.cfg +0 -0
  26. {tonietoolbox-0.1.2 → tonietoolbox-0.1.4}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TonieToolbox
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Convert audio files to Tonie box compatible format
5
5
  Home-page: https://github.com/Quentendo64/TonieToolbox
6
6
  Author: Quentendo64
@@ -31,6 +31,8 @@ Happy Testing :-P
31
31
 
32
32
  A Python tool for converting audio files to Tonie box compatible format (TAF - Tonie Audio Format).
33
33
 
34
+ # Beginners Guide
35
+ - [HOWTO](HOWTO.md)
34
36
 
35
37
  ## Table of Contents
36
38
 
@@ -4,6 +4,8 @@ Happy Testing :-P
4
4
 
5
5
  A Python tool for converting audio files to Tonie box compatible format (TAF - Tonie Audio Format).
6
6
 
7
+ # Beginners Guide
8
+ - [HOWTO](HOWTO.md)
7
9
 
8
10
  ## Table of Contents
9
11
 
@@ -2,4 +2,4 @@
2
2
  TonieToolbox - Convert audio files to Tonie box compatible format
3
3
  """
4
4
 
5
- __version__ = '0.1.2'
5
+ __version__ = '0.1.4'
@@ -6,6 +6,7 @@ ONLY_CONVERT_FRAMEPACKING = -1
6
6
  OTHER_PACKET_NEEDED = -2
7
7
  DO_NOTHING = -3
8
8
  TOO_MANY_SEGMENTS = -4
9
+ TIMESTAMP_DEDUCT = 0x50000000
9
10
  OPUS_TAGS = [
10
11
  bytearray(
11
12
  b"\x4F\x70\x75\x73\x54\x61\x67\x73\x0D\x00\x00\x00\x4C\x61\x76\x66\x35\x38\x2E\x32\x30\x2E\x31\x30\x30\x03\x00\x00\x00\x26\x00\x00\x00\x65\x6E\x63\x6F\x64\x65\x72\x3D\x6F\x70\x75\x73\x65\x6E\x63\x20\x66\x72\x6F\x6D\x20\x6F\x70\x75\x73\x2D\x74\x6F\x6F\x6C\x73\x20\x30\x2E\x31\x2E\x31\x30\x2A\x00\x00\x00\x65\x6E\x63\x6F\x64\x65\x72\x5F\x6F\x70\x74\x69\x6F\x6E\x73\x3D\x2D\x2D\x71\x75\x69\x65\x74\x20\x2D\x2D\x62\x69\x74\x72\x61\x74\x65\x20\x39\x36\x20\x2D\x2D\x76\x62\x72\x3B\x01\x00\x00\x70\x61\x64\x3D\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30"),
@@ -12,7 +12,7 @@ import os
12
12
  from . import tonie_header_pb2
13
13
  from .opus_packet import OpusPacket
14
14
  from .ogg_page import OggPage
15
- from .constants import OPUS_TAGS, SAMPLE_RATE_KHZ
15
+ from .constants import OPUS_TAGS, SAMPLE_RATE_KHZ, TIMESTAMP_DEDUCT
16
16
  from .logger import get_logger
17
17
 
18
18
  # Setup logging
@@ -331,8 +331,8 @@ def create_tonie_file(output_file, input_files, no_tonie_header=False, user_time
331
331
  timestamp = int(time.time())
332
332
  logger.debug("Falling back to current timestamp: %d", timestamp)
333
333
  else:
334
- timestamp = int(time.time())
335
- logger.debug("Using current timestamp: %d", timestamp)
334
+ timestamp = int(time.time()-TIMESTAMP_DEDUCT)
335
+ logger.debug("Using current timestamp - 0x50000000: %d", timestamp)
336
336
 
337
337
  sha1 = hashlib.sha1()
338
338
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TonieToolbox
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Convert audio files to Tonie box compatible format
5
5
  Home-page: https://github.com/Quentendo64/TonieToolbox
6
6
  Author: Quentendo64
@@ -31,6 +31,8 @@ Happy Testing :-P
31
31
 
32
32
  A Python tool for converting audio files to Tonie box compatible format (TAF - Tonie Audio Format).
33
33
 
34
+ # Beginners Guide
35
+ - [HOWTO](HOWTO.md)
34
36
 
35
37
  ## Table of Contents
36
38
 
File without changes
File without changes
File without changes
File without changes