Commit Graph

20212 Commits

Author SHA1 Message Date
Nikolaj Olsson
96743aa922
Merge pull request #8935 from ivandrofly/libse-proj
Update project metadata and repository URL in LibSE.csproj
2024-10-24 17:58:12 +02:00
Nikolaj Olsson
9b41308c5a
Merge pull request #8936 from Flitskikker/feature/btc-improvement-20241021
Another small Beautify time codes improvement
2024-10-24 17:57:36 +02:00
Nikolaj Olsson
b7f43592c5
Merge pull request #8938 from nkh0472/patch-393240
Update zh-Hans.xml
2024-10-24 17:57:12 +02:00
nkh0472
3d9a4890ed
Update zh-Hans.xml
for commit 07f76ecfc2
2024-10-24 21:54:58 +08:00
Ivandro Jao
dfbff454e1 Update project metadata and repository URL in LibSE.csproj
Modified the RepositoryUrl to point to the general SubtitleEdit repository and added an IsPackable property to allow the project to be included in packages. This ensures the updated repository URL is more accurate and the project is properly packable.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-23 21:13:29 +01:00
Nikolaj Olsson
54fd14b43b Add easier re-generate TTS - thx cvrle77 :) 2024-10-23 19:04:32 +02:00
nikolaj.olsson
95c12f5e03 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-10-23 13:18:43 +02:00
nikolaj.olsson
2aa5d901fb Update Anthropic Claude Sonnet model name to "claude-3-5-sonnet-latest" 2024-10-23 13:18:37 +02:00
Nikolaj Olsson
6dd17f90ac
Merge pull request #8933 from bovirus/main
Update Italian language
2024-10-23 10:01:50 +02:00
bovirus
7bd0570a4e
Update Italian language 2024-10-23 08:10:06 +02:00
Nikolaj Olsson
07f76ecfc2 Add stability + similarity language tags 2024-10-23 06:51:10 +02:00
Nikolaj Olsson
a926b62876 Minor adjustment 2024-10-22 21:16:54 +02:00
Nikolaj Olsson
5f8a53b2a7 Add elevenlabs stability/similarity settings - thx aymanmostafa11 :)
Related to #8928
2024-10-22 21:11:08 +02:00
Nikolaj Olsson
5ad438408b Minor fix for button height (OCR spell check whole word) 2024-10-22 16:28:43 +02:00
Nikolaj Olsson
cc72a41711
Merge pull request #8929 from ivandrofly/dev
WhisperAudioToText: Bug fix 🐛
2024-10-22 16:20:19 +02:00
Nikolaj Olsson
46d27c25d2
Merge pull request #8925 from ivandrofly/typo-fix
Fix typo in variable name 'ImportedSubitle' to 'ImportedSubtitle' 🔃
2024-10-22 16:17:53 +02:00
Nikolaj Olsson
ab13f76f15
Merge pull request #8932 from diomed/main
Update hrv_OCRFixReplaceList.xml
2024-10-22 16:15:40 +02:00
May Kittens Devour Your Soul
ca6b0feea1
Update hrv_OCRFixReplaceList.xml 2024-10-22 10:49:18 +02:00
Martijn van Berkel (Flitskikker)
bd6f556fbf Check for in-between shot changes when connecting subtitles while using a very high "Tread as connected" setting 2024-10-21 21:34:12 +02:00
Ivandro Jao
48a5ad91b3 Fix variable name in WhisperAudioToText subtitle loading
Corrected the input filename variable from srtFileName to vttFileName to ensure the correct subtitle format is processed. This fixes potential misloading issues when handling WebVTT files.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-21 19:36:11 +01:00
Ivandro Jao
5c9346c32c Refactor logging and transcript check in WhisperAudioToText
Simplify the logic by reordering logging updates and transcript checks. This removes redundant `UpdateLog` and `SeLogger.WhisperInfo` calls, streamlining the flow and maintaining the existing functionality.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-21 19:33:08 +01:00
Ivandro Jao
c63d8e0865 Fix typo in variable name 'ImportedSubitle' to 'ImportedSubtitle'
Corrected the misspelled variable name across both Main.cs and ImportUnknownFormat.cs files. Ensured consistent and accurate reference to 'ImportedSubtitle' for better code readability and functionality.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-21 13:41:36 +01:00
Nikolaj Olsson
5fd050a1b8
Merge pull request #8918 from ivandrofly/time-unit-conversion
Refactor frame-to-milliseconds conversion
2024-10-20 12:58:58 +02:00
Nikolaj Olsson
a2a226a2b5
Merge pull request #8921 from Flitskikker/feature/btc-bugfix-20241018
Small "Beautify time codes" improvement
2024-10-20 12:55:27 +02:00
Nikolaj Olsson
674dcf3159
Merge pull request #8920 from Flitskikker/feature/import-shotcuts-initial-directory
Initially browse for shot cuts in video folder
2024-10-20 12:54:50 +02:00
Nikolaj Olsson
aeed8afa3c
Merge pull request #8919 from Flitskikker/feature/update-nl-translation-20241018
Update Dutch translation
2024-10-20 12:54:13 +02:00
Martijn van Berkel (Flitskikker)
f378bf8def Remove weird spaces 2024-10-20 12:38:46 +02:00
Martijn van Berkel (Flitskikker)
c13db1f4a7 More general approach 2024-10-20 12:23:57 +02:00
Nikolaj Olsson
740ac29f6b Do not append voices when reloading 2024-10-19 21:31:51 +02:00
Ivandro Jao
0edb30eba8 Refactor frame-to-milliseconds conversion
Replaced direct frame rate based conversions with reusable utility methods across multiple subtitle formats. This improves consistency, readability, and maintainability of the codebase.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-19 20:28:53 +01:00
Martijn van Berkel (Flitskikker)
ba565edfa4 Update Dutch translation 2024-10-18 22:54:39 +02:00
Martijn van Berkel (Flitskikker)
227b30e374 Initially browse for shot cuts in video folder 2024-10-18 22:29:53 +02:00
Martijn van Berkel (Flitskikker)
13cfef9144 Handle subtitles as connected that turn out to be so when chaining 2024-10-18 22:24:59 +02:00
Nikolaj Olsson
30ba6afdba
Merge pull request #8616 from ivandrofly/matroska
Matroska
2024-10-18 20:38:24 +02:00
Nikolaj Olsson
e4574183f7 Minor fixes 2024-10-17 08:03:45 +02:00
Nikolaj Olsson
7040a121b7 Update change log 2024-10-16 20:38:05 +02:00
Nikolaj Olsson
dbda14d039 Add DeepLX - thx rifatozkancomtr :)
Fix #8873
2024-10-16 20:34:49 +02:00
Nikolaj Olsson
3a14913b98 Fix enter in textbox in FCE - thx p1nkyy/Roger :)
Fix #8883
2024-10-16 19:10:09 +02:00
Nikolaj Olsson
0d45a60a75 OCR italic fix again - thx Zoltan :) 2024-10-14 20:16:59 +02:00
Nikolaj Olsson
d12b632fb7 Update change log 2024-10-12 19:35:03 +02:00
Nikolaj Olsson
8ff7b7abf5
Merge pull request #8899 from ivandrofly/feature/file-util
Refactor directory writable check to FileUtil
2024-10-12 18:49:09 +02:00
Nikolaj Olsson
ecaa9972f3
Merge pull request #8900 from ivandrofly/feature/voskdistate
Feature/voskdistate
2024-10-12 18:48:01 +02:00
Nikolaj Olsson
69611bbc8f Fix bug in "Change casing" - thx Hlsgs :)
Fix #8903
2024-10-12 18:44:54 +02:00
Nikolaj Olsson
a396e61fda Try to fix color picker issue - thx Siamak :) 2024-10-12 14:54:28 +02:00
Nikolaj Olsson
7c9c32c5dc Fix crash while translating subtitles - thx claudemartin :)
Fix #8901
2024-10-12 09:27:13 +02:00
Ivandro Jao
0b257818fa Refactor: Discard unused variable in VoskDictate.cs
Replaced the unused variable 'res' with a discard operator in the PartialResult call to enhance code clarity and maintainability by explicitly indicating the result is not used.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-11 08:42:25 +01:00
Ivandro Jao
f133c82c85 Refactor VoskRecognizer usage to ensure proper disposal
Encapsulate VoskRecognizer instantiation within a using statement to guarantee resource disposal. This change improves memory management and aligns with best practices for resource handling. Also, maintain the existing logic structure for audio file processing.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-11 08:41:55 +01:00
Ivandro Jao
a46a33bf2f Refactor directory writable check to FileUtil
Moved the method `IsDirectoryWritable` from `WhisperAudioToText` to `FileUtil` for better code reuse and maintainability. Adjusted references in `WhisperAudioToText` and `VoskAudioToText` accordingly.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-10 19:17:40 +01:00
Nikolaj Olsson
172b47cdcb Update change log 2024-10-10 20:06:03 +02:00
Nikolaj Olsson
a51135090d Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-10-10 20:04:19 +02:00