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
3716077495
Backport pull request #8433 from jellyfin/release-10.8.z
...
Update to dotnet 6.0.9
Original-merge: 4ec82ec662
Merged-by: Joshua M. Boniface <joshua@boniface.me>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2 years ago
Andreas Egli
2251e7d603
change variable to camelCase
2 years ago
Andreas Egli
bd7898f18a
allow additional flags after K_ for ffprobe keyframe extraction
2 years ago
Andreas Egli
1528cb1e77
add gentps flag to ffprobe for keyframe extraction
2 years ago
Andreas Egli
56a5db5706
add TryParse to FFProbe Keyframe extraction
2 years ago
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2 years ago
Cody Robibero
40d3d8fb37
bump Jellyfin to 10.9
2 years ago
Cody Robibero
b6a0fe3378
Merge pull request #7911 from cvium/fix_keyframe_transcode
...
(cherry picked from commit 07b39655eb
)
Signed-off-by: crobibero <cody@robibe.ro>
2 years ago
Cody Robibero
e4b095a766
Merge pull request #7894 from crobibero/search-hints
...
(cherry picked from commit 0f75f17736
)
Signed-off-by: crobibero <cody@robibe.ro>
2 years ago
Bond-009
2b1a915ead
Merge pull request #7604 from Jellifi007/fixes-diactritics
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
(cherry picked from commit 8d1d973438
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
dependabot[bot]
812841d01e
Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 ( #7726 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
dde984bd0e
Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406
...
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers ) from 1.2.0-beta.376 to 1.2.0-beta.406.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases )
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.376...1.2.0-beta.406 )
---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Cody Robibero
e6df698df1
Merge pull request #7325 from eyezak/issue/6450
3 years ago
Claus Vium
53209830e7
Merge pull request #7346 from Bond-009/guid
...
Optimize Guid comparisons
3 years ago
Cody Robibero
965bf7332f
Update to dotnet 6.0.3
3 years ago
Cody Robibero
dbea7cac67
Use Enum.GetValues<T>()
3 years ago
Cody Robibero
c331e11c24
Clean up EnumFlags serialization
3 years ago
Cody Robibero
5e1f956fe0
Allow KeyframeExtractor to be localized
3 years ago
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
3 years ago
Bond_009
5732e6188c
Fix some warnings
3 years ago
Cody Robibero
b98cc71c3b
Update to dotnet 6.0.2
...
Signed-off-by: Cody Robibero <cody@robibe.ro>
3 years ago
Nyanmisaka
6c53420fe3
Fix the broken fMP4 main playlist ( #7263 )
3 years ago
Bond_009
2dcb2f8a9f
Ban the usage of Task.Result
...
If the calling function can't be made async easily you can still use
.GetAwaiter().GetResult(), which is way easier to find in the future
3 years ago
cvium
90736ee346
Add pagination and fixes
3 years ago
Claus Vium
70751722d2
Apply suggestions from code review
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
cvium
7ba9a24736
Fix bool
3 years ago
cvium
b9d4cbf3e8
Fix progress
3 years ago
Claus Vium
768b76b999
Apply suggestions from code review
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
cvium
f92806c246
Use local var for the length
3 years ago
cvium
9a5a079f42
Add progress report
3 years ago
cvium
6ffa9539bb
Refactor and add scheduled task
3 years ago
cvium
c658a883a2
Merge branch 'master' into keyframe_extraction_v1
...
# Conflicts:
# Jellyfin.Api/Controllers/DynamicHlsController.cs
# MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs
# MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
Bond_009
ea9fc9f9cc
Remove unreachable branches from JsonConverters
...
* If the type is a reference type we don't have to handle null ourselves
* reader.ValueSpan is only valid if reader.HasValueSequence is false
3 years ago
Claus Vium
8fc4a48070
Merge pull request #6501 from crobibero/schedules-direct
3 years ago
Cody Robibero
3bbd98cc3f
Merge remote-tracking branch 'upstream/master' into schedules-direct
3 years ago
Bond_009
dc8feca6bb
Remove duplicate Fisher–Yates shuffle impl
3 years ago
Bond_009
d4373a2ddb
Use ConvertFrom with invariant culture instead of current culture
3 years ago
cvium
2899b77cd5
Implement FfProbeKeyframeExtractor and add tests for it
3 years ago
cvium
41383e6fe4
Review comment
3 years ago
cvium
64a13a5d42
Add ComputeSegments test
3 years ago
cvium
43ea4af30f
Update to .net 6
3 years ago
cvium
30f3be1da0
Merge branch 'master' into keyframe_extraction_v1
3 years ago
cvium
3e5cb8e04e
Add tests for ComputeEqualLengthSegments and fix bug
3 years ago
cvium
c7b25a9fe4
Add first test
3 years ago
cvium
fa38b741ce
Restructure the code to make it more testable
3 years ago
cvium
be233b49b6
Fixes
3 years ago
Bond_009
086d5925c9
Update Jellyfin.Extensions to .Net6
3 years ago