aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities
AgeCommit message (Collapse)Author
2025-07-30Further refinement of BCP 47 language labeling supportdyphire
2025-04-07Translate the ISO-639-2/B codes to ISO-639-2/T. (#13068)baka0815
* Translate the ISO-639-2/B codes to ISO-639-2/T. This enables 19 additional languages to be displayed correctly. * Convert the 2-dimensional array to a dictionary * Added the French language to the list of ISO-639-2/B codes * Don't change the property, use a local variable instead. * When creating the MediaStream in the MediaStreamRepository ensure that the ISO 639-2/T (f.e. deu) code is used for the language as that is the one the .NET culture info knows. The other code is most likely the ISO 639-2/B code (f.e. ger) which is unknown to the .NET culture info and will result in just displaying the code instead of the display name. * Move the substitution of ISO 639-2/B to /T to the localization manager. Some language (like Chinese) have multiple entries in the iso6392.txt file (f.e. zho|chi|zh|..., zho|chi|zh-tw|...) but the conversation between /T and /B is the same so use .TryAdd. * Change the method definition from GetISO6392TFromB to TryGetISO6392TFromB and return true if a case was found. * Add unit tests for TryGetISO6392TFromB.
2025-04-03Cleanup extracted files (#13760)Tim Eisele
* Cleanup extracted files * Pagination and fixes * Add migration for attachments to MigrateLibraryDb * Unify attachment handling * Don't extract again if files were already extracted * Fix MKS attachment extraction * Always run full extraction on mks * Don't try to extract mjpeg streams as attachments * Fallback to check if attachments were extracted to cache folder * Fixup
2025-04-02Improve dynamic HDR metadata handling (#13277)gnattu
* Add support for bitstream filter to remove dynamic hdr metadata * Add support for ffprobe's only_first_vframe for HDR10+ detection * Add BitStreamFilterOptionType for metadata removal check * Map HDR10+ metadata to VideoRangeType.cs Current implementation uses a hack that abuses the EL flag to avoid database schema changes. Should add proper field once EFCore migration is merged. * Add more Dolby Vision Range types Out of spec ones are problematic and should be marked as a dedicated invalid type and handled by the server to not crash the player. Profile 7 videos should not be treated as normal HDR10 videos at all and should remove the metadata before serving. * Remove dynamic hdr metadata when necessary * Allow direct playback of HDR10+ videos on HDR10 clients * Only use dovi codec tag when dovi metadata is not removed * Handle DV Profile 7 Videos better * Fix HDR10+ with new bitmask * Indicate the presence of HDR10+ in HLS SUPPLEMENTAL-CODECS * Fix Dovi 8.4 not labeled as HLG in HLS * Fallback to dovi_rpu bsf for av1 when possible * Fix dovi_rpu cli for av1 * Use correct EFCore db column for HDR10+ * Undo outdated migration * Add proper hdr10+ migration * Remove outdated migration * Rebase to new db code * Add migrations for Hdr10PlusPresentFlag * Directly use bsf enum * Add xmldocs for SupportsBitStreamFilterWithOption * Make `VideoRangeType.Unknown` explicitly default on api models. * Unset default for non-api model class * Use tuples for bsf dictionary for now
2025-03-31Explicitly set default value for enums used in API models (#13821)gnattu
Enums in response model with no nullability or default value will make the API very fragile as each extension to the enum will break the API for some clients, but a lot of enums actually do have an unknown value which should be used as a default. This set all model properties that are non-nullable using an enum that has an Unknown member in 10.10, except MediaStream.VideoRangeType which is refactored in #13277
2025-03-30Rework parental ratings (#12615)Tim Eisele
2025-02-28Add support for reading and storing Recording MBIDs from file metadata (#12173)Dominik Krivohlavek
* Add recording metadata provider * Add recording MBID * Save recording MBID during probing * Set recording ID in probe result normalizer * Add recording external media type * Reimplement after changes in upstream * Rename variable * Rename variable * Revert "Set recording ID in probe result normalizer" This reverts commit 9dd18c8aba3f970a5816a13a33acf3d58b0e440f. * Fix setting provider ID * Simplify code * Fix comment * Add missing using
2025-02-17Revert nullability of MediaStream.IsHearingImpaired (#13573)Cody Robibero
2025-01-26Fix typosluzpaz
Found via `codespell -q 3 -D ../../dictionary.txt -S "./Emby.Server.Implementations/Localization" -L allready,childrens,groupe,inh,raisons,re-use,som,supercede,superceded,thirdparty,whoknows`
2025-01-25chore: fix spellingJosh Soref
* a * acceleration * addition * altogether * api clients * artist * associated * bandwidth * cannot * capabilities * case-insensitive * case-sensitive * configuration * delimiter * dependent * diacritics * directors * enable * explicitly * filters * finish * have * hierarchy * implicit * include * information * into * its * keepalive * localization * macos * manual * matching * metadata * nonexistent * options * overridden * parsed * parser * playback * preferring * processes * processing * provider * ratings * retrieval * running * segments * separate * should * station * subdirectories * superseded * supported * system * than * the * throws * transpose * valid * was link: forum or chat rooms Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-11-12Fixed invalid columns on MediaStreamsJPVenson
2024-09-09Use enums for encoding options (#12561)Tim Eisele
2024-09-07Add support DoVi Profile 10 (#11559)llutic
2024-09-07Add MediaStream.ReferenceFrameRate for problematic video files (#12603)gnattu
Co-authored-by: Nyanmisaka <nst799610810@gmail.com>
2024-08-28Apply suggestions from code reviewnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-08-05Merge branch 'master' into fix-hwa-video-rotationNyanmisaka
2024-07-31fix docgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-31Add AC4 downmixgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-30Add RFC7845 downmix algorithm (#12300)gnattu
2024-07-29Display DOVI title in DisplayTitle when availablegnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-23Merge branch 'master' into fix-hwa-video-rotationNyanmisaka
2024-07-17Add TrySetProviderId extensionBond_009
2024-07-16Don't include new internal MediaStream properties in api spec (#12288)Cody Robibero
2024-07-15Allow streaming of raw PGS subtitles without transcoding (#12056)David Schulte
2024-07-15Add check for ProviderIds to prevent '=' from appearing in keys, also ↵Erwin de Haan
support '=' in the values. (#12274)
2024-06-23Backport pull request #12149 from jellyfin/release-10.9.znyanmisaka
Fix MicroDVD being recognized as DVDSUB subtitles Original-merge: 6010bc01c321ea85935314191f5f8c19fd4b3bfb Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-02Add regressions tests for update library endpointBond_009
2024-05-21Prefer profile over codec for display titleBond_009
FFmpeg 6.1 and newer can recognize Dolby Atmos and DTS:X. This change makes it possible to see if a track has one of these technologies if the used FFmpeg supports it.
2024-04-10Add support for out-of-spec but existent, Dolby Vision Profile 8 CCid 6 ↵GeorgeH005
media. (#11334)
2024-04-10Merge pull request #11220 from Shadowghost/add-playlist-acl-apiJoshua M. Boniface
Add playlist ACL endpoints
2024-04-01Apply review suggestionsShadowghost
2024-03-31Lowercase CollectionTypeOptions to match legacy experience (#11272)Cody Robibero
2024-03-30Add json parser for video rotation side datanyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-27Apply review suggestionsShadowghost
2024-03-26Apply review suggestionsShadowghost
2024-03-26Add playlist ACL endpointsShadowghost
2024-03-23Add new VideoRangeTypes to fully support DoVi on webOS (#10469)vedant
2024-02-26Store lyrics in the database as media streams (#9951)Cody Robibero
2024-02-06Remove some unused model codePatrick Barron
2024-01-06Detect audio spatial format (#9996)Mohamed Akram
* Detect audio spatial format * Update MediaBrowser.Model/Entities/MediaStream.cs * Update MediaStream.cs --------- Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-11-12Added new API endpoint to update User item dataArabCoders
2023-11-09Merge branch 'master' into media-typeCody Robibero
2023-11-09Convert CollectionType, SpecialFolderType to enum (#9764)Cody Robibero
* Convert CollectionType, SpecialFolderType to enum * Hide internal enum CollectionType values * Apply suggestions from code review Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> * Fix recent change * Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs Co-authored-by: Patrick Barron <barronpm@gmail.com> --------- Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> Co-authored-by: Patrick Barron <barronpm@gmail.com>
2023-10-10Convert string MediaType to enum MediaTypeCody Robibero
2023-08-22Enable nullable for more files and add testsBond_009
Adds basic tests for FFProbeVideoInfo.CreateDummyChapters Fixed error message CreateDummyChapters instead of reporting the total minutes it only reported the minute component
2023-06-28Migrate VideoRange and VideoRangeType to EnumShadowghost
2023-03-10Fix playlist creation and removalShadowghost
2023-02-20Add default rating selectionsShadowghost
2023-01-10Add stereo downmix algorithm selection.Shadowghost
2022-12-30Add support for .sup subtitle (#8808)Cody Robibero
Fixes https://github.com/jellyfin/jellyfin/issues/8628