mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-26 17:40:30 +01:00
use modular id's on edit page
This commit is contained in:
@@ -656,7 +656,7 @@ namespace MediaBrowser.Providers.Manager
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
var value = item.GetProviderId(i.Key);
|
||||
|
||||
if (string.IsNullOrEmpty(value))
|
||||
@@ -672,5 +672,17 @@ namespace MediaBrowser.Providers.Manager
|
||||
|
||||
}).Where(i => i != null);
|
||||
}
|
||||
|
||||
public IEnumerable<ExternalIdInfo> GetExternalIdInfos(IHasProviderIds item)
|
||||
{
|
||||
return GetExternalIds(item)
|
||||
.Select(i => new ExternalIdInfo
|
||||
{
|
||||
Name = i.Name,
|
||||
Key = i.Key,
|
||||
UrlFormatString = i.UrlFormatString
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user