# 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/lewskii/delay_srt",
"name": "delay-srt",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "delay subtitles subrip srt",
"author": "lewski",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/6a/b0/7f647eb07a13484ac414b0f7f8bf30563f5156e7337ad2ac144c13a10a87/delay_srt-0.1.1.tar.gz",
"platform": null,
"description": "# delay_srt\r\n\r\nDelays the subtitles in a SubRip (.srt) file by a given amount of time.\r\n\r\n## Installation\r\n\r\n1. [Install Python](https://www.python.org/downloads/).\r\n\r\n 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.\r\n\r\n2. Install delay_srt\r\n\r\n The following command should work for most people:\r\n\r\n pip install ogg4osu\r\n\r\n If you want/need something more specialised, I'm sure you already know what you need to do differently.\r\n\r\n## Usage\r\n\r\nJust 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:\r\n\r\n python -m delay_srt example.srt 1000\r\n\r\nNote that depending on your environment, you may need to use the `python3` command instead.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Delays the subtitles in a SubRip (.srt) file.",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/lewskii/delay_srt"
},
"split_keywords": [
"delay",
"subtitles",
"subrip",
"srt"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "788cf1e2aca4cd0954d10df36188efd7ae6cff3de4643be0d2312e932b355cf5",
"md5": "4213c49cc2c4cac5ed90933dd585055f",
"sha256": "faddbba4da40c2f51bae4e12ba54331a507e01d64a58773aefdfaf235d6bdba0"
},
"downloads": -1,
"filename": "delay_srt-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4213c49cc2c4cac5ed90933dd585055f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 16750,
"upload_time": "2023-10-27T08:19:20",
"upload_time_iso_8601": "2023-10-27T08:19:20.597091Z",
"url": "https://files.pythonhosted.org/packages/78/8c/f1e2aca4cd0954d10df36188efd7ae6cff3de4643be0d2312e932b355cf5/delay_srt-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6ab07f647eb07a13484ac414b0f7f8bf30563f5156e7337ad2ac144c13a10a87",
"md5": "c0470bda193066cc1149cc442cfa1a00",
"sha256": "151323259d3a1737df1551c94aa8280406e2cb41f1763e8c74e48221e1b3cd62"
},
"downloads": -1,
"filename": "delay_srt-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "c0470bda193066cc1149cc442cfa1a00",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15962,
"upload_time": "2023-10-27T08:19:21",
"upload_time_iso_8601": "2023-10-27T08:19:21.993991Z",
"url": "https://files.pythonhosted.org/packages/6a/b0/7f647eb07a13484ac414b0f7f8bf30563f5156e7337ad2ac144c13a10a87/delay_srt-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-27 08:19:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lewskii",
"github_project": "delay_srt",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "delay-srt"
}