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
Claus Vium
c3523e7cf7
Merge pull request #5905 from BaronGreenback/TVFix
...
Fix for Livetv and DLNA when bind interfaces specified.
3 years ago
Claus Vium
c50c9c3dbf
Merge pull request #6794 from Bond-009/dead
...
Remove some dead code
3 years ago
Bond_009
994101fcf4
Remove some dead code
3 years ago
Bond_009
5726535a26
Fix some warnings
...
609 left
3 years ago
Cody Robibero
40045d2147
Update to full dotnet 6
3 years ago
cvium
f03e77a4d5
Merge branch 'master' into TVFix
3 years ago
Bond_009
4dfb7b18ae
Add some docs and tests
3 years ago
Joe Rogers
b4bf5af7c8
Remove ImageType.Screenshot and ItemFields.Screenshot
3 years ago
Bond_009
924c6682b9
Remove unused IHasScreenshots interface
3 years ago
Claus Vium
5c5d49ee60
Merge pull request #6763 from 1337joe/tmdb-image-provider-dedup
3 years ago
Bond_009
416894008e
Minor improvements
...
* Removed some allocations
* Removed some useless abstractions
3 years ago
Claus Vium
6822693bd6
Merge pull request #6748 from ptalmeida/master
3 years ago
Claus Vium
0187500373
Merge pull request #6761 from Bond-009/startup2
3 years ago
Claus Vium
869d537aaa
Merge pull request #6752 from 1337joe/fix-metadata-refresh-deletes-backgrounds
3 years ago
Joe Rogers
149c77d9b1
Remove commented theory data, merge tests
3 years ago
Joe Rogers
2b283d249f
Switch to method per image conversion
3 years ago
Claus Vium
2c42d75288
Merge pull request #6027 from fredriklindberg/improve-series-matching
3 years ago
Claus Vium
a9c38870f9
Merge pull request #6379 from dearjoey/master
3 years ago
Joe Rogers
7fcf01235c
Change RemoveImages to array, improve download test
3 years ago
Bond_009
104e36f2f9
Streamline startup code
3 years ago
Joe Rogers
4a5e8b99a0
Extract duplicate code, add test
3 years ago
Joe Rogers
6881cf6874
Merge remote-tracking branch 'origin/master' into fix-metadata-refresh-deletes-backgrounds
3 years ago
dependabot[bot]
baafa10e87
Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.11.0 to 17.0.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.11.0...v17.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Joe Rogers
b478b115e3
Refactor to validate all images up front
3 years ago
Joe Rogers
080b02cc4c
Add comments, minor cleanup, add tests
3 years ago
Cody Robibero
7b89e0e3a5
Fix tests
3 years ago
Claus Vium
39d5bdac96
Change ReadOnlySpan to string following PR 6383 ( #6734 )
3 years ago
Claus Vium
dc72d90703
Merge pull request #6383 from sushilicious/master
...
Made default parser a tiny bit mroe robust
3 years ago
Claus Vium
8b2309df82
Merge pull request #6535 from Bond-009/dlnacontrollertests
3 years ago
Claus Vium
768ec60e11
Merge pull request #6689 from 1337joe/expand-image-extraction
3 years ago
Joe Rogers
31baea072a
Address review comments
...
Clean up style
Fix references in class summaries
Combine Where+FirstOrDefault queries
Break up large method, long lines
Add validation on file extension
Apply test naming conventions
Extract mock of Movie class, comment on why not mocking interface
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Cody Robibero
2b10251b32
Update to dotnet6.rc2
3 years ago
Joe Rogers
e3eee10d05
Add image provider tests and clean up
3 years ago
Claus Vium
8fc4a48070
Merge pull request #6501 from crobibero/schedules-direct
3 years ago
Claus Vium
e775286de5
Merge pull request #6646 from 1337joe/test-mp4-metadata
3 years ago
Claus Vium
b16e6621b3
Merge pull request #6663 from crobibero/dotnet-6-rc1
...
Reference dotnet6-rc1 packages
3 years ago
Claus Vium
eea2ba9b68
Merge pull request #6678 from Bond-009/random
...
Use new Random.Shared instead of creating new instances
3 years ago
Claus Vium
851a5f3b55
Merge pull request #6665 from Bond-009/tests6
...
Improve test coverage for QuickConnectManager
3 years ago
Cody Robibero
3bbd98cc3f
Merge remote-tracking branch 'upstream/master' into schedules-direct
3 years ago
Bond_009
d05062fec0
Use new Random.Shared instead of creating new instances
3 years ago
Bond_009
67147400bf
Fix issue #6123
3 years ago
Bond_009
74d75fad46
Improve test coverage for QuickConnectManager
3 years ago
Cody Robibero
017380f1dd
Reference dotnet6-rc1 packages
3 years ago
KonH
6cbfdea4c0
Fix warning: Type cast is redundant ( #2149 )
3 years ago
KonH
b6bf43af45
Fix warning: Using directive is not required by the code and can be safely removed ( #2149 )
3 years ago
Joe Rogers
4c2adc39c7
Add test data and unit test for mp4 metadata probe
3 years ago
Bond_009
055e04338e
Add regression test for #6560
3 years ago
cvium
2899b77cd5
Implement FfProbeKeyframeExtractor and add tests for it
3 years ago
cvium
64a13a5d42
Add ComputeSegments test
3 years ago
Bond-009
8858d8e597
Merge branch 'master' into theorydata
3 years ago
cvium
43ea4af30f
Update to .net 6
3 years ago
cvium
30f3be1da0
Merge branch 'master' into keyframe_extraction_v1
3 years ago
Bond_009
4643fd5dcb
Address comments
3 years ago
cvium
3e5cb8e04e
Add tests for ComputeEqualLengthSegments and fix bug
3 years ago
cvium
c7b25a9fe4
Add first test
3 years ago
Bond_009
4d1d9f23d5
Use new Enum.TryParse(ReadOnlySpan<char>) overload
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Bond_009
dc1b726ef8
Add regression test for #5323
3 years ago
Claus Vium
b598f0e9fb
Merge pull request #6584 from Bond-009/datetime
...
Specify DateTimeStyles when possible
3 years ago
Joshua M. Boniface
18506f7c21
Merge pull request #6569 from crobibero/dotnet-5.0.10
...
Update to dotnet 5.0.10
3 years ago
Claus Vium
c38d19682c
Merge pull request #6553 from ankenyr/master
3 years ago
Bond_009
653df7d8e5
Specify DateTimeStyles when possible
3 years ago
Cody Robibero
e7d6c45509
Upgrade to dotnet 5.0.10
3 years ago
Bond_009
9148820d89
Add more tests
3 years ago
Bond_009
a6d1e542e6
Reduce allocations
3 years ago
Bond_009
b0194bce6c
Add regression test for issue #5168
3 years ago
Bond_009
34b38454e0
Fix SubtitleEncoder and add regression tests
3 years ago
Bond_009
69cf8c1947
Add tests for DlnaController
3 years ago
Fredrik Lindberg
ea439c5ccf
Improve series name matching
...
Add a series path resolver that attempts to extract only the series
name from a path that contains more information that just the name.
3 years ago
ankenyr
2b5f3f294e
Fixing #6269 by comparing PremiereDate when episode comparison would otherwise be equal.
3 years ago
Cody Robibero
7a7fe3e681
Fix types and property names
3 years ago
ianjazz246
19b8bcaec4
Use TheoryData instead of MemberData and ClassData
3 years ago
ianjazz246
3313efce19
Revert "Use TheoryData in UrlDecodeQueryFeatureTest"
...
This reverts commit c5393b2579
.
3 years ago
ianjazz246
c5393b2579
Use TheoryData in UrlDecodeQueryFeatureTest
3 years ago
cvium
be9663ae89
Use GetSmartApiUrl instead (hopefully it works)
3 years ago
Fernando Fernández
3d0b1ccae6
Remove all unused usings
3 years ago
dependabot[bot]
c52fc714aa
Bump FsCheck.Xunit from 2.16.1 to 2.16.3
...
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck ) from 2.16.1 to 2.16.3.
- [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.1...2.16.3 )
---
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
Claus Vium
74fef6c05b
Merge pull request #6177 from Bond-009/async
...
Use async FileStreams where it makes sense
3 years ago
cvium
ffe5ae8056
Merge branch 'master' into TVFix
3 years ago