Commit Graph

852 Commits

Author SHA1 Message Date
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
Bond-009
8858d8e597
Merge branch 'master' into theorydata 2021-09-25 22:24:57 +02:00
Bond_009
4643fd5dcb Address comments 2021-09-25 18:15:46 +02:00
Bond_009
4d1d9f23d5 Use new Enum.TryParse(ReadOnlySpan<char>) overload 2021-09-24 20:15:46 +02:00
Bond_009
13fbfe6091 Target net6.0 2021-09-24 20:15:46 +02:00
Bond_009
dc1b726ef8 Add regression test for #5323 2021-09-22 02:00:17 +02:00
Claus Vium
b598f0e9fb
Merge pull request #6584 from Bond-009/datetime
Specify DateTimeStyles when possible
2021-09-21 08:17:55 +02:00
Joshua M. Boniface
18506f7c21
Merge pull request #6569 from crobibero/dotnet-5.0.10
Update to dotnet 5.0.10
2021-09-21 02:11:27 -04:00
Claus Vium
c38d19682c
Merge pull request #6553 from ankenyr/master 2021-09-21 08:09:41 +02:00
Bond_009
653df7d8e5 Specify DateTimeStyles when possible 2021-09-21 01:21:45 +02:00
Cody Robibero
e7d6c45509 Upgrade to dotnet 5.0.10 2021-09-19 15:06:27 -06:00
Bond_009
9148820d89 Add more tests 2021-09-19 21:26:00 +02:00
Bond_009
a6d1e542e6 Reduce allocations 2021-09-19 20:53:31 +02:00
Bond_009
b0194bce6c Add regression test for issue #5168 2021-09-18 15:31:45 +02:00
Bond_009
34b38454e0 Fix SubtitleEncoder and add regression tests 2021-09-18 15:23:55 +02:00
Bond_009
69cf8c1947 Add tests for DlnaController 2021-09-17 20:53:52 +02:00
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.
2021-09-13 17:59:33 +02:00
ankenyr
2b5f3f294e Fixing #6269 by comparing PremiereDate when episode comparison would otherwise be equal. 2021-09-12 15:05:37 -07:00
Cody Robibero
7a7fe3e681 Fix types and property names 2021-09-12 13:56:26 -06:00
ianjazz246
19b8bcaec4 Use TheoryData instead of MemberData and ClassData 2021-09-11 13:31:24 -07:00
ianjazz246
3313efce19 Revert "Use TheoryData in UrlDecodeQueryFeatureTest"
This reverts commit c5393b2579.
2021-09-11 13:29:58 -07:00
ianjazz246
c5393b2579 Use TheoryData in UrlDecodeQueryFeatureTest 2021-09-10 20:11:16 -07:00
cvium
be9663ae89 Use GetSmartApiUrl instead (hopefully it works) 2021-09-07 10:27:55 +02:00
Fernando Fernández
3d0b1ccae6
Remove all unused usings 2021-09-06 21:15:30 +02:00
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>
2021-09-06 12:01:04 +00:00
Claus Vium
74fef6c05b
Merge pull request #6177 from Bond-009/async
Use async FileStreams where it makes sense
2021-09-06 13:55:34 +02:00
cvium
ffe5ae8056 Merge branch 'master' into TVFix 2021-09-05 10:11:17 +02:00
cvium
907d9fa195 remove some newlines 2021-09-03 23:58:07 +02:00
cvium
1172ece856 remove leading and trailing whitespace from the key 2021-09-03 23:56:19 +02:00
Cody Robibero
04973a489f use JsonOptions 2021-09-03 13:56:51 -06:00
cvium
60185f99c4 fix the build 2021-09-03 21:43:06 +02:00
Cody Robibero
0587b539ec Suggestions from review 2021-09-03 13:36:07 -06:00
cvium
6b3ecf2533 Merge branch 'master' into bug/authorization-header-issue 2021-09-03 21:33:41 +02:00
cvium
048c478b0d Merge branch 'master' into bug/authorization-header-issue 2021-09-03 21:25:18 +02:00
Cody Robibero
47e24a2cf7 Add SchedulesDirect json tests 2021-09-03 12:35:52 -06:00
Cody Robibero
ff9d14c811 Merge remote-tracking branch 'upstream/master' into authenticationdb-efcore 2021-09-03 11:01:55 -06:00
Bond-009
3ec7ecf399
Merge pull request #6358 from MrTimscampi/audio-people 2021-09-03 17:15:58 +02:00
Bond_009
286dabdc4b Add SqliteItemRepository.ItemImageInfoFromValueString as a fuzzing
target

