Joe Rogers
ac675318f8
Simplify RefreshSingleItem
3 years ago
Joe Rogers
bdce435b09
Reorder and flatten provider filtering
3 years ago
Joe Rogers
a7c009e2eb
Pass TypeOptions instead of full LibraryOptions
3 years ago
Joe Rogers
e7df72de49
Improve metadata provider sorting
...
Extract configured order up front instead of for each provider
Non-IHasOrder providers default to middle, not beginning
Merge image and metadata sort helper methods
3 years ago
Joe Rogers
11c7c24f0e
Clarify naming, minor method ordering improvement
3 years ago
Joe Rogers
6221991c63
Add nullable annotations
3 years ago
Joe Rogers
8515e8fbd1
Improve image provider sorting
...
Remove irrelevant check for ILocalImageProvider
Providers that are not IHasOrder default to middle, not beginning
3 years ago
Joe Rogers
4ace7f5c53
Fix unused var, log typo
3 years ago
Joe Rogers
2e2a594e19
Move Get*Providers definitions to interface
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
Cody Robibero
b6489e73ab
Merge pull request #7241 from Bond-009/async5
3 years ago
Claus Vium
488ce51032
Remove some allocations ( #7246 )
3 years ago
Bond_009
e7be01d7a5
Flush to disk async where possible
3 years ago
Bond-009
ef0708d876
Merge pull request #7078 from 1337joe/metadata-merge-data
3 years ago
Joe Rogers
f87e780fb5
Address review comments
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Joe Rogers
b43f46d5c9
Make identify flag describe purpose, not source
3 years ago
Joe Rogers
b17fe35e2e
Clean up list handling
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
Bond_009
dc222b75c5
Remove incorrect mime type image/jpg
3 years ago
Joe Rogers
1dfbeae045
Embed ProviderUtils into MetadataService
3 years ago
Joe Rogers
19164378f2
Clean up warnings
3 years ago
Joe Rogers
c81d2e9dec
Remove existing images when applying identify
3 years ago
Joe Rogers
ce66df2c92
Clean up warnings, simplify
3 years ago
Joe Rogers
853ef727da
Add refresh flag to remove existing data/images
...
Fixes #7040
3 years ago
Joe Rogers
76e640b0b9
Add tests and documentation for ProviderUtils
3 years ago
Joe Rogers
e3a7c9238d
Pull default MergeData implementation to parent
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Cody Robibero
076a13abeb
Merge pull request #7029 from cvium/allocations_maybe
3 years ago
cvium
c86b064f80
Catch HttpRequestException when saving images from local provider
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
Cody Robibero
14c072dd32
Fix filtering images without dimensions
3 years ago
Bond_009
5726535a26
Fix some warnings
...
609 left
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
Joe Rogers
7fcf01235c
Change RemoveImages to array, improve download test
3 years ago
Joe Rogers
7da6bd905a
Fix edge case in multi-image replacing
3 years ago
Joe Rogers
b478b115e3
Refactor to validate all images up front
3 years ago
Joe Rogers
0fbd8d85c8
Validate multi-images, lazy-delete bg on refresh
...
Fix failing test: Invalid background images not purged by validate
Fixes #6310 : Background images only delete when using "Replace existing images" when new image(s) is found to replace them
3 years ago
Joe Rogers
080b02cc4c
Add comments, minor cleanup, add tests
3 years ago
Bond_009
f5ca9cbc3b
Enable nullable for MediaBrowser.Providers
3 years ago
Bond_009
9af16fcb6c
Remove workaround for dotnet/runtime#42790
3 years ago
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
3 years ago
Bond_009
f31224fa8f
Remove sync FileStream hack
3 years ago
Bond-009
12a54c070e
Apply suggestions from code review
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
Bond_009
8fec510971
ItemImageProvider: improve HTTP error handling
3 years ago
Chris Tam
b0cd1f5e39
Fix images "not loading" after manual identification
3 years ago
Fernando Fernández
3d0b1ccae6
Remove all unused usings
3 years ago
Claus Vium
74fef6c05b
Merge pull request #6177 from Bond-009/async
...
Use async FileStreams where it makes sense
3 years ago
Bond_009
e3dac4fda2
Use async FileStreams where it makes sense
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago