-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #425 from soultaco83/official
New plugin extract_ass_subtitles_to_files and update to extract_srt_subtitles_to_files
- Loading branch information
Showing
21 changed files
with
3,503 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
**/__pycache__ | ||
*.py[cod] | ||
**/site-packages | ||
settings.json |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Extract text subtitle streams to ASS/SSA files | ||
Plugin for [Unmanic](https://github.com/Unmanic) | ||
|
||
--- | ||
|
||
### Information: | ||
|
||
- [Description](description.md) | ||
- [Changelog](changelog.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
**<span style="color:#56adda">0.0.11</span>** | ||
- Added .unmanic file | ||
|
||
**<span style="color:#56adda">0.0.9</span>** | ||
- Add settings to specify: | ||
- Which languages to extract | ||
- Whether to include "title" in output file name | ||
|
||
**<span style="color:#56adda">0.0.8</span>** | ||
- Add library tester to search for files with SRT streams | ||
- Update FFmpeg helper | ||
|
||
**<span style="color:#56adda">0.0.7</span>** | ||
- Update FFmpeg helper | ||
- Add platform declaration | ||
|
||
**<span style="color:#56adda">0.0.6</span>** | ||
- Update Plugin for Unmanic v2 PluginHandler compatibility | ||
|
||
**<span style="color:#56adda">0.0.5</span>** | ||
- Fix bug in stream mapping causing subtitles from the previous file being added to the command of the current file | ||
|
||
**<span style="color:#56adda">0.0.4</span>** | ||
- Limit plugin to only process files with a "video" mimetype | ||
- Remove support for older versions of Unmanic (requires >= 0.1.0) | ||
- Fix issue when creating SRT file naming (TypeError: expected string or bytes-like object) | ||
- Add better debug logging | ||
|
||
**<span style="color:#56adda">0.0.3</span>** | ||
- Fix import issue in plugin file | ||
|
||
**<span style="color:#56adda">0.0.2</span>** | ||
- Update Plugin for Unmanic v1 PluginHandler compatibility | ||
- Update icon | ||
|
||
**<span style="color:#56adda">0.0.1</span>** | ||
- Initial version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
Any ASS/SSA subtitle streams found in the file will be exported as *.ass files in the same directory as the original file. | ||
|
||
:::warning | ||
This plugin is not compatible with linking as the remote link will not have access to the original source file's directory. | ||
::: | ||
|
||
:::note | ||
This Plugin does not contain a file tester to detect files that contain ASS/SSA subtitle streams. | ||
Ensure it is pared with another Plugin. | ||
::: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"author": "Josh.5, Bambanah, soultaco83", | ||
"compatibility": [ | ||
1, | ||
2 | ||
], | ||
"description": "Extract text based subtitle streams to *.ass files.", | ||
"icon": "https://raw.githubusercontent.com/Josh5/unmanic.plugin.extract_srt_subtitles_to_files/master/icon.png", | ||
"id": "extract_ass_subtitles_to_files", | ||
"name": "Extract text subtitle streams to ASS/SSA files", | ||
"platform": [ | ||
"all" | ||
], | ||
"priorities": { | ||
"on_worker_process": 2 | ||
}, | ||
"tags": "subtitle,ffmpeg", | ||
"version": "0.0.11" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
plugins.__init__.py | ||
Written by: Josh.5 <[email protected]> | ||
Date: 23 Aug 2021, (00:03 PM) | ||
Copyright: | ||
Copyright (C) 2021 Josh Sunnex | ||
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General | ||
Public License as published by the Free Software Foundation, version 3. | ||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the | ||
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
for more details. | ||
You should have received a copy of the GNU General Public License along with this program. | ||
If not, see <https://www.gnu.org/licenses/>. | ||
""" |
Oops, something went wrong.