aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/Books/GoogleBooks/GoogleBooksExternalId.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Providers/Books/GoogleBooks/GoogleBooksExternalId.cs')
-rw-r--r--MediaBrowser.Providers/Books/GoogleBooks/GoogleBooksExternalId.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/MediaBrowser.Providers/Books/GoogleBooks/GoogleBooksExternalId.cs b/MediaBrowser.Providers/Books/GoogleBooks/GoogleBooksExternalId.cs
new file mode 100644
index 0000000000..aac8cdff65
--- /dev/null
+++ b/MediaBrowser.Providers/Books/GoogleBooks/GoogleBooksExternalId.cs
@@ -0,0 +1,23 @@
+using MediaBrowser.Controller.Entities;
+using MediaBrowser.Controller.Providers;
+using MediaBrowser.Model.Entities;
+using MediaBrowser.Model.Providers;
+
+namespace MediaBrowser.Providers.Books.GoogleBooks
+{
+ /// <inheritdoc />
+ public class GoogleBooksExternalId : IExternalId
+ {
+ /// <inheritdoc />
+ public string ProviderName => "Google Books";
+
+ /// <inheritdoc />
+ public string Key => "GoogleBooks";
+
+ /// <inheritdoc />
+ public ExternalIdMediaType? Type => null;
+
+ /// <inheritdoc />
+ public bool Supports(IHasProviderIds item) => item is Book;
+ }
+}