and add test cases
2021-09-02 21:28:00 +02:00
Bond_009
e3dac4fda2 Use async FileStreams where it makes sense 2021-09-02 14:02:04 +02:00
Mike
cf9c678406
Add subtitle format(codec) to stream display title (#5853)
Co-authored-by: Michał Kurek <michal.kurek@mail.com>
2021-09-01 18:59:59 +02:00
Bond_009
07f64102dd Fix build 2021-09-01 14:06:09 +02:00
Claus Vium
501c7a639f
Merge pull request #6474 from Bond-009/tests11 2021-09-01 09:24:57 +02:00
Claus Vium
ae031fdd28
Merge branch 'master' into tonemap-overlay 2021-08-30 20:02:31 +02:00
Claus Vium
b7e13f3a03
Merge pull request #5697 from Bond-009/ffmpeg2
Simplify the way we choose our ffmpeg
2021-08-30 19:36:51 +02:00
Bond_009
963ab2dab6 Simplify the way we choose our ffmpeg
* no longer search $PATH
* no longer require a full path
* don't fall back
2021-08-30 15:40:52 +02:00
Bond-009
bb685e4920
Merge pull request #6422 from daullmer/nfo-fanart 2021-08-30 15:02:25 +02:00
dependabot[bot]
e40fde04d6
Bump FsCheck.Xunit from 2.16.0 to 2.16.1
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck) from 2.16.0 to 2.16.1.
- [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.0...2.16.1)

---
updated-dependencies:
- dependency-name: FsCheck.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 12:00:52 +00:00
Bond_009
0f7c875076 Fix test 2021-08-28 20:53:34 +02:00
Bond_009
69ba539c70 Add more tests for LibraryStructureController 2021-08-28 20:12:25 +02:00
Bond_009
909573f2f1 Add tests for LibraryStructureController 2021-08-28 19:30:57 +02:00
Cody Robibero
50b3d74c95 Switch to TheoryData and clean up tests 2021-08-21 17:31:06 -06:00
cvium
468283bfb2 Move test to TypedBaseItem folder to avoid conflicts 2021-08-18 20:11:28 +02:00
Claus Vium
663c79cba8
Merge branch 'master' into baseitemkind-fixes 2021-08-18 18:25:48 +02:00
Bond-009
d9f7b84156
Merge pull request #6438 from jellyfin/dependabot/nuget/FsCheck.Xunit-2.16.0
Bump FsCheck.Xunit from 2.15.3 to 2.16.0
2021-08-16 14:53:56 +02:00
dependabot[bot]
ee37784a35
Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.10.0 to 16.11.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.10.0...v16.11.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>
2021-08-16 12:01:04 +00:00
dependabot[bot]
4077cb2648
Bump FsCheck.Xunit from 2.15.3 to 2.16.0
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck) from 2.15.3 to 2.16.0.
- [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.15.3...2.16.0)

---
updated-dependencies:
- dependency-name: FsCheck.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 12:00:55 +00:00
Claus Vium
fb5db696eb
Merge pull request #6403 from ankenyr/master 2021-08-16 09:03:34 +02:00
Claus Vium
fa77902955
Merge pull request #6430 from Bond-009/minor17
Minor improvements
2021-08-16 08:59:43 +02:00
ankenyr
6ba7db3d55 Removing if statement and always testing reverse of x and y. 2021-08-15 15:48:01 -07:00
ankenyr
0f9e95b4c5 Breaking up the test theory so episodes and the results are on their own lines. 2021-08-15 15:31:58 -07:00
Rob
9220682fd1
Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-08-15 15:26:00 -07:00
Rob
10fbb4d48d
Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
Thanks for this suggestion. I will try to keep this in mind going forward with future PRs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-15 15:23:18 -07:00
MrTimscampi
c9b1cd1d8c Add some new music-related person types and parse from ffprobe 2021-08-16 00:22:36 +02:00
MrTimscampi
f35a527608 Add performers to the ffprobe normalization for audio 2021-08-16 00:22:36 +02:00