cvium
2749509f00
Use dedicated resolvers for extras
2021-12-28 00:37:40 +01:00
Cody Robibero
7bfc6b5679
Remove more warnings
2021-12-27 07:38:06 -07:00
Cody Robibero
a615f87680
Merge pull request #7044 from 1337joe/fix-trailers-v2
...
Fix trailers v2
2021-12-25 23:31:46 +00:00
Cody Robibero
6804624c15
Add image/jpg to extension lookup
2021-12-25 11:41:39 -07:00
Joe Rogers
cf29aae690
Add rule to pick up theme videos
2021-12-24 21:21:19 +00:00
Joe Rogers
c0ab54f0bd
Fix resolved type for Trailers
2021-12-24 21:21:19 +00:00
Bond_009
cbfa355e31
Update StyleCop
2021-12-24 18:28:27 +01:00
Cody Robibero
076a13abeb
Merge pull request #7029 from cvium/allocations_maybe
2021-12-24 01:59:25 +00:00
Cody Robibero
00211ca056
Merge pull request #7028 from cvium/everything_went_wrong
2021-12-22 17:57:00 +00:00
cvium
b880dc8a4a
Use our own Contains extension
2021-12-20 13:31:07 +01:00
cvium
83a94aa612
Fix extras folders
2021-12-20 12:15:20 +01:00
Cody Robibero
cb41dda5b3
Merge pull request #7015 from Bond-009/zip
2021-12-19 11:32:12 -07:00
Bond_009
a4565da4a9
Use System.IO.Compression instead of SharpCompress for zips
...
Also removes unused methods from ZipClient
2021-12-18 17:52:38 +01:00
Bond_009
968c534864
Return null on division by zero
2021-12-18 14:56:10 +01:00
Bond_009
f8fcbc88fc
Add tests for ProbeResultNormalizer.GetFrameRate
2021-12-18 14:56:10 +01:00
Cody Robibero
923720c988
Merge pull request #6956 from cvium/what_could_go_wrong
2021-12-17 07:51:32 -07:00
Joshua M. Boniface
7405450da2
Merge pull request #7002 from crobibero/dotnet-6.0.1
2021-12-15 10:36:18 -05:00
Claus Vium
9a0618552b
Merge branch 'master' into what_could_go_wrong
2021-12-15 08:38:39 +01:00
Claus Vium
4a58582ad5
Merge pull request #6912 from crobibero/filename-tvmaze
...
Add additional provider id parsing to file name
2021-12-15 08:37:34 +01:00
Claus Vium
4c9bd905c6
Merge pull request #6979 from crobibero/baseitemkind
...
Use BaseItemKind where possible
2021-12-15 08:28:44 +01:00
Cody Robibero
5e8aaa68cf
Update to dotnet 6.0.1
2021-12-14 23:47:07 -07:00
Cody Robibero
32629cd7da
Use BaseItemKind where possible
2021-12-12 06:11:27 -07:00
Cody Robibero
58f788e8ab
Update tests/Jellyfin.Server.Implementations.Tests/Library/PathExtensionsTests.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-12-11 19:43:01 -07:00
Bond_009
7ee96a59d3
Use correct jpeg MIME type
...
image/jpg isn't a valid MIME type
2021-12-12 02:07:35 +01:00
cvium
220443eca1
Simplify StackResolver
2021-12-10 14:23:31 +01:00
Cody Robibero
d707a201c9
update tests
2021-12-09 12:31:32 -07:00
Cody Robibero
593b2fd359
Add more speed and more tests
2021-12-09 08:06:06 -07:00
cvium
6030946d78
Fixes
2021-12-07 19:23:30 +01:00
cvium
fde84a1e00
Refactor extras parsing
2021-12-07 15:24:57 +01:00
Ahmed Rafiq
cf75f99f0e
Update unit test name
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-12-04 21:14:52 +06:00
Ahmed Rafiq
fa6f6515a6
Update unit test name
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-12-04 21:14:16 +06:00
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
2021-12-04 20:08:16 +06:00
Bond_009
40be86eec0
Use PostAsJsonAsync where possible
2021-12-01 15:58:23 +01:00
Bond_009
beafd6eaab
Use JsonContent where possible
...
Should reduce the # of allocated bytes
2021-12-01 15:40:06 +01:00
Cody Robibero
1df56335ee
Add more tests
2021-11-27 16:25:21 -07:00
Joe Rogers
4a20ae6cb4
Allow default/forced tag without setting language
2021-11-27 20:13:21 +01:00
ianjazz246
95183c365a
Use local time for RecordingHelperTests
2021-11-23 12:57:05 -08:00
Joe Rogers
9ba7bf96ef
Query MediaSourceManager directly in image providers
...
Add doc comments/minor tweaks to AudioImageProvider
2021-11-18 15:11:50 +01:00
Joe Rogers
bff5ff0cb8
Merge similar tests with Theories
2021-11-18 14:29:22 +01:00
Joe Rogers
7cf5767949
Query media streams by type instead of filtering
2021-11-17 22:34:04 +01:00
Cody Robibero
c32a421ea7
Merge pull request #6851 from cvium/remove_references_to_ilibrarymanager
2021-11-15 15:45:49 -07:00
Cody Robibero
4cfe8fe588
Merge pull request #6831 from 1337joe/image-provider-cleanup
2021-11-15 15:45:33 -07:00
cvium
4f45c52674
Remove ILibraryManager as a dependency in resolvers etc.
2021-11-15 15:56:02 +01:00
Joe Rogers
f059be8e4d
Add logging and fast return
2021-11-15 15:30:43 +01:00
Joe Rogers
58be1d7759
Actually check server disabled metadata providers
2021-11-15 14:47:06 +01:00
Joe Rogers
370b7f8e12
Handle unexpected case more gracefully
2021-11-14 23:13:45 +01:00
Cody Robibero
34df1a030b
Merge pull request #6818 from Bond-009/password
2021-11-13 16:56:25 -07:00
Cody Robibero
4a28f46cac
Don't throw exception on unauthenticated requests
2021-11-13 07:27:28 -07:00
Joe Rogers
1d729b2b0f
Use codec to determine image format
2021-11-12 16:30:30 +01:00
Joe Rogers
f73a7a6ed8
Use ImageFormat instead of string for extension
2021-11-12 16:22:11 +01:00
Joe Rogers
de9bf327c6
Merge similar tests with Theories
2021-11-12 13:44:48 +01:00
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
2021-11-10 22:34:54 +01:00
Claus Vium
c3523e7cf7
Merge pull request #5905 from BaronGreenback/TVFix
...
Fix for Livetv and DLNA when bind interfaces specified.
2021-11-09 19:53:21 +01:00
Claus Vium
c50c9c3dbf
Merge pull request #6794 from Bond-009/dead
...
Remove some dead code
2021-11-09 19:47:34 +01:00
Bond_009
994101fcf4
Remove some dead code
2021-11-09 16:28:39 +01:00
Bond_009
5726535a26
Fix some warnings
...
609 left
2021-11-09 13:14:31 +01:00
Cody Robibero
40045d2147
Update to full dotnet 6
2021-11-08 09:40:12 -07:00
cvium
f03e77a4d5
Merge branch 'master' into TVFix
2021-11-08 10:38:08 +01:00
Bond_009
4dfb7b18ae
Add some docs and tests
2021-11-07 22:32:08 +01:00
Joe Rogers
b4bf5af7c8
Remove ImageType.Screenshot and ItemFields.Screenshot
2021-11-06 20:43:20 +01:00
Bond_009
924c6682b9
Remove unused IHasScreenshots interface
2021-11-04 01:06:21 +01:00
Claus Vium
5c5d49ee60
Merge pull request #6763 from 1337joe/tmdb-image-provider-dedup
2021-11-04 00:22:08 +01:00
Bond_009
416894008e
Minor improvements
...
* Removed some allocations
* Removed some useless abstractions
2021-11-03 14:02:57 +01:00
Claus Vium
6822693bd6
Merge pull request #6748 from ptalmeida/master
2021-11-03 13:01:53 +01:00
Claus Vium
0187500373
Merge pull request #6761 from Bond-009/startup2
2021-11-03 13:01:37 +01:00
Claus Vium
869d537aaa
Merge pull request #6752 from 1337joe/fix-metadata-refresh-deletes-backgrounds
2021-11-03 13:01:23 +01:00
Joe Rogers
149c77d9b1
Remove commented theory data, merge tests
2021-11-02 22:46:53 +01:00
Joe Rogers
2b283d249f
Switch to method per image conversion
2021-11-02 21:12:13 +01:00
Claus Vium
2c42d75288
Merge pull request #6027 from fredriklindberg/improve-series-matching
2021-11-02 20:17:49 +01:00
Claus Vium
a9c38870f9
Merge pull request #6379 from dearjoey/master
2021-11-02 20:12:42 +01:00
Joe Rogers
7fcf01235c
Change RemoveImages to array, improve download test
2021-11-02 16:16:06 +01:00
Bond_009
104e36f2f9
Streamline startup code
2021-11-02 16:02:52 +01:00
Joe Rogers
4a5e8b99a0
Extract duplicate code, add test
2021-11-01 23:17:00 +01:00
Joe Rogers
6881cf6874
Merge remote-tracking branch 'origin/master' into fix-metadata-refresh-deletes-backgrounds
2021-11-01 16:41:05 +01:00
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>
2021-11-01 12:00:53 +00:00
Joe Rogers
b478b115e3
Refactor to validate all images up front
2021-11-01 11:53:31 +01:00
Joe Rogers
080b02cc4c
Add comments, minor cleanup, add tests
2021-10-31 23:56:50 +01:00
Cody Robibero
7b89e0e3a5
Fix tests
2021-10-31 11:06:47 -06:00
Claus Vium
39d5bdac96
Change ReadOnlySpan to string following PR 6383 ( #6734 )
2021-10-26 14:47:34 +02:00
Claus Vium
dc72d90703
Merge pull request #6383 from sushilicious/master
...
Made default parser a tiny bit mroe robust
2021-10-26 12:10:57 +02:00
Claus Vium
8b2309df82
Merge pull request #6535 from Bond-009/dlnacontrollertests
2021-10-25 23:47:37 +02:00
Claus Vium
768ec60e11
Merge pull request #6689 from 1337joe/expand-image-extraction
2021-10-21 23:05:32 +02:00
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>
2021-10-20 14:10:16 +02:00
Cody Robibero
2b10251b32
Update to dotnet6.rc2
2021-10-12 18:31:58 -06:00
Joe Rogers
e3eee10d05
Add image provider tests and clean up
2021-10-11 14:09:02 +02:00
Claus Vium
8fc4a48070
Merge pull request #6501 from crobibero/schedules-direct
2021-10-09 23:21:09 +02:00
Claus Vium
e775286de5
Merge pull request #6646 from 1337joe/test-mp4-metadata
2021-10-09 12:48:30 +02:00
Claus Vium
b16e6621b3
Merge pull request #6663 from crobibero/dotnet-6-rc1
...
Reference dotnet6-rc1 packages
2021-10-08 16:06:15 +02:00
Claus Vium
eea2ba9b68
Merge pull request #6678 from Bond-009/random
...
Use new Random.Shared instead of creating new instances
2021-10-08 16:04:23 +02:00
Claus Vium
851a5f3b55
Merge pull request #6665 from Bond-009/tests6
...
Improve test coverage for QuickConnectManager
2021-10-08 15:53:13 +02:00
Cody Robibero
3bbd98cc3f
Merge remote-tracking branch 'upstream/master' into schedules-direct
2021-10-08 07:49:40 -06:00
Bond_009
d05062fec0
Use new Random.Shared instead of creating new instances
2021-10-08 15:40:13 +02:00
Bond_009
67147400bf
Fix issue #6123
2021-10-05 21:47:59 +02:00
Bond_009
74d75fad46
Improve test coverage for QuickConnectManager
2021-10-05 16:59:11 +02:00
Cody Robibero
017380f1dd
Reference dotnet6-rc1 packages
2021-10-04 07:43:40 -06:00
KonH
6cbfdea4c0
Fix warning: Type cast is redundant ( #2149 )
2021-10-03 11:05:18 +07:00
KonH
b6bf43af45
Fix warning: Using directive is not required by the code and can be safely removed ( #2149 )
2021-10-03 10:49:41 +07:00
Joe Rogers
4c2adc39c7
Add test data and unit test for mp4 metadata probe
2021-10-01 22:03:12 +02:00
Bond_009
055e04338e
Add regression test for #6560
2021-09-28 12:03:32 +02:00
cvium
2899b77cd5
Implement FfProbeKeyframeExtractor and add tests for it
2021-09-26 21:07:30 +02:00