aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/Tmdb/TmdbUtils.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Providers/Tmdb/TmdbUtils.cs')
-rw-r--r--MediaBrowser.Providers/Tmdb/TmdbUtils.cs31
1 files changed, 0 insertions, 31 deletions
diff --git a/MediaBrowser.Providers/Tmdb/TmdbUtils.cs b/MediaBrowser.Providers/Tmdb/TmdbUtils.cs
deleted file mode 100644
index 035b99c1a..000000000
--- a/MediaBrowser.Providers/Tmdb/TmdbUtils.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using MediaBrowser.Model.Entities;
-using MediaBrowser.Providers.Tmdb.Models.General;
-
-namespace MediaBrowser.Providers.Tmdb
-{
- public static class TmdbUtils
- {
- public const string BaseTmdbUrl = "https://www.themoviedb.org/";
- public const string BaseTmdbApiUrl = "https://api.themoviedb.org/";
- public const string ProviderName = "TheMovieDb";
- public const string ApiKey = "4219e299c89411838049ab0dab19ebd5";
- public const string AcceptHeader = "application/json,image/*";
-
- public static string MapCrewToPersonType(Crew crew)
- {
- if (crew.Department.Equals("production", StringComparison.InvariantCultureIgnoreCase)
- && crew.Job.IndexOf("producer", StringComparison.InvariantCultureIgnoreCase) != -1)
- {
- return PersonType.Producer;
- }
-
- if (crew.Department.Equals("writing", StringComparison.InvariantCultureIgnoreCase))
- {
- return PersonType.Writer;
- }
-
- return null;
- }
- }
-}