-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d86fd1
commit f47458a
Showing
3 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
Jellyfin.Plugin.Tvdb/Providers/ExternalId/TvdbCollectionsExternalId.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using MediaBrowser.Controller.Entities.Movies; | ||
using MediaBrowser.Controller.Entities.TV; | ||
using MediaBrowser.Controller.Providers; | ||
using MediaBrowser.Model.Entities; | ||
using MediaBrowser.Model.Providers; | ||
|
||
namespace Jellyfin.Plugin.Tvdb.Providers.ExternalId | ||
{ | ||
/// <inheritdoc/> | ||
public class TvdbCollectionsExternalId : IExternalId | ||
{ | ||
/// <inheritdoc/> | ||
public string ProviderName => TvdbPlugin.ProviderName; | ||
|
||
/// <inheritdoc/> | ||
public string Key => TvdbPlugin.CollectionProviderId; | ||
|
||
/// <inheritdoc/> | ||
public ExternalIdMediaType? Type => ExternalIdMediaType.BoxSet; | ||
|
||
/// <inheritdoc/> | ||
public string? UrlFormatString => null; | ||
|
||
/// <inheritdoc/> | ||
public bool Supports(IHasProviderIds item) | ||
{ | ||
return item is Movie || item is Series; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters