Cody Robibero
6004060b4e
Fix build errors from new warnings
2 years ago
Bond-009
d771205544
Merge pull request #7988 from jellyfin/external-streams-exceptions
...
(cherry picked from commit a71b190142
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
3 years ago
Cody Robibero
3a95d4b04e
Merge pull request #7802 from jellyfin/external
...
(cherry picked from commit 9954cbd550
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
Claus Vium
53209830e7
Merge pull request #7346 from Bond-009/guid
...
Optimize Guid comparisons
3 years ago
Joe Rogers
f7118bebfd
Fix external file check for shorter names
3 years ago
Joe Rogers
3205e97e1e
Strip out external file fuzzy matching
...
Convert MediaFlagDelimiter back to char
3 years ago
Cody Robibero
1b3e56bae3
Split DirectoryExists and FileExists
3 years ago
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
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
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
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
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
ianjazz246
19b8bcaec4
Use TheoryData instead of MemberData and ClassData
3 years ago
cvium
1027792b16
Review changes
4 years ago
cvium
1b49435a0e
Reduce some allocations
4 years ago