Dmitry Lyzo
847518701d
fix: Fix codec conditions
...
`ApplyConditions` is used to determine the applicability of
the current codec (`Conditions`).
`Conditions` is the actual conditions for the stream.
`CodecType.VideoAudio` (not `CodecType.Video`) must be used
for the audio tracks in the video.
2022-04-12 22:56:23 +03:00
Cody Robibero
72aca15191
Merge pull request #7548 from 1337joe/comparer-null-fix
2022-04-04 06:30:24 -06:00
Joe Rogers
0674f84e9e
Add check so nulls will result in valid sort
2022-04-03 22:50:32 +02:00
Cody Robibero
579155a571
Allow media without streams to playback
2022-03-29 20:17:12 -06:00
dependabot[bot]
dde984bd0e
Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406
...
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers ) from 1.2.0-beta.376 to 1.2.0-beta.406.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases )
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.376...1.2.0-beta.406 )
---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 12:22:11 +00:00
Cody Robibero
6a567e8c76
Merge pull request #7474 from nielsvanvelzen/api-secure
2022-03-18 16:52:59 -06:00
Niels van Velzen
8a827ba995
Update tests
2022-03-18 22:21:08 +01:00
Bond-009
bb7068cb63
Move StreamBuilderTests to correct project ( #7461 )
2022-03-18 22:19:02 +01:00
Cody Robibero
e6df698df1
Merge pull request #7325 from eyezak/issue/6450
2022-03-12 09:08:25 -07:00
Cody Robibero
5319f1571f
Merge pull request #7444 from Bond-009/baseurl
2022-03-11 18:42:14 -07:00
Cody Robibero
28223704f3
Merge pull request #7441 from 1337joe/add-external-stream-indicator
...
Add label for external audio/sub tracks
2022-03-11 07:48:23 -07:00
Bond_009
edeb198313
Add tests for BaseUrl normalization
2022-03-11 15:44:16 +01:00
Claus Vium
53209830e7
Merge pull request #7346 from Bond-009/guid
...
Optimize Guid comparisons
2022-03-11 08:15:12 +01:00
Joe Rogers
1a307db7eb
Add label for external audio/sub tracks
2022-03-10 22:20:35 +01:00
Mayur Panchal
96de01ce01
ProbeResultNormalizer: fix framerate compare + tests ( #7167 )
2022-03-10 20:55:30 +01:00
Cody Robibero
965bf7332f
Update to dotnet 6.0.3
2022-03-08 17:16:33 -07:00
dependabot[bot]
4c4f5dfe81
Bump Moq from 4.17.1 to 4.17.2 ( #7416 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 14:23:43 +01:00
Cody Robibero
bbd5d11d3b
Remove TranscodeReason.None, Add JsonFlagEnum tests
2022-03-06 18:13:54 -07:00
Isaac Gordezky
84a3db6f84
Fix transcode video matching and add tests for Transcode and Safari
2022-03-06 18:13:54 -07:00
Isaac Gordezky
5e779f20ee
Series: issue-6450
...
Issue: https://github.com/jellyfin/jellyfin/issues/6450
Enable DirectPlay responses
Rewrite DirectPlay and DirectStream resolution
Prefer copy transcode video codec options
Enhance condition processor
Support DirectStream and Transcode with parity
Rework audio stream selection and add tests for ExternalAudio
Update MediaInfoHelper to only call StreamBuilder once
2022-03-06 18:13:54 -07:00
Isaac Gordezky
d871dded9f
Convert TranscodeReason to Flags
2022-03-06 18:13:54 -07:00
Isaac Gordezky
a3057afde8
StreamBuilder basic tests
2022-03-06 18:13:54 -07:00
Joe Rogers
f7118bebfd
Fix external file check for shorter names
2022-03-05 12:39:03 +01:00
Joe Rogers
3205e97e1e
Strip out external file fuzzy matching
...
Convert MediaFlagDelimiter back to char
2022-03-04 10:52:21 +01:00
Claus Vium
136eab9b1e
Merge pull request #7370 from crobibero/internal-metadata-path
...
Only add internal files if the internal metadata path exists
2022-03-04 08:13:58 +01:00
Cody Robibero
1b3e56bae3
Split DirectoryExists and FileExists
2022-03-02 19:55:44 -07:00
Cody Robibero
fc5c6c0404
Use IFileSystem
2022-02-28 17:14:33 -07:00
Joe Rogers
1d367712bb
Improve tests
2022-02-28 10:00:23 -07:00
Cody Robibero
40e413d575
Only add internal files if the internal metadata path exists
...
Signed-off-by: Cody Robibero <cody@robibe.ro>
2022-02-28 08:22:52 -07:00
dependabot[bot]
ee24b85f49
Bump Moq from 4.16.1 to 4.17.1
...
Bumps [Moq](https://github.com/moq/moq4 ) from 4.16.1 to 4.17.1.
- [Release notes](https://github.com/moq/moq4/releases )
- [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md )
- [Commits](https://github.com/moq/moq4/compare/v4.16.1...v4.17.1 )
---
updated-dependencies:
- dependency-name: Moq
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 12:01:22 +00:00
Joshua M. Boniface
e26446f9c0
Merge pull request #7112 from stanionascu/bdiso-playback
2022-02-26 12:53:34 -05:00
Joe Rogers
a9a3f6bf02
Split match/rejected tests, add wider sampling of extensions
2022-02-22 15:13:44 +01:00
Joe Rogers
cf033b25f8
Require delimiter immediately after filename match
2022-02-21 22:27:28 +01:00
Joe Rogers
15053516f8
Rewrite tests for coverage and less duplication
...
Address minor warnings
Revert making GetInternalMetadataPath mockable
2022-02-21 22:25:58 +01:00
Joshua M. Boniface
59040bfa7d
Merge pull request #7255 from Shadowghost/external-sub-audio
2022-02-21 12:42:49 -05:00
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
2022-02-21 14:15:09 +01:00
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>
2022-02-21 12:01:10 +00:00
Stanislav Ionascu
554d1b2ca8
Fix #7100 by catching the exception on opening invalid UDF images
...
When an invalid UDF image is opened by the UdfReader, it may throw
and exception. This change is to catch and log the exception.
2022-02-20 13:30:55 +00:00
Shadowghost
a36e34fbd2
fix(external-media): implement review suggestions
2022-02-18 22:19:33 +01:00
Shadowghost
719b707281
feat(external-media): refactor to generic provider, extend tests and file recognition, consolidate and extend NamingOptions
2022-02-18 22:19:33 +01:00
Joe Rogers
f1878c43a4
feat(external-media): add tests for external audio and subtitle provider
2022-02-18 22:19:33 +01:00
Shadowghost
ca5112f45a
feat(external-media): refactor external subtitle and audio provider
2022-02-18 22:19:24 +01:00
Cody Robibero
4ef0099598
Merge pull request #7233 from Bond-009/warn60
2022-02-14 16:57:00 -07:00
Cody Robibero
4acab00963
Merge pull request #7038 from Bond-009/serverdiscovery
2022-02-14 16:56:29 -07:00
Joshua M. Boniface
94b5334da5
Merge pull request #7290 from crobibero/dotnet-6.0.2
2022-02-14 11:01:55 -05:00
Bond_009
dbd7be091d
Fix MediaStreamSelector
2022-02-14 15:03:08 +01:00
Bond_009
3cb49d6df0
Fix option to disable server discovery
2022-02-14 14:39:33 +01:00
Bond-009
bb7916767c
Merge pull request #7286 from daullmer/sonarr-thumb
2022-02-09 19:09:53 +01:00
David Ullmer
a00e6ff426
Update tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-02-09 13:39:39 +01:00
Cody Robibero
b98cc71c3b
Update to dotnet 6.0.2
...
Signed-off-by: Cody Robibero <cody@robibe.ro>
2022-02-08 17:36:20 -07:00