Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2 years ago
Hannes Braun
4edeccc5e0
Remove redundant using directives
2 years ago
Cody Robibero
6004060b4e
Fix build errors from new warnings
2 years ago
Cody Robibero
fdd728e9f8
Merge pull request #8259 from RealGreenDragon/subtitle-extraction-timeout
2 years ago
MagicGreenDragon
7391b001ef
increased subtitle extraction timeout to 30 min
2 years ago
Shadowghost
3e5cf9395f
Backport pull request #8182 from jellyfin/release-10.8.z
...
Extract external subs from container before determining characterset
Original-merge: 1faee43b11
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Joshua Boniface <joshua@boniface.me>
2 years ago
Joshua Boniface
38eefbbafa
Backport pull request #8087 from jellyfin/release-10.8.z
...
feat: make subtitleeditparser generic
Authored-by: Claus Vium <cvium@users.noreply.github.com>
Merged-by: Bond-009 <bond.009@outlook.com>
Original-merge: 7323ccfc23
2 years ago
Joshua M. Boniface
3061446c87
Merge pull request #7984 from crobibero/dotnet-6.0.6
...
Upgrade to dotnet 6.0.6, update remaining dependencies
(cherry picked from commit 56e7b323de
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2 years ago
Joshua M. Boniface
e61c80fed7
Merge pull request #7960 from Shadowghost/subrip-encoder-fix
...
(cherry picked from commit ae79bbc34c
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2 years ago
Cody Robibero
eb55f47f2e
Merge pull request #7810 from Bond-009/unaccpattern
...
(cherry picked from commit 5e343d30e1
)
Signed-off-by: crobibero <cody@robibe.ro>
2 years ago
Cody Robibero
efcdab116f
Merge pull request #7529 from Shadowghost/strm-ffprobe-external-fix
...
(cherry picked from commit 60affd0965
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
Victor Gambier
dbf9e49258
Increase timeout for subtitle extraction to 30min ( #7153 )
3 years ago
Cody Robibero
b6489e73ab
Merge pull request #7241 from Bond-009/async5
3 years ago
SenorSmartyPants
509d66dcb5
Fix #7147 : Don't return subtitles in mismatched format ( #7149 )
3 years ago
Bond_009
e7be01d7a5
Flush to disk async where possible
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Thibault Nocchi
f91839dd8c
Fix WebVTT region to spec
3 years ago
Dmitry Lyzo
c26e6d89b4
Move FfmpegException to MediaBrowser.Common
3 years ago
Bond_009
9af16fcb6c
Remove workaround for dotnet/runtime#42790
3 years ago
Bond_009
f31224fa8f
Remove sync FileStream hack
3 years ago
Bond_009
4643fd5dcb
Address comments
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Bond_009
a6d1e542e6
Reduce allocations
3 years ago
Bond_009
34b38454e0
Fix SubtitleEncoder and add regression tests
3 years ago
Cody Robibero
ea3e66e918
Fix namespace
3 years ago
Bond_009
e3dac4fda2
Use async FileStreams where it makes sense
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
Bond_009
0bc0601442
Fix some warnings
4 years ago
Bond_009
26d7fc8280
Enable nullable reference types for MediaBrowser.MediaEncoding.Subtitles
4 years ago
Bond_009
9ed7f429c0
FxCop -> Net Analyzers (part 1)
4 years ago
David
60ffa6f514
Use FileShare.None when creating files
4 years ago
Claus Vium
64730b5661
Merge pull request #5278 from BaronGreenback/STRMFix
...
Fix for #5168
4 years ago
BaronGreenback
473a995650
Update SubtitleEncoder.cs
4 years ago
Bond_009
be965e35b6
Log subtitle errors
4 years ago
Bond_009
ed8fce2dce
Use SubtitleEdit to parse subtitles
4 years ago
M0ssTee
256bb3ee98
Update MediaBrowser.MediaEncoding/Subtitles/AssParser.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Troy
8c640a1492
Replaced /d with [0-9], see issue #2923
4 years ago
Bond-009
2c74262f7c
Merge pull request #4945 from obradovichv/fix-string-culture-specificity
4 years ago
Bond-009
45c6d79dc9
Merge pull request #4877 from jellyfin/ass
4 years ago
obradovichv
0282a1ed09
Fix string culture specificity
...
Fix bug in SsaParser.cs primary color {\1c} formatting that would leave
behind the {\1c} closing token and instead append </font> token
unconditionally to the dialogue text. Add tests.
Change AlphanumComparatorTests.cs complementary test data generation
from an array shuffle to an array reversal. Although it was previously
using a seeded Random, the shuffle itself could result in no
rearrangement of elements if the seed or test data changed over time.
The reversal guarantees reordering of elements and has the added benefit
of simplifying the test code since no special handling is needed for
arrays of 2 elements.
Change DailyTrigger.cs logging of TriggerDate format to
"yyyy-MM-dd HH:mm:ss.fff zzz" for consistency with configured log
timestamp format and change DueTime format to culture-invariant "c"
format.
4 years ago
Bond_009
5ac36a8b58
Add tests for srt parser
4 years ago
Bond_009
d0382db37d
Minor improvements to ass parser
4 years ago
Bond_009
e4fd61411f
Minor improvements
4 years ago
Joshua M. Boniface
a6199f821b
Merge pull request #4169 from stanionascu/bdiso-playback
...
Playback (direct-stream/transcode) of BDISO/BDAV containers
4 years ago
Bond_009
4b1c9dc9ea
Pass cancellation where possible
4 years ago
crobibero
01355e0498
Fix nullability errors in Jellyfin.Api (part 1)
4 years ago
Stanislav Ionascu
cd4641dca0
Remove PlayableStreamFileNames as unused
...
Since ffmpeg can play and transcode ISO files and BDMV folders directly,
there's no use of that property.
4 years ago
Stanislav Ionascu
3ad6232973
Add probe / direct-stream / transcoding support for BluRays
...
This commit (and ffmpeg built with libbluray support), adds support
for playback of bluray images (bd-iso) and bluray folders.
4 years ago
crobibero
30ba35a33b
Use HttpClientFactory in SubtitleEncoder
4 years ago