TonieToolbox 0.1.2__py3-none-any.whl → 0.1.4__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/constants.py +1 -0
- TonieToolbox/tonie_file.py +3 -3
- {tonietoolbox-0.1.2.dist-info → tonietoolbox-0.1.4.dist-info}/METADATA +3 -1
- {tonietoolbox-0.1.2.dist-info → tonietoolbox-0.1.4.dist-info}/RECORD +9 -9
- {tonietoolbox-0.1.2.dist-info → tonietoolbox-0.1.4.dist-info}/WHEEL +0 -0
- {tonietoolbox-0.1.2.dist-info → tonietoolbox-0.1.4.dist-info}/entry_points.txt +0 -0
- {tonietoolbox-0.1.2.dist-info → tonietoolbox-0.1.4.dist-info}/licenses/LICENSE.md +0 -0
- {tonietoolbox-0.1.2.dist-info → tonietoolbox-0.1.4.dist-info}/top_level.txt +0 -0
    
        TonieToolbox/__init__.py
    CHANGED
    
    
    
        TonieToolbox/constants.py
    CHANGED
    
    | @@ -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"),
         | 
    
        TonieToolbox/tonie_file.py
    CHANGED
    
    | @@ -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. | 
| 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 |  | 
| @@ -1,19 +1,19 @@ | |
| 1 | 
            -
            TonieToolbox/__init__.py,sha256= | 
| 1 | 
            +
            TonieToolbox/__init__.py,sha256=0RSXJddUBhbuu6nBzdO2-vzujCRbuT5wDnjUbwCFOOc,96
         | 
| 2 2 | 
             
            TonieToolbox/__main__.py,sha256=qOWIB6JQyEBXyFBEIYbqNtXgFFRrUoHQVnBWiX-pEfw,7114
         | 
| 3 3 | 
             
            TonieToolbox/audio_conversion.py,sha256=10PayO1VQDGee2bcO6JD8zRSFoJRJhO2pBeba5k15vk,7998
         | 
| 4 | 
            -
            TonieToolbox/constants.py,sha256= | 
| 4 | 
            +
            TonieToolbox/constants.py,sha256=QQWQpnCI65GByLlXLOkt2n8nALLu4m6BWp0zuhI3M04,2021
         | 
| 5 5 | 
             
            TonieToolbox/dependency_manager.py,sha256=sr7PMBsqQ26bYszM-7Ay-UbKPuBJGyeJV3y1BPAOiBQ,15028
         | 
| 6 6 | 
             
            TonieToolbox/filename_generator.py,sha256=RqQHyGTKakuWR01yMSnFVMU_HfLw3rqFxKhXNIHdTlg,3441
         | 
| 7 7 | 
             
            TonieToolbox/logger.py,sha256=Up9fBVkOZwkY61_645bX4tienCpyVSkap-FeTV0v730,1441
         | 
| 8 8 | 
             
            TonieToolbox/ogg_page.py,sha256=-ViaIRBgh5ayfwmyplL8QmmRr5P36X8W0DdHkSFUYUU,21948
         | 
| 9 9 | 
             
            TonieToolbox/opus_packet.py,sha256=OcHXEe3I_K4mWPUD55prpG42sZxJsEeAxqSbFxBmb0c,7895
         | 
| 10 10 | 
             
            TonieToolbox/tonie_analysis.py,sha256=4eOzxHL_g0TJFhuexNHcZXivxZ7eb5xfb9-efUZ02W0,20344
         | 
| 11 | 
            -
            TonieToolbox/tonie_file.py,sha256= | 
| 11 | 
            +
            TonieToolbox/tonie_file.py,sha256=nIS4qhpBKIyPvTU39yYljRidpY6cz78halXlz3HJy9w,15294
         | 
| 12 12 | 
             
            TonieToolbox/tonie_header.proto,sha256=WaWfwO4VrwGtscK2ujfDRKtpeBpaVPoZhI8iMmR-C0U,202
         | 
| 13 13 | 
             
            TonieToolbox/tonie_header_pb2.py,sha256=s5bp4ULTEekgq6T61z9fDkRavyPM-3eREs20f_Pxxe8,3665
         | 
| 14 | 
            -
            tonietoolbox-0.1. | 
| 15 | 
            -
            tonietoolbox-0.1. | 
| 16 | 
            -
            tonietoolbox-0.1. | 
| 17 | 
            -
            tonietoolbox-0.1. | 
| 18 | 
            -
            tonietoolbox-0.1. | 
| 19 | 
            -
            tonietoolbox-0.1. | 
| 14 | 
            +
            tonietoolbox-0.1.4.dist-info/licenses/LICENSE.md,sha256=rGoga9ZAgNco9fBapVFpWf6ri7HOBp1KRnt1uIruXMk,35190
         | 
| 15 | 
            +
            tonietoolbox-0.1.4.dist-info/METADATA,sha256=SJQYHwY4DhDOQcu3Dv4-hJgkF-CdmKw5soEsGv2a3i0,8971
         | 
| 16 | 
            +
            tonietoolbox-0.1.4.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
         | 
| 17 | 
            +
            tonietoolbox-0.1.4.dist-info/entry_points.txt,sha256=oqpeyBxel7aScg35Xr4gZKnf486S5KW9okqeBwyJxxc,60
         | 
| 18 | 
            +
            tonietoolbox-0.1.4.dist-info/top_level.txt,sha256=Wkkm-2p7I3ENfS7ZbYtYUB2g-xwHrXVlERHfonsOPuE,13
         | 
| 19 | 
            +
            tonietoolbox-0.1.4.dist-info/RECORD,,
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         |