aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Model.Tests
AgeCommit message (Collapse)Author
2025-03-31Add Dolby Vision tests for Tizen (#12670)Dmitry Lyzo
* Fix Tizen H264 profiles * Add Dolby Vision tests for Tizen * Allow Dolby Vision fallback layer on Tizen 3+
2025-03-31Use pattern matching for null checks (#13793)Bond-009
Fix the few that slipped through
2025-03-30Fix StreamInfo.ToUrl (#13808)Tim Eisele
2025-03-28Reduce allocations, simplifed code, faster implementation, included tests - ↵Tim Eisele
StreamInfo.ToUrl (#9369) * Rework PR 6168 * Fix test
2025-03-28Add profile condition to limit the number of streams (#13583)Dmitry Lyzo
2025-01-11Update dependency FsCheck.Xunit to v3 (#13333)renovate[bot]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-09-17Apply review suggestionsShadowghost
2024-09-17Rework PR 6203Shadowghost
2024-09-14Move progressive tests to old placegnattu
2024-09-14Remove redundant infognattu
2024-09-14Add Dolby Vision testinggnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-09-13Restore progressive transcoding testsgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-09-13Fix safari testgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-09-13Add mkv h264 ac3 testsgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-09-13Add broken fps mkv testgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-09-13Update unit test for StreamBuilder to reflect current server and clientsgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-09-09Add audio ranking for transcoding profiles (#12546)Dmitry Lyzo
2024-07-29Check MaxAudioChannels for directAudioStream candidates (#12319)gnattu
* Check MaxAudioChannels for directAudioStream candidates The current stream builder logic does not check the channel limit when determining if the audio stream can be directly used, and this can cause some undesired effects: - A high channel count surround sound stream might be picked even if a stereo one exists when the user requires stereo audio. - The user's preferred audio codec might not be respected during the downmix because the requested codec is now forced to be the same as the original source. Signed-off-by: gnattu <gnattuoc@me.com> * Fix unit test Signed-off-by: gnattu <gnattuoc@me.com> * Set correct transcode reason and target channels for unit test Signed-off-by: gnattu <gnattuoc@me.com> * Match old stream selection behavior Signed-off-by: gnattu <gnattuoc@me.com> * Fix reason matching Signed-off-by: gnattu <gnattuoc@me.com> --------- Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-15Add check for ProviderIds to prevent '=' from appearing in keys, also ↵Erwin de Haan
support '=' in the values. (#12274)
2024-03-08Lowercase MediaStreamProtocol for backwards compatibilityCody Robibero
2024-03-04Add MediaStreamProtocol enum (#10153)Niels van Velzen
* Add MediaStreamProtocol enum * Add default handling for enum during deserialization --------- Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-03-03Merge pull request #11077 from crobibero/svg-to-imageBond-009
Add support for converting from svg to other image types
2024-02-28Add support for converting from svg to other image typesCody Robibero
2024-02-22test: drop default flag from second audio trackDmitry Lyzo
To test more general situation. Add another HEVC test file with old logic.
2024-02-22test: collect candidate audio streams if no audio index is specifiedDmitry Lyzo
To be consistent with the logic of StreamBuilder.
2024-02-15Add missing MIME types for comicbook formats (#11010)Robert Lützner
* Correct MIME types for comicbook file extensions cb7, cba, cbr, cbt and cbz all refer to different types of digital comicbooks. The last letter of the extension indicates the compression algorithm that was used: 7zip, arc, rar, tar or zip. All these filetypes used to have the `application/x-cbr` MIME type assigned to them. However, that has since been deprecated and was replaced with - `application/vnd.comicbook-rar` for rar compressed files and - `application/vnd.comicbook+zip` for rar compressed files. Only these two are officially listed by IANA https://www.iana.org/assignments/media-types/application/vnd.comicbook+zip . cbr and cbz are by far the most common file extensions for comicbooks. There's no official MIME type for cb7, cba or cbt files. However, with rar being a proprietary compression algorithm, FOSS applications will often refuse to handle files that identify themselves as `application/x-cbr`, so I decided to assign extension specific MIME types to them. I've seen these being used by other applications, specifically comic book readers. I've read through the docs on iana.org, but haven't figured out why they chose `-rar`, but `+zip`. * Add conversions from MIME type to file extensions for comicbook formats cb7, cba, cbr, cbt and cbz all refer to different types of digital comicbooks. The last letter of the extension indicates the compression algorithm that was used: 7zip, arc, rar, tar or zip. All these filetypes used to have the `application/x-cbr` MIME type assigned to them. However, that has since been deprecated and was replaced with - `application/vnd.comicbook-rar` for rar compressed files and - `application/vnd.comicbook+zip` for rar compressed files. Only these two are officially listed by IANA https://www.iana.org/assignments/media-types/application/vnd.comicbook+zip . cbr and cbz are by far the most common file extensions for comicbooks. There's no official MIME type for cb7, cba or cbt files. However, with rar being a proprietary compression algorithm, FOSS applications will often refuse to handle files that identify themselves as `application/x-cbr`, so I decided to assign extension specific MIME types to them. I've seen these being used by other applications, specifically comic book readers. * Update CONTRIBUTORS.md
2024-02-12test: discard webm from test mkvs if there is an unsupported codec (#10999)Dmitry Lyzo
To comply 39088b5ad29cf098729c31f0be90a387df5debf6, ba877283a17f9f1ef32569669989e6d72cc571c5
2024-02-10Correct m4b mimetype (#10980)felix920506
2023-12-21test: add more audio testsDmitry Lyzo
2023-12-21test: fix tizen profileDmitry Lyzo
2023-12-21test: fix remux testsDmitry Lyzo
This partially reverts commit 2d8f7b46f11ee458fe0b31d8e1473aaaea9cf296
2023-12-18Fix testsBond_009
2023-10-08Jellyfin.Drawing minor improvementsBond_009
Reduce duplicate/dead code
2023-09-12Merge pull request #10056 from Bond-009/nullable2Bond-009
2023-09-11Removed nesting levels through block-scoped `using` statement (#10025)Lehonti Ramos
Co-authored-by: John Doe <john@doe> Co-authored-by: Lehonti Ramos <lehonti@ramos>
2023-07-29Enable nullable for more filesBond_009
2023-04-10Use default instead of zero for TranscodeReasonStepan Goremykin
2023-04-06Remove redundant castsStepan Goremykin
2023-02-16Fix testsBond_009
2023-02-12Always run code analyzers for tests projects (#9304)Bond-009
2023-02-04Use Directory.Packages.props (#9135)Zoltan Csizmadia
Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
2023-01-22Backport pull request #9051 from jellyfin/release-10.8.zDmitry Lyzo
Fix transcode reasons Original-merge: 1dea309ae4a1eb00f7f5a7d4c91a235963fd069e Merged-by: Joshua M. Boniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-18chore(deps): update dependency microsoft.codeanalysis.bannedapianalyzers to ↵renovate[bot]
v3.3.4 (#9117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-14Update test dependencies (#9094)Patrick Barron
2022-12-29Merge pull request #7494 from Shadowghost/streambuilder-cleanupBond-009
2022-12-14Fix debug builds (#8909)Bond-009
2022-12-07Cleanup and refactor streambuilderShadowghost
2022-12-07Update projects to .net7Bond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009