mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-23 02:27:17 +00:00
Add type to externalids to distinguish them in the UI
This commit is contained in:
@@ -8,8 +8,27 @@ namespace MediaBrowser.Controller.Providers
|
||||
|
||||
string Key { get; }
|
||||
|
||||
ExternalIdType Type { get; }
|
||||
|
||||
string UrlFormatString { get; }
|
||||
|
||||
bool Supports(IHasProviderIds item);
|
||||
}
|
||||
|
||||
public enum ExternalIdType
|
||||
{
|
||||
None,
|
||||
Album,
|
||||
AlbumArtist,
|
||||
Artist,
|
||||
BoxSet,
|
||||
Episode,
|
||||
Movie,
|
||||
OtherArtist,
|
||||
Person,
|
||||
ReleaseGroup,
|
||||
Season,
|
||||
Series,
|
||||
Track
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user