Commit Graph

211 Commits

Author SHA1 Message Date
McCloudS
fb785f6319 Bump version 2024-12-12 15:02:13 -07:00
McCloudS
0c7dcc8093 Fix detect language flow for non-bazarr 2024-12-12 15:00:42 -07:00
McCloudS
7f7b7364e5 Update subgen.py 2024-12-04 13:34:33 -07:00
McCloudS
2c7f526851 Update subgen.py 2024-12-04 13:04:12 -07:00
McCloudS
5b14057ddd Update subgen.py 2024-12-04 11:10:34 -07:00
McCloudS
4f890efaec Update subgen.py 2024-12-03 20:35:32 -07:00
McCloudS
29c7c33123 Typecast user inputs to ints as appropriate. 2024-12-03 14:34:19 -07:00
McCloudS
85304823e1 Skip detect-language if we have forced a detected language 2024-12-03 13:14:03 -07:00
McCloudS
bf9d29475f Default LanguageCode inputs to from_string and fix detect_langauge 2024-12-03 11:35:40 -07:00
McCloudS
84243bb34e Language code improvements (#147)
* improved language code handling

* expanded skipping behaviour

* remove unused code

* Added an option to detect language with whisper before choosing to skip it

---------

Co-authored-by: muisje <27768559+muisje@users.noreply.github.com>
2024-12-03 10:37:07 -07:00
McCloudS
66dc8e5faa Fix detect_language 2024-12-02 01:17:35 +00:00
McCloudS
3ad1a76c75 Clean up have_to_skip 2024-11-30 21:17:48 +00:00
McCloudS
bebc731966 Fixed typo 2024-11-30 20:57:45 +00:00
McCloudS
23bafcd68b change /batch to from_string 2024-11-30 19:03:25 +00:00
McCloudS
667dd8f9fc Update launcher.py 2024-11-30 18:30:11 +00:00
McCloudS
5e8e503760 Fix /batch string 2024-11-30 18:25:06 +00:00
McCloudS
688719925b Muisje/issue143 (#144)
* * Handle multiple audio tracks
* Improved skipping

* Added language code class for more robustness and flexibility

* extract audio to bytes instead of file in case of multiple audio
2024-11-30 18:23:53 +00:00
McCloudS
d0333e2c01 Removed Initial Prompt
It can now be set manually via "SUBGEN_KWARGS" if you so choose.
2024-11-23 21:55:38 +00:00
McCloudS
a636d74603 Update calver.yml 2024-11-18 02:54:57 +00:00
McCloudS
3b46c300ff Test calver commit 2024-11-17 19:50:38 -07:00
McCloudS
6f0016aa15 Clean up language 2024-11-18 02:43:28 +00:00
McCloudS
41ffebea38 Test commit 2024-11-18 02:40:57 +00:00
GitHub Actions
8fb3f6c6e4 Automated update subgen.py with version 2024-11-18 01:25:58 +00:00
McCloudS
c6c684cdc8 Cleaned up conditional logging for optional video_file 2024-11-17 18:25:44 -07:00
GitHub Actions
5df2187197 Automated update subgen.py with version 2024-11-18 01:18:03 +00:00
McCloudS
da41f820f5 Update filtering to remove "Calling on..." 2024-11-17 18:17:51 -07:00
GitHub Actions
d10908c14c Automated update subgen.py with version 2024-11-18 01:14:08 +00:00
McCloudS
f7f75431aa Add option video_file parameter to ASR. 2024-11-17 18:13:53 -07:00
GitHub Actions
67660dda63 Automated update subgen.py with version 2024-11-15 04:12:48 +00:00
McCloudS
bb818a4ec7 Removed user-agent check from Emby
Emby updated their user agent to seemingly match the browser being used, which cause a failure in the code.
2024-11-14 21:12:36 -07:00
GitHub Actions
8cb4bedd8a Automated update subgen.py with version 2024-11-02 14:53:26 +00:00
McCloudS
6833e93637 Update subgen.py 2024-11-02 08:53:15 -06:00
GitHub Actions
d87afeb098 Automated update subgen.py with version 2024-11-02 14:29:41 +00:00
McCloudS
d2fde05ac7 added SKIP_LANG_CODES
SKIP_LANG_CODES takes a pipe separated '|' list of 3 letter language codes to not process subtitles for if an audio stream in the file matches the list.
2024-11-02 08:29:28 -06:00
GitHub Actions
2e11498d18 Automated update subgen.py with version 2024-10-27 21:28:25 +00:00
McCloudS
2904febbde Fix logic with generating already existing subtitles 2024-10-27 15:28:13 -06:00
GitHub Actions
33ffc041cb Automated update subgen.py with version 2024-10-01 06:28:25 +00:00
GitHub Actions
ceb565ef30 Automated update subgen.py with version 2024-10-01 06:10:41 +00:00
GitHub Actions
0a6c64445b Automated update subgen.py with version 2024-10-01 06:07:16 +00:00
McCloudS
4eb47f6960 Fixed logic flaw in plex processing 2024-10-01 00:07:04 -06:00
GitHub Actions
73a1a8e05c Automated update subgen.py with version 2024-10-01 05:59:52 +00:00
McCloudS
e90ea4070f Forgot what year I'm in 2024-09-30 23:59:38 -06:00
GitHub Actions
ce4cd59a3c Automated update subgen.py with version 2024-10-01 05:37:15 +00:00
GitHub Actions
f31f6db490 Automated update subgen.py with version 2024-10-01 05:08:01 +00:00
McCloudS
ca6b177889 Update subgen.py 2024-09-30 23:07:50 -06:00
GitHub Actions
c013d59159 Automated update subgen.py with version 2024-10-01 05:04:42 +00:00
McCloudS
6bfa46a619 clarified error 2024-09-30 23:04:31 -06:00
GitHub Actions
0c880c2dba Automated update subgen.py with version 2024-10-01 04:51:51 +00:00
McCloudS
6df3000bf5 Missed another because i'm editing in bed on my phone... 2024-09-30 22:51:41 -06:00
GitHub Actions
c084702f40 Automated update subgen.py with version 2024-10-01 04:45:46 +00:00