mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #12279] [MERGED] Move external url listing to provider for plugin use #13131
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/12279
Author: @crobibero
Created: 7/15/2024
Status: ✅ Merged
Merged: 7/17/2024
Merged by: @crobibero
Base:
master← Head:related-url-provider📝 Commits (2)
b8c5c01Move external url listing to provider for plugin use117f653mark UrlFormatString as obsolete📊 Changes
13 files changed (+73 additions, -124 deletions)
View changed files
📝
Emby.Server.Implementations/ApplicationHost.cs(+2 -1)📝
MediaBrowser.Controller/Entities/BaseItem.cs(+0 -5)📝
MediaBrowser.Controller/Entities/Movies/Movie.cs(+0 -18)📝
MediaBrowser.Controller/Entities/TV/Episode.cs(+0 -17)📝
MediaBrowser.Controller/Entities/TV/Series.cs(+0 -17)📝
MediaBrowser.Controller/Entities/Trailer.cs(+0 -17)📝
MediaBrowser.Controller/LiveTv/LiveTvProgram.cs(+0 -20)📝
MediaBrowser.Controller/Providers/IExternalId.cs(+2 -0)➕
MediaBrowser.Controller/Providers/IExternalUrlProvider.cs(+22 -0)📝
MediaBrowser.Controller/Providers/IProviderManager.cs(+3 -1)📝
MediaBrowser.Model/Providers/ExternalIdInfo.cs(+5 -0)📝
MediaBrowser.Providers/Manager/ProviderManager.cs(+35 -26)📝
tests/Jellyfin.Providers.Tests/Manager/ProviderManagerTests.cs(+4 -2)📄 Description
Changes
Moves the
GetRelatedUrls()out fromBaseItemto a dedicated provider so plugins can add dynamic urls.See linked plugin PRs for sample implementations.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.