mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #2643] [MERGED] Support specific types with ExternalIds #9173
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/2643
Author: @lfoust
Created: 3/22/2020
Status: ✅ Merged
Merged: 6/26/2020
Merged by: @Bond-009
Base:
master← Head:externalid-type📝 Commits (6)
dcd0d93Merge pull request #1 from jellyfin/masterf3213d3Merge pull request #2 from jellyfin/master9bdb99fAdd type to externalids to distinguish them in the UIa7e7098Merge pull request #3 from jellyfin/masterae4e727Merge branch 'master' of https://github.com/lfoust/jellyfin into externalid-type0fb78cfAdd documentation around Name, Id, and Type. Changed ExternalIdType to ExternalIdMediaType📊 Changes
13 files changed (+138 additions, -14 deletions)
View changed files
➕
MediaBrowser.Controller/Providers/ExternalIdMediaType.cs(+45 -0)📝
MediaBrowser.Controller/Providers/IExternalId.cs(+10 -0)📝
MediaBrowser.Model/Providers/ExternalIdInfo.cs(+12 -7)📝
MediaBrowser.Providers/Manager/ProviderManager.cs(+1 -0)📝
MediaBrowser.Providers/Movies/MovieExternalIds.cs(+6 -0)📝
MediaBrowser.Providers/Music/MusicExternalIds.cs(+3 -0)📝
MediaBrowser.Providers/Plugins/AudioDb/ExternalIds.cs(+14 -2)📝
MediaBrowser.Providers/Plugins/MusicBrainz/ExternalIds.cs(+23 -5)📝
MediaBrowser.Providers/TV/TvExternalIds.cs(+12 -0)📝
MediaBrowser.Providers/Tmdb/BoxSets/TmdbBoxSetExternalId.cs(+3 -0)📝
MediaBrowser.Providers/Tmdb/Movies/TmdbMovieExternalId.cs(+3 -0)📝
MediaBrowser.Providers/Tmdb/People/TmdbPersonExternalId.cs(+3 -0)📝
MediaBrowser.Providers/Tmdb/TV/TmdbSeriesExternalId.cs(+3 -0)📄 Description
Changes
When we have multiple implementations of
IExternalIdfor the same provider, there is no way to distinguish the different IDs on the UI. Some types have handled this by adding the sub type to theNameproperty but this doesn't allow for localization. This change ads aTypeProperty which allows the specific type to be specified and displayed in the UI. This is a different approach than the previous PR (#2236) which handled the localization on the server. If we decide to go with this PR, I will close the previous one.There is a separate PR for the jellyfin-client changes which I will link here once it is created.
Issues
jellyfin/jellyfin-web#808
jellyfin/jellyfin-web#900
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.