Joe Rogers
cf033b25f8
Require delimiter immediately after filename match
3 years ago
Joe Rogers
15053516f8
Rewrite tests for coverage and less duplication
...
Address minor warnings
Revert making GetInternalMetadataPath mockable
3 years ago
Joshua M. Boniface
59040bfa7d
Merge pull request #7255 from Shadowghost/external-sub-audio
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
dependabot[bot]
06f259001c
Bump Microsoft.NET.Test.Sdk from 17.0.0 to 17.1.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.0.0 to 17.1.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.0.0...v17.1.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Stanislav Ionascu
554d1b2ca8
Fix #7100 by catching the exception on opening invalid UDF images
...
When an invalid UDF image is opened by the UdfReader, it may throw
and exception. This change is to catch and log the exception.
3 years ago
Shadowghost
a36e34fbd2
fix(external-media): implement review suggestions
3 years ago
Shadowghost
719b707281
feat(external-media): refactor to generic provider, extend tests and file recognition, consolidate and extend NamingOptions
3 years ago
Joe Rogers
f1878c43a4
feat(external-media): add tests for external audio and subtitle provider
3 years ago
Shadowghost
ca5112f45a
feat(external-media): refactor external subtitle and audio provider
3 years ago
Cody Robibero
4ef0099598
Merge pull request #7233 from Bond-009/warn60
3 years ago
Cody Robibero
4acab00963
Merge pull request #7038 from Bond-009/serverdiscovery
3 years ago
Joshua M. Boniface
94b5334da5
Merge pull request #7290 from crobibero/dotnet-6.0.2
3 years ago
Bond_009
dbd7be091d
Fix MediaStreamSelector
3 years ago
Bond_009
3cb49d6df0
Fix option to disable server discovery
3 years ago
Bond-009
bb7916767c
Merge pull request #7286 from daullmer/sonarr-thumb
3 years ago
David Ullmer
a00e6ff426
Update tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Cody Robibero
b98cc71c3b
Update to dotnet 6.0.2
...
Signed-off-by: Cody Robibero <cody@robibe.ro>
3 years ago
David Ullmer
fdfcb45c2a
Add regression test for #7285
3 years ago
dependabot[bot]
7649391b9d
Bump coverlet.collector from 3.1.1 to 3.1.2
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/commits )
---
updated-dependencies:
- dependency-name: coverlet.collector
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
6af7d5445f
Bump coverlet.collector from 3.1.0 to 3.1.1 ( #7266 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
Cody Robibero
34ee6d82fb
Merge pull request #6600 from cvium/keyframe_extraction_v1
3 years ago
Claus Vium
8b36bc0ade
Merge pull request #7203 from 1337joe/fix-resolving-local-alternates
...
Fix resolving local alternates
3 years ago
Bond-009
ef0708d876
Merge pull request #7078 from 1337joe/metadata-merge-data
3 years ago
Joe Rogers
8b706cebef
Add alternate resolver test, generate extra folder names
3 years ago
Joe Rogers
f87e780fb5
Address review comments
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Joe Rogers
19b9646d72
Add -extra suffix for consistency
3 years ago
Joe Rogers
f11fa59b15
Order rules so directory takes precedence over naming
3 years ago
Claus Vium
70751722d2
Apply suggestions from code review
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
Claus Vium
768b76b999
Apply suggestions from code review
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
cvium
6ffa9539bb
Refactor and add scheduled task
3 years ago
dependabot[bot]
88e02c5290
Bump FsCheck.Xunit from 2.16.3 to 2.16.4
...
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck ) from 2.16.3 to 2.16.4.
- [Release notes](https://github.com/fsharp/FsCheck/releases )
- [Changelog](https://github.com/fscheck/FsCheck/blob/master/FsCheck%20Release%20Notes.md )
- [Commits](https://github.com/fsharp/FsCheck/compare/2.16.3...2.16.4 )
---
updated-dependencies:
- dependency-name: FsCheck.Xunit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Cody Robibero
9b1965b48a
Merge pull request #7101 from Bond-009/imagejpg
...
Remove incorrect mime type image/jpg
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
71ebe220f0
Speed up Jellyfin.Naming.Tests
...
In my limited testing this saves ~4 seconds, from 19 to 15 seconds (in
Xunit itself)
3 years ago
Bond_009
dc222b75c5
Remove incorrect mime type image/jpg
3 years ago
Cody Robibero
c6a1dcf420
Merge pull request #7080 from crobibero/ws-token
3 years ago
Cody Robibero
fcb8ff7c0f
Merge pull request #7052 from crobibero/image.jpeg
3 years ago
Joe Rogers
1dfbeae045
Embed ProviderUtils into MetadataService
3 years ago
Joe Rogers
c81d2e9dec
Remove existing images when applying identify
3 years ago
Joe Rogers
29755c9384
Merge a couple tests, extract duplicate code
3 years ago
Joe Rogers
608a91162a
Add test for #6830
3 years ago
Bond-009
11d0c6827f
Merge pull request #7058 from cvium/the_most_important_feature
3 years ago
Cody Robibero
0765fd568f
Use IAuthorizationContext for websocket
3 years ago
cvium
28c2ac9cc0
Remove file extension filter and fix build
3 years ago
Cody Robibero
25abe479eb
Add ability to search by -
3 years ago
Joe Rogers
76e640b0b9
Add tests and documentation for ProviderUtils
3 years ago
cvium
2749509f00
Use dedicated resolvers for extras
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Cody Robibero
a615f87680
Merge pull request #7044 from 1337joe/fix-trailers-v2
...
Fix trailers v2
3 years ago
Cody Robibero
6804624c15
Add image/jpg to extension lookup
3 years ago
Joe Rogers
cf29aae690
Add rule to pick up theme videos
3 years ago
Joe Rogers
c0ab54f0bd
Fix resolved type for Trailers
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
Cody Robibero
076a13abeb
Merge pull request #7029 from cvium/allocations_maybe
3 years ago
Cody Robibero
00211ca056
Merge pull request #7028 from cvium/everything_went_wrong
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
cvium
83a94aa612
Fix extras folders
3 years ago
Cody Robibero
cb41dda5b3
Merge pull request #7015 from Bond-009/zip
3 years ago
Bond_009
a4565da4a9
Use System.IO.Compression instead of SharpCompress for zips
...
Also removes unused methods from ZipClient
3 years ago
Bond_009
968c534864
Return null on division by zero
3 years ago
Bond_009
f8fcbc88fc
Add tests for ProbeResultNormalizer.GetFrameRate
3 years ago
Cody Robibero
923720c988
Merge pull request #6956 from cvium/what_could_go_wrong
3 years ago
Joshua M. Boniface
7405450da2
Merge pull request #7002 from crobibero/dotnet-6.0.1
3 years ago
Claus Vium
9a0618552b
Merge branch 'master' into what_could_go_wrong
3 years ago
Claus Vium
4a58582ad5
Merge pull request #6912 from crobibero/filename-tvmaze
...
Add additional provider id parsing to file name
3 years ago
Claus Vium
4c9bd905c6
Merge pull request #6979 from crobibero/baseitemkind
...
Use BaseItemKind where possible
3 years ago
Cody Robibero
5e8aaa68cf
Update to dotnet 6.0.1
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
Cody Robibero
58f788e8ab
Update tests/Jellyfin.Server.Implementations.Tests/Library/PathExtensionsTests.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Bond_009
7ee96a59d3
Use correct jpeg MIME type
...
image/jpg isn't a valid MIME type
3 years ago
cvium
220443eca1
Simplify StackResolver
3 years ago
Cody Robibero
d707a201c9
update tests
3 years ago
Cody Robibero
593b2fd359
Add more speed and more tests
3 years ago
cvium
6030946d78
Fixes
3 years ago
cvium
fde84a1e00
Refactor extras parsing
3 years ago
Ahmed Rafiq
cf75f99f0e
Update unit test name
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Ahmed Rafiq
fa6f6515a6
Update unit test name
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Ahmed Rafiq
6193fdea69
Use MimeTypes package to determine MIME type
...
This simplifies the code since we don't have to keep large mappings of extensions and MIME types.
We still keep the ability to override the mappings for:
- filling in entries not present in the package, for e.g. ".azw3"
- picking preferred extensions, for e.g. MimeTypes provides ".conf" as a possible extionsion for "text/plain", and while that is correct, ".txt" would be preferrable
- compatibility reasons
3 years ago
Bond_009
40be86eec0
Use PostAsJsonAsync where possible
3 years ago
Bond_009
beafd6eaab
Use JsonContent where possible
...
Should reduce the # of allocated bytes
3 years ago
Cody Robibero
1df56335ee
Add more tests
3 years ago
Joe Rogers
4a20ae6cb4
Allow default/forced tag without setting language
3 years ago
ianjazz246
95183c365a
Use local time for RecordingHelperTests
3 years ago
Joe Rogers
9ba7bf96ef
Query MediaSourceManager directly in image providers
...
Add doc comments/minor tweaks to AudioImageProvider
3 years ago
Joe Rogers
bff5ff0cb8
Merge similar tests with Theories
3 years ago
Joe Rogers
7cf5767949
Query media streams by type instead of filtering
3 years ago
Cody Robibero
c32a421ea7
Merge pull request #6851 from cvium/remove_references_to_ilibrarymanager
3 years ago
Cody Robibero
4cfe8fe588
Merge pull request #6831 from 1337joe/image-provider-cleanup
3 years ago
cvium
4f45c52674
Remove ILibraryManager as a dependency in resolvers etc.
3 years ago
Joe Rogers
f059be8e4d
Add logging and fast return
3 years ago
Joe Rogers
58be1d7759
Actually check server disabled metadata providers
3 years ago
Joe Rogers
370b7f8e12
Handle unexpected case more gracefully
3 years ago
Cody Robibero
34df1a030b
Merge pull request #6818 from Bond-009/password
3 years ago
Cody Robibero
4a28f46cac
Don't throw exception on unauthenticated requests
3 years ago
Joe Rogers
1d729b2b0f
Use codec to determine image format
3 years ago
Joe Rogers
f73a7a6ed8
Use ImageFormat instead of string for extension
3 years ago
Joe Rogers
de9bf327c6
Merge similar tests with Theories
3 years ago
Bond_009
5265b3eee7
Replace PBKDF2-SHA1 with PBKDF2-SHA512
...
This also migrates already created passwords on login
Source for the number of iterations:
https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2
3 years ago