Commit Graph

229 Commits

Author SHA1 Message Date
McCloudS
e198299aed Properly de-duplicate the queue and processing 2025-02-02 13:52:08 -07:00
McCloudS
661c731f54 Fix for monitor files 2025-02-02 09:41:36 -07:00
McCloudS
b47df5001e somehow deleted the name of a function... 2025-01-26 18:12:45 -07:00
McCloudS
9ff2c1b636 Move LRC check elsewhere 2025-01-26 18:10:27 -07:00
McCloudS
fd49c60f57 Fix LRC generation not being skipped properly when it already exists. 2025-01-26 18:05:14 -07:00
McCloudS
7cf7d571b7 Potential fix for garbage collector 2025-01-23 08:34:59 -07:00
McCloudS
5c84381ee9 Fixed deprecated call to transcribe_stable -> transcribe 2025-01-07 19:30:13 -07:00
McCloudS
ca97952698 Version bump and fix default actions if translating to english 2025-01-07 19:23:48 -07:00
McCloudS
3571cfa04d Fix subtitle naming logic 2025-01-07 18:11:45 -07:00
McCloudS
b4d5d9c155 Fix semicolon because i'm editing in a browser on my phone... 2025-01-07 13:54:15 -07:00
McCloudS
0771a9781c Fix subtitle naming for translate
Always default the subtitle name to eng, unless namesublang set to something else.
2025-01-07 13:51:43 -07:00
McCloudS
b8329905ce Removed debugging statements 2024-12-23 14:57:27 -07:00
McCloudS
9a86416ae9 Added plex ability to queue future episodes.
PLEX_QUEUE_NEXT_EPISODE and PLEX_QUEUE_SERIES
2024-12-23 14:50:09 -07:00
McCloudS
c7bc5814de Take 2 on has_subtitle_language_in_file 2024-12-16 21:52:43 -07:00
McCloudS
57183f14a8 version bump because I'm an idiot 2024-12-16 21:41:53 -07:00
McCloudS
86261a6fa2 Hopefully fix blank exceptions
next() may have been exhausted in previous version too early.  Trying a list instead and other catches.
2024-12-16 21:41:38 -07:00
McCloudS
d28ff6a170 Fix for LRC putting newlines inappropriately 2024-12-16 08:00:01 -07:00
McCloudS
49231e0d11 Fix pyav error catch 2024-12-13 06:55:25 -07:00
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