Joe Rogers
f7118bebfd
Fix external file check for shorter names
3 years ago
Joe Rogers
dad7a6fdf6
Switch to using spans for string comparison
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
Cody Robibero
c9d5cfff1d
Update MediaBrowser.Providers/MediaInfo/MediaInfoResolver.cs
...
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
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
Shadowghost
bbb3117f83
Update MediaBrowser.Providers/MediaInfo/MediaInfoResolver.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.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
Shadowghost
ca5112f45a
feat(external-media): refactor external subtitle and audio provider
3 years ago
Bond_009
5732e6188c
Fix some warnings
3 years ago
Bond_009
1c14c86b20
Fix some warnings
3 years ago
Cody Robibero
603b6fe173
Merge pull request #7054 from matthew-jones-uk/disable-embedded-subs
3 years ago
Matthew Jones
91d143d6ee
Changed boolean options to enums
3 years ago
Joe Rogers
fbd243e315
Make ffprobe consistent with MetadataService.MergeData
3 years ago
Matthew Jones
61d8d40a4a
Added type options to disable embedded subs
3 years ago
Matt
126274c4ea
Add video path to DisableEmbeddedSubtitles log
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
Matthew Jones
3f7bd7b63e
Changed DisableEmbeddedSubtitles logging to debug
3 years ago
Matthew Jones
4df7590e52
Add DisableEmbeddedSubtitles setting
...
Disables embedded subs being added to metadata
3 years ago
Cody Robibero
634ce40c2f
Merge branch 'master' into comparisons
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
Jonas Resch
03b3f08354
Format code in MediaBrowser.Providers/MediaInfo/AudioResolver.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
65833076db
Add "Async" suffix to AddExternalAudio method
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
e18d966874
Add "Async" suffix to AddExternalAudio method
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
4cdb590291
Exclude .strm files when searching for external audio files
3 years ago
Jonas Resch
01a0a4a87c
Add audioResolver argument to FFProbeVideoInfo initialization
3 years ago
Jonas Resch
87a6fdf847
Merge branch 'support-external-audio-files' of github.com:jonas-resch/jellyfin into support-external-audio-files
3 years ago
Claus Vium
a327b43ab7
Update MediaBrowser.Providers/MediaInfo/FFProbeProvider.cs
3 years ago
Claus Vium
3f69eeab27
Merge branch 'master' into support-external-audio-files
3 years ago
cvium
5535b9c01f
Reduce allocations
3 years ago
Jonas Resch
180e2dc329
Prevent crashes in specific scenarios
3 years ago
Jonas Resch
6bbfcf1906
Add documentation to AudioResolver class
3 years ago
Jonas Resch
7b50048020
Add ConfigureAwait true in MediaBrowser.Providers/MediaInfo/AudioResolver.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
a9a53dc657
Add ConfigureAwait true in MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
0d8170cedb
Move variable in MediaBrowser.Providers/MediaInfo/AudioResolver.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
1a35690834
Don't disable warnings in MediaBrowser.Providers/MediaInfo/AudioResolver.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
c61b9ef05a
Fix warning due to new line after opening bracket
3 years ago
Jonas Resch
b5b994b22f
Fix compiler warning due to missing EnumeratorCancellation attribute
3 years ago
Jonas Resch
0894a6193f
Implement coding standards from 2nd code feedback
3 years ago
Jonas Resch
9d34d6339a
Change return type from List<string> to IEnumerable<string> in MediaBrowser.Providers/MediaInfo/AudioResolver.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
bbf1399826
Check language for null or empty instead of only null in MediaBrowser.Providers/MediaInfo/AudioResolver.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
d016d483ae
Change return type from Task<List<MediaStream>> to Task<IAsyncEnumerable<MediaStream>> in MediaBrowser.Providers/MediaInfo/AudioResolver.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
61b191d345
Fix indentation in MediaBrowser.Providers/MediaInfo/AudioResolver.cs
...
If statement which checks if filename of audio and video file match or if audio file starts with video filename
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
9433072f90
Only search in video folder for external audio files
...
Don't search in video metadata folder since audio files won't be stored there
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Jonas Resch
a3c5afa443
Add ConfigureAwait false MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
Jonas Resch
f1862f9b1a
Add ConfigureAwait false to MediaBrowser.Providers/MediaInfo/AudioResolver.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
Jonas Resch
a68e58556c
Implement code feedback
...
- Rewrite AudioResolver
- Use async & await instead of .Result
- Add support for audio containers with multiple audio streams (e.g.
mka)
- Fix bug when using external subtitle and external audio streams at the
same time
3 years ago