Metadata-Version: 2.1
Name: delay_srt
Version: 0.1.0
Summary: Delays the subtitles in a SubRip (.srt) file.
Home-page: https://github.com/lewskii/delay_srt
Author: lewski
Keywords: delay subtitles subrip srt
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
License-File: LICENSE

# delay_srt

Delays the subtitles in a SubRip (.srt) file by a given amount of time.

## Installation

1. [Install Python](https://www.python.org/downloads/).

    Python 3.11 or later should work for sure; when in doubt, just get the latest version. Older versions may work as well, but you're on your own with those.

2. Install delay_srt

    The following command should work for most people:

        pip install ogg4osu

    If you want/need something more specialised, I'm sure you already know what you need to do differently.

## Usage

Just run the program through Python (with the `-m` flag) in your command line of choice, and give it the path to the file you want to delay and the delay in milliseconds. For example, the following command will delay `example.srt` by 1 second:

    python -m delay_srt example.srt 1000

Note that depending on your environment, you may need to use the `python3` command instead.
