Cody Robibero
fc5c6c0404
Use IFileSystem
3 years ago
Joe Rogers
1d367712bb
Improve tests
3 years ago
Cody Robibero
40e413d575
Only add internal files if the internal metadata path exists
...
Signed-off-by: Cody Robibero <cody@robibe.ro>
3 years ago
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
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
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
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
Joe Rogers
f87e780fb5
Address review comments
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
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
Joe Rogers
76e640b0b9
Add tests and documentation for ProviderUtils
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
Joe Rogers
4a20ae6cb4
Allow default/forced tag without setting language
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
Joe Rogers
f059be8e4d
Add logging and fast return
3 years ago
Joe Rogers
370b7f8e12
Handle unexpected case more gracefully
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
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
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
Joe Rogers
149c77d9b1
Remove commented theory data, merge tests
3 years ago
Joe Rogers
2b283d249f
Switch to method per image conversion
3 years ago
Joe Rogers
7fcf01235c
Change RemoveImages to array, improve download test
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
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
Joe Rogers
e3eee10d05
Add image provider tests and clean up
3 years ago
Bond-009
8858d8e597
Merge branch 'master' into theorydata
3 years ago
Bond_009
4d1d9f23d5
Use new Enum.TryParse(ReadOnlySpan<char>) overload
3 years ago
ianjazz246
19b8bcaec4
Use TheoryData instead of MemberData and ClassData
3 years ago
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>
3 years ago