diff --git a/Old/Assemblies/Mono.Data.Sqlite.dll b/Old/Assemblies/Mono.Data.Sqlite.dll deleted file mode 100644 index b092a1c7f..000000000 Binary files a/Old/Assemblies/Mono.Data.Sqlite.dll and /dev/null differ diff --git a/Old/Ombi.Api.Interfaces/IApiRequest.cs b/Old/Ombi.Api.Interfaces/IApiRequest.cs deleted file mode 100644 index ed6462de6..000000000 --- a/Old/Ombi.Api.Interfaces/IApiRequest.cs +++ /dev/null @@ -1,40 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: IApiRequest.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; -using RestSharp; - -namespace Ombi.Api.Interfaces -{ - public interface IApiRequest - { - T Execute(IRestRequest request, Uri baseUri) where T : new(); - IRestResponse Execute(IRestRequest request, Uri baseUri); - T ExecuteXml(IRestRequest request, Uri baseUri) where T : class; - T ExecuteJson(IRestRequest request, Uri baseUri) where T : new(); - } -} diff --git a/Old/Ombi.Api.Interfaces/IAppveyorApi.cs b/Old/Ombi.Api.Interfaces/IAppveyorApi.cs deleted file mode 100644 index d067773fd..000000000 --- a/Old/Ombi.Api.Interfaces/IAppveyorApi.cs +++ /dev/null @@ -1,9 +0,0 @@ -using Ombi.Api.Models.Appveyor; - -namespace Ombi.Api.Interfaces -{ - public interface IAppveyorApi - { - AppveyorProjects GetProjectHistory(string branchName, int records = 10); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/ICouchPotatoApi.cs b/Old/Ombi.Api.Interfaces/ICouchPotatoApi.cs deleted file mode 100644 index 844bcc1cd..000000000 --- a/Old/Ombi.Api.Interfaces/ICouchPotatoApi.cs +++ /dev/null @@ -1,42 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: ICouchPotatoApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; -using Ombi.Api.Models.Movie; - -namespace Ombi.Api.Interfaces -{ - public interface ICouchPotatoApi - { - bool AddMovie(string imdbid, string apiKey, string title, Uri baseUrl, string profileID = default(string)); - CouchPotatoStatus GetStatus(Uri url, string apiKey); - CouchPotatoProfiles GetProfiles(Uri url, string apiKey); - CouchPotatoMovies GetMovies(Uri baseUrl, string apiKey, string[] status); - - CouchPotatoApiKey GetApiKey(Uri baseUrl, string username, string password); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/IDiscordApi.cs b/Old/Ombi.Api.Interfaces/IDiscordApi.cs deleted file mode 100644 index cb3ff9203..000000000 --- a/Old/Ombi.Api.Interfaces/IDiscordApi.cs +++ /dev/null @@ -1,38 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: IDiscordApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Threading.Tasks; -using Ombi.Api.Models.Notifications; - -namespace Ombi.Api.Interfaces -{ - public interface IDiscordApi - { - void SendMessage(string message, string webhookId, string webhookToken, string username = null); - Task SendMessageAsync(string message, string webhookId, string webhookToken, string username = null); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/IEmbyApi.cs b/Old/Ombi.Api.Interfaces/IEmbyApi.cs deleted file mode 100644 index bc4697140..000000000 --- a/Old/Ombi.Api.Interfaces/IEmbyApi.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using Ombi.Api.Models.Emby; - -namespace Ombi.Api.Interfaces -{ - public interface IEmbyApi - { - EmbyItemContainer GetAllMovies(string apiKey, string userId, Uri baseUri); - EmbyItemContainer GetAllShows(string apiKey, string userId, Uri baseUri); - EmbyItemContainer GetAllEpisodes(string apiKey, string userId, Uri baseUri); - EmbyItemContainer GetCollection(string mediaId, string apiKey, string userId, Uri baseUrl); - List GetUsers(Uri baseUri, string apiKey); - EmbyItemContainer ViewLibrary(string apiKey, string userId, Uri baseUri); - EmbyInformation GetInformation(string mediaId, EmbyMediaType type, string apiKey, string userId, Uri baseUri); - EmbyUser LogIn(string username, string password, string apiKey, Uri baseUri); - EmbySystemInfo GetSystemInformation(string apiKey, Uri baseUrl); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/IHeadphonesApi.cs b/Old/Ombi.Api.Interfaces/IHeadphonesApi.cs deleted file mode 100644 index 521831b9e..000000000 --- a/Old/Ombi.Api.Interfaces/IHeadphonesApi.cs +++ /dev/null @@ -1,44 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: IHeadphonesApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using Ombi.Api.Models.Music; - -namespace Ombi.Api.Interfaces -{ - public interface IHeadphonesApi - { - Task AddAlbum(string apiKey, Uri baseUrl, string albumId); - HeadphonesVersion GetVersion(string apiKey, Uri baseUrl); - Task AddArtist(string apiKey, Uri baseUrl, string artistId); - Task QueueAlbum(string apiKey, Uri baseUrl, string albumId); - Task> GetIndex(string apiKey, Uri baseUrl); - Task RefreshArtist(string apiKey, Uri baseUrl, string artistId); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/IMusicBrainzApi.cs b/Old/Ombi.Api.Interfaces/IMusicBrainzApi.cs deleted file mode 100644 index d4fed985b..000000000 --- a/Old/Ombi.Api.Interfaces/IMusicBrainzApi.cs +++ /dev/null @@ -1,38 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: IMusicBrainzApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using Ombi.Api.Models.Music; - -namespace Ombi.Api.Interfaces -{ - public interface IMusicBrainzApi - { - MusicBrainzSearchResults SearchAlbum(string searchTerm); - MusicBrainzCoverArt GetCoverArt(string releaseId); - MusicBrainzReleaseInfo GetAlbum(string releaseId); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/INetflixApi.cs b/Old/Ombi.Api.Interfaces/INetflixApi.cs deleted file mode 100644 index 2c427f6f3..000000000 --- a/Old/Ombi.Api.Interfaces/INetflixApi.cs +++ /dev/null @@ -1,36 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: INetflixApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using Ombi.Api.Models.Netflix; - -namespace Ombi.Api.Interfaces -{ - public interface INetflixApi - { - NetflixMovieResult CheckNetflix(string title, string year = null); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/IPlexApi.cs b/Old/Ombi.Api.Interfaces/IPlexApi.cs deleted file mode 100644 index 4bc2124a4..000000000 --- a/Old/Ombi.Api.Interfaces/IPlexApi.cs +++ /dev/null @@ -1,50 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: IPlexApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; -using Ombi.Api.Models.Plex; - -namespace Ombi.Api.Interfaces -{ - public interface IPlexApi - { - PlexAuthentication SignIn(string username, string password); - PlexFriends GetUsers(string authToken); - PlexSearch SearchContent(string authToken, string searchTerm, Uri plexFullHost); - PlexStatus GetStatus(string authToken, Uri uri); - PlexAccount GetAccount(string authToken); - PlexLibraries GetLibrarySections(string authToken, Uri plexFullHost); - PlexSearch GetLibrary(string authToken, Uri plexFullHost, string libraryId); - PlexMetadata GetMetadata(string authToken, Uri plexFullHost, string itemId); - PlexEpisodeMetadata GetEpisodeMetaData(string authToken, Uri host, string ratingKey); - PlexSearch GetAllEpisodes(string authToken, Uri host, string section, int startPage, int returnCount); - PlexServer GetServer(string authToken); - PlexSeasonMetadata GetSeasons(string authToken, Uri plexFullHost, string ratingKey); - RecentlyAddedModelOld RecentlyAddedOld(string authToken, Uri plexFullHost, string sectionId); - PlexRecentlyAddedModel RecentlyAdded(string authToken, Uri plexFullHost, string sectionId); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/IPushbulletApi.cs b/Old/Ombi.Api.Interfaces/IPushbulletApi.cs deleted file mode 100644 index 4bf646353..000000000 --- a/Old/Ombi.Api.Interfaces/IPushbulletApi.cs +++ /dev/null @@ -1,45 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: IPushbulletApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Threading.Tasks; -using Ombi.Api.Models.Notifications; - -namespace Ombi.Api.Interfaces -{ - public interface IPushbulletApi - { - /// - /// Pushes the specified message. - /// - /// The access token. - /// The title. - /// The message. - /// The device identifier. - /// - Task PushAsync(string accessToken, string title, string message, string deviceIdentifier = default(string)); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/IPushoverApi.cs b/Old/Ombi.Api.Interfaces/IPushoverApi.cs deleted file mode 100644 index bdaab8464..000000000 --- a/Old/Ombi.Api.Interfaces/IPushoverApi.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: IPushoverApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Threading.Tasks; -using Ombi.Api.Models.Notifications; - -namespace Ombi.Api.Interfaces -{ - public interface IPushoverApi - { - Task PushAsync(string accessToken, string message, string userToken); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/IRadarrApi.cs b/Old/Ombi.Api.Interfaces/IRadarrApi.cs deleted file mode 100644 index f1b015d31..000000000 --- a/Old/Ombi.Api.Interfaces/IRadarrApi.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using Ombi.Api.Models.Radarr; -using Ombi.Api.Models.Sonarr; - -namespace Ombi.Api.Interfaces -{ - public interface IRadarrApi - { - RadarrAddMovie AddMovie(int tmdbId, string title, int year, int qualityId, string rootPath, string apiKey, Uri baseUrl, bool searchNow = false); - List GetMovies(string apiKey, Uri baseUrl); - List GetProfiles(string apiKey, Uri baseUrl); - SystemStatus SystemStatus(string apiKey, Uri baseUrl); - List GetRootFolders(string apiKey, Uri baseUrl); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/ISickRageApi.cs b/Old/Ombi.Api.Interfaces/ISickRageApi.cs deleted file mode 100644 index 7022c218e..000000000 --- a/Old/Ombi.Api.Interfaces/ISickRageApi.cs +++ /dev/null @@ -1,45 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: ISickRageApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; -using System.Threading.Tasks; -using Ombi.Api.Models.SickRage; - -namespace Ombi.Api.Interfaces -{ - public interface ISickRageApi - { - Task AddSeries(int tvdbId, int seasoncount, int[] seasons, string quality, string apiKey, - Uri baseUrl); - - SickRagePing Ping(string apiKey, Uri baseUrl); - - Task AddSeason(int tvdbId, int season, string apiKey, Uri baseUrl); - - Task GetShows(string apiKey, Uri baseUrl); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/ISlackApi.cs b/Old/Ombi.Api.Interfaces/ISlackApi.cs deleted file mode 100644 index e0649a5cc..000000000 --- a/Old/Ombi.Api.Interfaces/ISlackApi.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: ISlackApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Threading.Tasks; -using Ombi.Api.Models.Notifications; - -namespace Ombi.Api.Interfaces -{ - public interface ISlackApi - { - Task PushAsync(string team, string token, string service, SlackNotificationBody message); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/ISonarrApi.cs b/Old/Ombi.Api.Interfaces/ISonarrApi.cs deleted file mode 100644 index 06dd4ee75..000000000 --- a/Old/Ombi.Api.Interfaces/ISonarrApi.cs +++ /dev/null @@ -1,63 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: ISonarrApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; -using System.Collections.Generic; -using Ombi.Api.Models.Sonarr; - -namespace Ombi.Api.Interfaces -{ - public interface ISonarrApi - { - List GetProfiles(string apiKey, Uri baseUrl); - - SonarrAddSeries AddSeries(int tvdbId, string title, int qualityId, bool seasonFolders, string rootPath, - int seasonCount, int[] seasons, string apiKey, Uri baseUrl, bool monitor = true, - bool searchForMissingEpisodes = false); - - SonarrAddSeries AddSeriesNew(int tvdbId, string title, int qualityId, bool seasonFolders, string rootPath, - int[] seasons, string apiKey, Uri baseUrl, bool monitor = true, - bool searchForMissingEpisodes = false); - - SystemStatus SystemStatus(string apiKey, Uri baseUrl); - List GetRootFolders(string apiKey, Uri baseUrl); - - List GetSeries(string apiKey, Uri baseUrl); - Series GetSeries(string seriesId, string apiKey, Uri baseUrl); - IEnumerable GetEpisodes(string seriesId, string apiKey, Uri baseUrl); - SonarrEpisode GetEpisode(string episodeId, string apiKey, Uri baseUrl); - SonarrEpisode UpdateEpisode(SonarrEpisode episodeInfo, string apiKey, Uri baseUrl); - SonarrEpisodes UpdateEpisode(SonarrEpisodes episodeInfo, string apiKey, Uri baseUrl); - SonarrAddEpisodeResult SearchForEpisodes(int[] episodeIds, string apiKey, Uri baseUrl); - Series UpdateSeries(Series series, string apiKey, Uri baseUrl); - SonarrSeasonSearchResult SearchForSeason(int seriesId, int seasonNumber, string apiKey, Uri baseUrl); - SonarrSeriesSearchResult SearchForSeries(int seriesId, string apiKey, Uri baseUrl); - - - SonarrAddSeries AddSeries(SonarrAddSeries series, string apiKey, Uri baseUrl); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/ITraktApi.cs b/Old/Ombi.Api.Interfaces/ITraktApi.cs deleted file mode 100644 index ed20f039c..000000000 --- a/Old/Ombi.Api.Interfaces/ITraktApi.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.Collections.Generic; -using System.Threading.Tasks; -using TraktApiSharp.Enums; -using TraktApiSharp.Objects.Get.Shows; -using TraktApiSharp.Objects.Get.Shows.Common; - -namespace Ombi.Api.Interfaces -{ - public interface ITraktApi - { - Task> GetAnticipatedShows(int? page = default(int?), int? limitPerPage = default(int?)); - Task> GetMostWatchesShows(TraktTimePeriod period = null, int? page = default(int?), int? limitPerPage = default(int?)); - Task> GetPopularShows(int? page = default(int?), int? limitPerPage = default(int?)); - Task> GetTrendingShows(int? page = default(int?), int? limitPerPage = default(int?)); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/IWatcherApi.cs b/Old/Ombi.Api.Interfaces/IWatcherApi.cs deleted file mode 100644 index 38dc042ae..000000000 --- a/Old/Ombi.Api.Interfaces/IWatcherApi.cs +++ /dev/null @@ -1,41 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: IWatcherApi.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; -using System.Collections.Generic; -using Ombi.Api.Models.Watcher; - -namespace Ombi.Api.Interfaces -{ - public interface IWatcherApi - { - WatcherAddMovieResult AddMovie(string imdbId, string apiKey, Uri baseUrl); - WatcherListStatusResultContainer ListMovies(string apiKey, Uri baseUrl); - WatcherListStatusResultContainer ListMovies(string apiKey, Uri baseUrl, string imdbId); - WatcherVersion Version(string apiKey, Uri baseUri); - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/Ombi.Api.Interfaces.csproj b/Old/Ombi.Api.Interfaces/Ombi.Api.Interfaces.csproj deleted file mode 100644 index cf50e513d..000000000 --- a/Old/Ombi.Api.Interfaces/Ombi.Api.Interfaces.csproj +++ /dev/null @@ -1,93 +0,0 @@ - - - - - Debug - AnyCPU - {95834072-A675-415D-AA8F-877C91623810} - Library - Properties - Ombi.Api.Interfaces - Ombi.Api.Interfaces - v4.5 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll - True - - - ..\packages\RestSharp.105.2.3\lib\net45\RestSharp.dll - True - - - - - - - - - - - ..\packages\TraktApiSharp.0.8.0\lib\portable-net45+netcore45+wpa81\TraktApiSharp.dll - True - - - - - - - - - - - - - - - - - - - - - - - - - {CB37A5F8-6DFC-4554-99D3-A42B502E4591} - Ombi.Api.Models - - - - - - - - - \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/Properties/AssemblyInfo.cs b/Old/Ombi.Api.Interfaces/Properties/AssemblyInfo.cs deleted file mode 100644 index 99bc4fa78..000000000 --- a/Old/Ombi.Api.Interfaces/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Ombi.Api.Interfaces")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Ombi.Api.Interfaces")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("95834072-a675-415d-aa8f-877c91623810")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] - -[assembly: AssemblyInformationalVersionAttribute("1.0.0.0")] diff --git a/Old/Ombi.Api.Interfaces/app.config b/Old/Ombi.Api.Interfaces/app.config deleted file mode 100644 index de5386a47..000000000 --- a/Old/Ombi.Api.Interfaces/app.config +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/Old/Ombi.Api.Interfaces/packages.config b/Old/Ombi.Api.Interfaces/packages.config deleted file mode 100644 index 5ac87cab2..000000000 --- a/Old/Ombi.Api.Interfaces/packages.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Appveyor/AppveyorProject.cs b/Old/Ombi.Api.Models/Appveyor/AppveyorProject.cs deleted file mode 100644 index bf94a451a..000000000 --- a/Old/Ombi.Api.Models/Appveyor/AppveyorProject.cs +++ /dev/null @@ -1,114 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: AppveyorProject.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; - -namespace Ombi.Api.Models.Appveyor -{ - public class AppveyorProjects - { - public Project project { get; set; } - public Build[] builds { get; set; } - } - - public class Project - { - public int projectId { get; set; } - public int accountId { get; set; } - public string accountName { get; set; } - public object[] builds { get; set; } - public string name { get; set; } - public string slug { get; set; } - public string repositoryType { get; set; } - public string repositoryScm { get; set; } - public string repositoryName { get; set; } - public bool isPrivate { get; set; } - public bool skipBranchesWithoutAppveyorYml { get; set; } - public bool enableSecureVariablesInPullRequests { get; set; } - public bool enableSecureVariablesInPullRequestsFromSameRepo { get; set; } - public bool enableDeploymentInPullRequests { get; set; } - public bool rollingBuilds { get; set; } - public bool alwaysBuildClosedPullRequests { get; set; } - public string tags { get; set; } - public Securitydescriptor securityDescriptor { get; set; } - public DateTime created { get; set; } - public DateTime updated { get; set; } - } - - public class Securitydescriptor - { - public Accessrightdefinition[] accessRightDefinitions { get; set; } - public Roleace[] roleAces { get; set; } - } - - public class Accessrightdefinition - { - public string name { get; set; } - public string description { get; set; } - } - - public class Roleace - { - public int roleId { get; set; } - public string name { get; set; } - public bool isAdmin { get; set; } - public Accessright[] accessRights { get; set; } - } - - public class Accessright - { - public string name { get; set; } - public bool allowed { get; set; } - } - - public class Build - { - public int buildId { get; set; } - public object[] jobs { get; set; } - public int buildNumber { get; set; } - public string version { get; set; } - public string message { get; set; } - public string messageExtended { get; set; } - public string branch { get; set; } - public bool isTag { get; set; } - public string commitId { get; set; } - public string authorName { get; set; } - public string authorUsername { get; set; } - public string committerName { get; set; } - public string committerUsername { get; set; } - public DateTime committed { get; set; } - public object[] messages { get; set; } - public string status { get; set; } - public DateTime started { get; set; } - public DateTime finished { get; set; } - public DateTime created { get; set; } - public DateTime updated { get; set; } - public string pullRequestId { get; set; } - public string pullRequestName { get; set; } - } - -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyChapter.cs b/Old/Ombi.Api.Models/Emby/EmbyChapter.cs deleted file mode 100644 index 9677eae76..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyChapter.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: MovieInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyChapter - { - public long StartPositionTicks { get; set; } - public string Name { get; set; } - } - -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyConfiguration.cs b/Old/Ombi.Api.Models/Emby/EmbyConfiguration.cs deleted file mode 100644 index 4df656cce..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyConfiguration.cs +++ /dev/null @@ -1,47 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyUser.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyConfiguration - { - public bool PlayDefaultAudioTrack { get; set; } - public bool DisplayMissingEpisodes { get; set; } - public bool DisplayUnairedEpisodes { get; set; } - public object[] GroupedFolders { get; set; } - public string SubtitleMode { get; set; } - public bool DisplayCollectionsView { get; set; } - public bool EnableLocalPassword { get; set; } - public object[] OrderedViews { get; set; } - public object[] LatestItemsExcludes { get; set; } - public bool HidePlayedInLatest { get; set; } - public bool RememberAudioSelections { get; set; } - public bool RememberSubtitleSelections { get; set; } - public bool EnableNextEpisodeAutoPlay { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyEpisodeInformation.cs b/Old/Ombi.Api.Models/Emby/EmbyEpisodeInformation.cs deleted file mode 100644 index 1cdb2985c..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyEpisodeInformation.cs +++ /dev/null @@ -1,97 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyEpisodeInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; - -namespace Ombi.Api.Models.Emby -{ - public class EmbyEpisodeInformation - { - public string Name { get; set; } - public string ServerId { get; set; } - public string Id { get; set; } - public string Etag { get; set; } - public DateTime DateCreated { get; set; } - public bool CanDelete { get; set; } - public bool CanDownload { get; set; } - public bool SupportsSync { get; set; } - public string Container { get; set; } - public string SortName { get; set; } - public DateTime PremiereDate { get; set; } - public EmbyExternalurl[] ExternalUrls { get; set; } - public EmbyMediasource[] MediaSources { get; set; } - public string Path { get; set; } - public string Overview { get; set; } - public object[] Taglines { get; set; } - public object[] Genres { get; set; } - public string[] SeriesGenres { get; set; } - public float CommunityRating { get; set; } - public int VoteCount { get; set; } - public long RunTimeTicks { get; set; } - public string PlayAccess { get; set; } - public int ProductionYear { get; set; } - public bool IsPlaceHolder { get; set; } - public int IndexNumber { get; set; } - public int ParentIndexNumber { get; set; } - public object[] RemoteTrailers { get; set; } - public EmbyProviderids ProviderIds { get; set; } - public bool IsHD { get; set; } - public bool IsFolder { get; set; } - public string ParentId { get; set; } - public string Type { get; set; } - public object[] People { get; set; } - public object[] Studios { get; set; } - public string ParentLogoItemId { get; set; } - public string ParentBackdropItemId { get; set; } - public string[] ParentBackdropImageTags { get; set; } - public int LocalTrailerCount { get; set; } - public EmbyUserdata UserData { get; set; } - public string SeriesName { get; set; } - public string SeriesId { get; set; } - public string SeasonId { get; set; } - public string DisplayPreferencesId { get; set; } - public object[] Tags { get; set; } - public object[] Keywords { get; set; } - public string SeriesPrimaryImageTag { get; set; } - public string SeasonName { get; set; } - public EmbyMediastream[] MediaStreams { get; set; } - public string VideoType { get; set; } - public EmbyImagetags ImageTags { get; set; } - public object[] BackdropImageTags { get; set; } - public object[] ScreenshotImageTags { get; set; } - public string ParentLogoImageTag { get; set; } - public string SeriesStudio { get; set; } - public EmbySeriesstudioinfo SeriesStudioInfo { get; set; } - public string ParentThumbItemId { get; set; } - public string ParentThumbImageTag { get; set; } - public EmbyChapter[] Chapters { get; set; } - public string LocationType { get; set; } - public string MediaType { get; set; } - public object[] LockedFields { get; set; } - public bool LockData { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyEpisodeItem.cs b/Old/Ombi.Api.Models/Emby/EmbyEpisodeItem.cs deleted file mode 100644 index a86552727..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyEpisodeItem.cs +++ /dev/null @@ -1,69 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyEpisodeItem.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; - -namespace Ombi.Api.Models.Emby -{ - public class EmbyEpisodeItem - { - public string Name { get; set; } - public string ServerId { get; set; } - public string Id { get; set; } - public string Container { get; set; } - public DateTime PremiereDate { get; set; } - public float CommunityRating { get; set; } - public long RunTimeTicks { get; set; } - public string PlayAccess { get; set; } - public int ProductionYear { get; set; } - public bool IsPlaceHolder { get; set; } - public int IndexNumber { get; set; } - public int ParentIndexNumber { get; set; } - public bool IsHD { get; set; } - public bool IsFolder { get; set; } - public string Type { get; set; } - public string ParentLogoItemId { get; set; } - public string ParentBackdropItemId { get; set; } - public string[] ParentBackdropImageTags { get; set; } - public int LocalTrailerCount { get; set; } - public EmbyUserdata UserData { get; set; } - public string SeriesName { get; set; } - public string SeriesId { get; set; } - public string SeasonId { get; set; } - public string SeriesPrimaryImageTag { get; set; } - public string SeasonName { get; set; } - public string VideoType { get; set; } - public EmbyImagetags ImageTags { get; set; } - public object[] BackdropImageTags { get; set; } - public string ParentLogoImageTag { get; set; } - public string ParentThumbItemId { get; set; } - public string ParentThumbImageTag { get; set; } - public string LocationType { get; set; } - public string MediaType { get; set; } - public bool HasSubtitles { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyExternalurl.cs b/Old/Ombi.Api.Models/Emby/EmbyExternalurl.cs deleted file mode 100644 index 2d7de2a3c..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyExternalurl.cs +++ /dev/null @@ -1,42 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: MovieInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyExternalurl - { - public string Name { get; set; } - public string Url { get; set; } - } - - - - - - -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyImagetags.cs b/Old/Ombi.Api.Models/Emby/EmbyImagetags.cs deleted file mode 100644 index cf36ae696..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyImagetags.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyLibrary.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Emby -{ - public class EmbyImagetags - { - public string Primary { get; set; } - public string Logo { get; set; } - public string Thumb { get; set; } - - public string Banner { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyInformation.cs b/Old/Ombi.Api.Models/Emby/EmbyInformation.cs deleted file mode 100644 index 8edb432ba..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyInformation.cs +++ /dev/null @@ -1,35 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Emby -{ - public class EmbyInformation - { - public EmbySeriesInformation SeriesInformation { get; set; } - public EmbyMovieInformation MovieInformation { get; set; } - public EmbyEpisodeInformation EpisodeInformation { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyItem.cs b/Old/Ombi.Api.Models/Emby/EmbyItem.cs deleted file mode 100644 index 85d41ddf2..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyItem.cs +++ /dev/null @@ -1,47 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyLibrary.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Emby -{ - public class EmbyLibrary - { - public string Name { get; set; } - public string ServerId { get; set; } - public string Id { get; set; } - public bool HasDynamicCategories { get; set; } - public string PlayAccess { get; set; } - public bool IsFolder { get; set; } - public string Type { get; set; } - public EmbyUserdata UserData { get; set; } - public int ChildCount { get; set; } - public string CollectionType { get; set; } - public string OriginalCollectionType { get; set; } - public EmbyImagetags ImageTags { get; set; } - public object[] BackdropImageTags { get; set; } - public string LocationType { get; set; } - } - -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyItemContainer.cs b/Old/Ombi.Api.Models/Emby/EmbyItemContainer.cs deleted file mode 100644 index 10b8c0a71..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyItemContainer.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyItemContainer.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Collections.Generic; - -namespace Ombi.Api.Models.Emby -{ - public class EmbyItemContainer - { - public List Items { get; set; } - public int TotalRecordCount { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyMediaType.cs b/Old/Ombi.Api.Models/Emby/EmbyMediaType.cs deleted file mode 100644 index 0ec18ad4e..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyMediaType.cs +++ /dev/null @@ -1,36 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyMediaType.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Emby -{ - public enum EmbyMediaType - { - Movie = 0, - Series = 1, - Music = 2, - Episode = 3 - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyMediasource.cs b/Old/Ombi.Api.Models/Emby/EmbyMediasource.cs deleted file mode 100644 index bc3f4122c..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyMediasource.cs +++ /dev/null @@ -1,59 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: MovieInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyMediasource - { - public string Protocol { get; set; } - public string Id { get; set; } - public string Path { get; set; } - public string Type { get; set; } - public string Container { get; set; } - public string Name { get; set; } - public bool IsRemote { get; set; } - public string ETag { get; set; } - public long RunTimeTicks { get; set; } - public bool ReadAtNativeFramerate { get; set; } - public bool SupportsTranscoding { get; set; } - public bool SupportsDirectStream { get; set; } - public bool SupportsDirectPlay { get; set; } - public bool IsInfiniteStream { get; set; } - public bool RequiresOpening { get; set; } - public bool RequiresClosing { get; set; } - public bool SupportsProbing { get; set; } - public string VideoType { get; set; } - public EmbyMediastream[] MediaStreams { get; set; } - public object[] PlayableStreamFileNames { get; set; } - public object[] Formats { get; set; } - public int Bitrate { get; set; } - public EmbyRequiredhttpheaders RequiredHttpHeaders { get; set; } - public int DefaultAudioStreamIndex { get; set; } - - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyMediastream.cs b/Old/Ombi.Api.Models/Emby/EmbyMediastream.cs deleted file mode 100644 index 75aff476b..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyMediastream.cs +++ /dev/null @@ -1,64 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: MovieInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyMediastream - { - public string Codec { get; set; } - public string Language { get; set; } - public string TimeBase { get; set; } - public string CodecTimeBase { get; set; } - public string NalLengthSize { get; set; } - public bool IsInterlaced { get; set; } - public bool IsAVC { get; set; } - public int BitRate { get; set; } - public int BitDepth { get; set; } - public int RefFrames { get; set; } - public bool IsDefault { get; set; } - public bool IsForced { get; set; } - public int Height { get; set; } - public int Width { get; set; } - public float AverageFrameRate { get; set; } - public float RealFrameRate { get; set; } - public string Profile { get; set; } - public string Type { get; set; } - public string AspectRatio { get; set; } - public int Index { get; set; } - public bool IsExternal { get; set; } - public bool IsTextSubtitleStream { get; set; } - public bool SupportsExternalStream { get; set; } - public string PixelFormat { get; set; } - public int Level { get; set; } - public bool IsAnamorphic { get; set; } - public string DisplayTitle { get; set; } - public string ChannelLayout { get; set; } - public int Channels { get; set; } - public int SampleRate { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyMovieInformation.cs b/Old/Ombi.Api.Models/Emby/EmbyMovieInformation.cs deleted file mode 100644 index bb9bfe244..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyMovieInformation.cs +++ /dev/null @@ -1,87 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: MovieInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; - -namespace Ombi.Api.Models.Emby -{ - public class EmbyMovieInformation - { - public string Name { get; set; } - public string OriginalTitle { get; set; } - public string ServerId { get; set; } - public string Id { get; set; } - public string Etag { get; set; } - public DateTime DateCreated { get; set; } - public bool CanDelete { get; set; } - public bool CanDownload { get; set; } - public bool SupportsSync { get; set; } - public string Container { get; set; } - public string SortName { get; set; } - public DateTime PremiereDate { get; set; } - public EmbyExternalurl[] ExternalUrls { get; set; } - public EmbyMediasource[] MediaSources { get; set; } - public string[] ProductionLocations { get; set; } - public string Path { get; set; } - public string OfficialRating { get; set; } - public string Overview { get; set; } - public string[] Taglines { get; set; } - public string[] Genres { get; set; } - public float CommunityRating { get; set; } - public int VoteCount { get; set; } - public long RunTimeTicks { get; set; } - public string PlayAccess { get; set; } - public int ProductionYear { get; set; } - public bool IsPlaceHolder { get; set; } - public EmbyRemotetrailer[] RemoteTrailers { get; set; } - public EmbyProviderids ProviderIds { get; set; } - public bool IsHD { get; set; } - public bool IsFolder { get; set; } - public string ParentId { get; set; } - public string Type { get; set; } - public EmbyPerson[] People { get; set; } - public EmbyStudio[] Studios { get; set; } - public int LocalTrailerCount { get; set; } - public EmbyUserdata UserData { get; set; } - public string DisplayPreferencesId { get; set; } - public object[] Tags { get; set; } - public string[] Keywords { get; set; } - public EmbyMediastream[] MediaStreams { get; set; } - public string VideoType { get; set; } - public EmbyImagetags ImageTags { get; set; } - public string[] BackdropImageTags { get; set; } - public object[] ScreenshotImageTags { get; set; } - public EmbyChapter[] Chapters { get; set; } - public string LocationType { get; set; } - public string MediaType { get; set; } - public string HomePageUrl { get; set; } - public int Budget { get; set; } - public int Revenue { get; set; } - public object[] LockedFields { get; set; } - public bool LockData { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyMovieItem.cs b/Old/Ombi.Api.Models/Emby/EmbyMovieItem.cs deleted file mode 100644 index 5c4cc514f..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyMovieItem.cs +++ /dev/null @@ -1,59 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyMovieItem.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; - -namespace Ombi.Api.Models.Emby -{ - public class EmbyMovieItem - { - public string Name { get; set; } - public string ServerId { get; set; } - public string Id { get; set; } - public string Container { get; set; } - public DateTime PremiereDate { get; set; } - public object[] ProductionLocations { get; set; } - public string OfficialRating { get; set; } - public float CommunityRating { get; set; } - public long RunTimeTicks { get; set; } - public string PlayAccess { get; set; } - public int ProductionYear { get; set; } - public bool IsPlaceHolder { get; set; } - public bool IsHD { get; set; } - public bool IsFolder { get; set; } - public string Type { get; set; } - public int LocalTrailerCount { get; set; } - public EmbyUserdata UserData { get; set; } - public string VideoType { get; set; } - public EmbyImagetags ImageTags { get; set; } - public string[] BackdropImageTags { get; set; } - public string LocationType { get; set; } - public string MediaType { get; set; } - public bool HasSubtitles { get; set; } - public int CriticRating { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyPerson.cs b/Old/Ombi.Api.Models/Emby/EmbyPerson.cs deleted file mode 100644 index 7ae04d1c4..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyPerson.cs +++ /dev/null @@ -1,39 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: MovieInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyPerson - { - public string Name { get; set; } - public string Id { get; set; } - public string Role { get; set; } - public string Type { get; set; } - public string PrimaryImageTag { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyPolicy.cs b/Old/Ombi.Api.Models/Emby/EmbyPolicy.cs deleted file mode 100644 index 5ffe07bce..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyPolicy.cs +++ /dev/null @@ -1,63 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyUser.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyPolicy - { - public bool IsAdministrator { get; set; } - public bool IsHidden { get; set; } - public bool IsDisabled { get; set; } - public object[] BlockedTags { get; set; } - public bool EnableUserPreferenceAccess { get; set; } - public object[] AccessSchedules { get; set; } - public object[] BlockUnratedItems { get; set; } - public bool EnableRemoteControlOfOtherUsers { get; set; } - public bool EnableSharedDeviceControl { get; set; } - public bool EnableLiveTvManagement { get; set; } - public bool EnableLiveTvAccess { get; set; } - public bool EnableMediaPlayback { get; set; } - public bool EnableAudioPlaybackTranscoding { get; set; } - public bool EnableVideoPlaybackTranscoding { get; set; } - public bool EnablePlaybackRemuxing { get; set; } - public bool EnableContentDeletion { get; set; } - public bool EnableContentDownloading { get; set; } - public bool EnableSync { get; set; } - public bool EnableSyncTranscoding { get; set; } - public object[] EnabledDevices { get; set; } - public bool EnableAllDevices { get; set; } - public object[] EnabledChannels { get; set; } - public bool EnableAllChannels { get; set; } - public object[] EnabledFolders { get; set; } - public bool EnableAllFolders { get; set; } - public int InvalidLoginAttemptCount { get; set; } - public bool EnablePublicSharing { get; set; } - } - - -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyProviderids.cs b/Old/Ombi.Api.Models/Emby/EmbyProviderids.cs deleted file mode 100644 index d2858850f..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyProviderids.cs +++ /dev/null @@ -1,41 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: MovieInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyProviderids - { - public string Tmdb { get; set; } - public string Imdb { get; set; } - public string TmdbCollection { get; set; } - - public string Tvdb { get; set; } - public string Zap2It { get; set; } - public string TvRage { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyRemotetrailer.cs b/Old/Ombi.Api.Models/Emby/EmbyRemotetrailer.cs deleted file mode 100644 index 5f2d60923..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyRemotetrailer.cs +++ /dev/null @@ -1,36 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: MovieInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyRemotetrailer - { - public string Url { get; set; } - public string Name { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyRequiredhttpheaders.cs b/Old/Ombi.Api.Models/Emby/EmbyRequiredhttpheaders.cs deleted file mode 100644 index bd2cbef45..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyRequiredhttpheaders.cs +++ /dev/null @@ -1,36 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: MovieInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyRequiredhttpheaders - { - } - - -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbySeriesInformation.cs b/Old/Ombi.Api.Models/Emby/EmbySeriesInformation.cs deleted file mode 100644 index 7cc8ba9ce..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbySeriesInformation.cs +++ /dev/null @@ -1,83 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbySeriesInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; - -namespace Ombi.Api.Models.Emby -{ - public class EmbySeriesInformation - { - public string Name { get; set; } - public string ServerId { get; set; } - public string Id { get; set; } - public string Etag { get; set; } - public DateTime DateCreated { get; set; } - public DateTime DateLastMediaAdded { get; set; } - public bool CanDelete { get; set; } - public bool CanDownload { get; set; } - public bool SupportsSync { get; set; } - public string SortName { get; set; } - public DateTime PremiereDate { get; set; } - public EmbyExternalurl[] ExternalUrls { get; set; } - public string Path { get; set; } - public string OfficialRating { get; set; } - public string Overview { get; set; } - public string ShortOverview { get; set; } - public object[] Taglines { get; set; } - public string[] Genres { get; set; } - public float CommunityRating { get; set; } - public int VoteCount { get; set; } - public long CumulativeRunTimeTicks { get; set; } - public long RunTimeTicks { get; set; } - public string PlayAccess { get; set; } - public int ProductionYear { get; set; } - public EmbyRemotetrailer[] RemoteTrailers { get; set; } - public EmbyProviderids ProviderIds { get; set; } - public bool IsFolder { get; set; } - public string ParentId { get; set; } - public string Type { get; set; } - public EmbyPerson[] People { get; set; } - public EmbyStudio[] Studios { get; set; } - public int LocalTrailerCount { get; set; } - public EmbyUserdata UserData { get; set; } - public int RecursiveItemCount { get; set; } - public int ChildCount { get; set; } - public string DisplayPreferencesId { get; set; } - public string Status { get; set; } - public string AirTime { get; set; } - public string[] AirDays { get; set; } - public object[] Tags { get; set; } - public object[] Keywords { get; set; } - public EmbyImagetags ImageTags { get; set; } - public string[] BackdropImageTags { get; set; } - public object[] ScreenshotImageTags { get; set; } - public string LocationType { get; set; } - public string HomePageUrl { get; set; } - public object[] LockedFields { get; set; } - public bool LockData { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbySeriesItem.cs b/Old/Ombi.Api.Models/Emby/EmbySeriesItem.cs deleted file mode 100644 index 2c3674662..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbySeriesItem.cs +++ /dev/null @@ -1,56 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbySeriesItem.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; - -namespace Ombi.Api.Models.Emby -{ - public class EmbySeriesItem - { - public string Name { get; set; } - public string ServerId { get; set; } - public string Id { get; set; } - public DateTime PremiereDate { get; set; } - public string OfficialRating { get; set; } - public float CommunityRating { get; set; } - public long RunTimeTicks { get; set; } - public string PlayAccess { get; set; } - public int ProductionYear { get; set; } - public bool IsFolder { get; set; } - public string Type { get; set; } - public int LocalTrailerCount { get; set; } - public EmbyUserdata UserData { get; set; } - public int ChildCount { get; set; } - public string Status { get; set; } - public string AirTime { get; set; } - public string[] AirDays { get; set; } - public EmbyImagetags ImageTags { get; set; } - public string[] BackdropImageTags { get; set; } - public string LocationType { get; set; } - public DateTime EndDate { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbySeriesstudioinfo.cs b/Old/Ombi.Api.Models/Emby/EmbySeriesstudioinfo.cs deleted file mode 100644 index 8b2ab437d..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbySeriesstudioinfo.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyEpisodeInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbySeriesstudioinfo - { - public string Name { get; set; } - public string Id { get; set; } - } - -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyStudio.cs b/Old/Ombi.Api.Models/Emby/EmbyStudio.cs deleted file mode 100644 index 9fa11afe3..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyStudio.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: MovieInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyStudio - { - public string Name { get; set; } - public string Id { get; set; } - } - -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbySystemInfo.cs b/Old/Ombi.Api.Models/Emby/EmbySystemInfo.cs deleted file mode 100644 index e4b6859fc..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbySystemInfo.cs +++ /dev/null @@ -1,63 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbySystemInfo.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Emby -{ - public class EmbySystemInfo - { - public string SystemUpdateLevel { get; set; } - public string OperatingSystemDisplayName { get; set; } - public bool SupportsRunningAsService { get; set; } - public string MacAddress { get; set; } - public bool HasPendingRestart { get; set; } - public bool SupportsLibraryMonitor { get; set; } - public object[] InProgressInstallations { get; set; } - public int WebSocketPortNumber { get; set; } - public object[] CompletedInstallations { get; set; } - public bool CanSelfRestart { get; set; } - public bool CanSelfUpdate { get; set; } - public object[] FailedPluginAssemblies { get; set; } - public string ProgramDataPath { get; set; } - public string ItemsByNamePath { get; set; } - public string CachePath { get; set; } - public string LogPath { get; set; } - public string InternalMetadataPath { get; set; } - public string TranscodingTempPath { get; set; } - public int HttpServerPortNumber { get; set; } - public bool SupportsHttps { get; set; } - public int HttpsPortNumber { get; set; } - public bool HasUpdateAvailable { get; set; } - public bool SupportsAutoRunAtStartup { get; set; } - public string EncoderLocationType { get; set; } - public string SystemArchitecture { get; set; } - public string LocalAddress { get; set; } - public string WanAddress { get; set; } - public string ServerName { get; set; } - public string Version { get; set; } - public string OperatingSystem { get; set; } - public string Id { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyUser.cs b/Old/Ombi.Api.Models/Emby/EmbyUser.cs deleted file mode 100644 index f93cd8230..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyUser.cs +++ /dev/null @@ -1,53 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyUser.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; - -namespace Ombi.Api.Models.Emby -{ - public class EmbyUser - { - public string Name { get; set; } - public string ServerId { get; set; } - public string ConnectUserName { get; set; } - public string ConnectUserId { get; set; } - public string ConnectLinkType { get; set; } - public string Id { get; set; } - public bool HasPassword { get; set; } - public bool HasConfiguredPassword { get; set; } - public bool HasConfiguredEasyPassword { get; set; } - public DateTime LastLoginDate { get; set; } - public DateTime LastActivityDate { get; set; } - public EmbyConfiguration Configuration { get; set; } - public EmbyPolicy Policy { get; set; } - } - - public class EmbyUserLogin - { - public EmbyUser User { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Emby/EmbyUserdata.cs b/Old/Ombi.Api.Models/Emby/EmbyUserdata.cs deleted file mode 100644 index fece18a33..000000000 --- a/Old/Ombi.Api.Models/Emby/EmbyUserdata.cs +++ /dev/null @@ -1,42 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: EmbyLibrary.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System; - -namespace Ombi.Api.Models.Emby -{ - public class EmbyUserdata - { - public double PlaybackPositionTicks { get; set; } - public int PlayCount { get; set; } - public bool IsFavorite { get; set; } - public bool Played { get; set; } - public string Key { get; set; } - public DateTime LastPlayedDate { get; set; } - public int UnplayedItemCount { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Movie/CouchPotatoAdd.cs b/Old/Ombi.Api.Models/Movie/CouchPotatoAdd.cs deleted file mode 100644 index 926f51e40..000000000 --- a/Old/Ombi.Api.Models/Movie/CouchPotatoAdd.cs +++ /dev/null @@ -1,119 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: CouchPotatoAdd.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Collections.Generic; - -namespace Ombi.Api.Models.Movie -{ - public class CouchPotatoAdd - { - public Movie movie { get; set; } - public bool success { get; set; } - } - - public class Rating - { - public List imdb { get; set; } - } - - public class Images - { - public List actors { get; set; } - public List backdrop { get; set; } - public List backdrop_original { get; set; } - public List banner { get; set; } - public List clear_art { get; set; } - public List disc_art { get; set; } - public List extra_fanart { get; set; } - public List extra_thumbs { get; set; } - public List landscape { get; set; } - public List logo { get; set; } - public List poster { get; set; } - public List poster_original { get; set; } - } - - public class Info - { - public List actor_roles { get; set; } - public List actors { get; set; } - public List directors { get; set; } - public List genres { get; set; } - public Images images { get; set; } - public string imdb { get; set; } - public string mpaa { get; set; } - public string original_title { get; set; } - public string plot { get; set; } - public Rating rating { get; set; } - public Release_Date release_date { get; set; } - public string released { get; set; } - public int runtime { get; set; } - public string tagline { get; set; } - public List titles { get; set; } - public int tmdb_id { get; set; } - public string type { get; set; } - public bool via_imdb { get; set; } - public bool via_tmdb { get; set; } - public List writers { get; set; } - public int year { get; set; } - } - - public class Release_Date - { - public bool bluray { get; set; } - public int dvd { get; set; } - public int expires { get; set; } - public int theater { get; set; } - } - - public class Files - { - public List image_poster { get; set; } - } - - public class Identifiers - { - public string imdb { get; set; } - } - - public class Movie - { - public string _id { get; set; } - public string _rev { get; set; } - public string _t { get; set; } - public object category_id { get; set; } - public Files files { get; set; } - public Identifiers identifiers { get; set; } - public Info info { get; set; } - public int last_edit { get; set; } - public string profile_id { get; set; } - public List releases { get; set; } - public string status { get; set; } - public List tags { get; set; } - public string title { get; set; } - public string type { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Movie/CouchPotatoApiKey.cs b/Old/Ombi.Api.Models/Movie/CouchPotatoApiKey.cs deleted file mode 100644 index 39d9a1aa3..000000000 --- a/Old/Ombi.Api.Models/Movie/CouchPotatoApiKey.cs +++ /dev/null @@ -1,39 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: CouchPotatoApiKey.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using Newtonsoft.Json; - -namespace Ombi.Api.Models.Movie -{ - public class CouchPotatoApiKey - { - [JsonProperty("success")] - public bool success { get; set; } - [JsonProperty("api_key")] - public string ApiKey { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Movie/CouchPotatoMovies.cs b/Old/Ombi.Api.Models/Movie/CouchPotatoMovies.cs deleted file mode 100644 index fcf7abcb5..000000000 --- a/Old/Ombi.Api.Models/Movie/CouchPotatoMovies.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.Collections.Generic; - -namespace Ombi.Api.Models.Movie -{ - public class CouchPotatoMovies - { - public List movies { get; set; } - public int total { get; set; } - public bool success { get; set; } - public bool empty { get; set; } - } -} diff --git a/Old/Ombi.Api.Models/Movie/CouchPotatoProfiles.cs b/Old/Ombi.Api.Models/Movie/CouchPotatoProfiles.cs deleted file mode 100644 index 4daf85918..000000000 --- a/Old/Ombi.Api.Models/Movie/CouchPotatoProfiles.cs +++ /dev/null @@ -1,56 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: CouchPotatoProfiles.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Collections.Generic; -using Newtonsoft.Json; - -namespace Ombi.Api.Models.Movie -{ - public class ProfileList - { - public bool core { get; set; } - public bool hide { get; set; } - public string _rev { get; set; } - public List finish { get; set; } - public List qualities { get; set; } - public string _id { get; set; } - public string _t { get; set; } - public string label { get; set; } - public int minimum_score { get; set; } - public List stop_after { get; set; } - public List wait_for { get; set; } - public int order { get; set; } - [JsonProperty(PropertyName = "3d")] - public List threeD { get; set; } - } - - public class CouchPotatoProfiles - { - public List list { get; set; } - public bool success { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Movie/CouchPotatoStatus.cs b/Old/Ombi.Api.Models/Movie/CouchPotatoStatus.cs deleted file mode 100644 index 868b75e29..000000000 --- a/Old/Ombi.Api.Models/Movie/CouchPotatoStatus.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Ombi.Api.Models.Movie -{ - public class CouchPotatoStatus - { - public bool success { get; set; } - } -} diff --git a/Old/Ombi.Api.Models/Movie/TmdbMovieDetails.cs b/Old/Ombi.Api.Models/Movie/TmdbMovieDetails.cs deleted file mode 100644 index 4d987ac02..000000000 --- a/Old/Ombi.Api.Models/Movie/TmdbMovieDetails.cs +++ /dev/null @@ -1,104 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: TmdbMovieDetails.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Collections.Generic; - -namespace Ombi.Api.Models.Movie -{ - - public class Genre - { - public int id { get; set; } - public string name { get; set; } - } - - public class ProductionCompany - { - public string name { get; set; } - public int id { get; set; } - } - - public class ProductionCountry - { - public string iso_3166_1 { get; set; } - public string name { get; set; } - } - - public class SpokenLanguage - { - public string iso_639_1 { get; set; } - public string name { get; set; } - } - - public class Result - { - public string id { get; set; } - public string iso_639_1 { get; set; } - public string iso_3166_1 { get; set; } - public string key { get; set; } - public string name { get; set; } - public string site { get; set; } - public int size { get; set; } - public string type { get; set; } - } - - public class Videos - { - public List results { get; set; } - } - - public class TmdbMovieDetails - { - public bool adult { get; set; } - public string backdrop_path { get; set; } - public object belongs_to_collection { get; set; } - public int budget { get; set; } - public List genres { get; set; } - public string homepage { get; set; } - public int id { get; set; } - public string imdb_id { get; set; } - public string original_language { get; set; } - public string original_title { get; set; } - public string overview { get; set; } - public double popularity { get; set; } - public string poster_path { get; set; } - public List production_companies { get; set; } - public List production_countries { get; set; } - public string release_date { get; set; } - public int revenue { get; set; } - public int runtime { get; set; } - public List spoken_languages { get; set; } - public string status { get; set; } - public string tagline { get; set; } - public string title { get; set; } - public bool video { get; set; } - public double vote_average { get; set; } - public int vote_count { get; set; } - public Videos videos { get; set; } - } - -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Music/HeadphonesAlbumSearchResult.cs b/Old/Ombi.Api.Models/Music/HeadphonesAlbumSearchResult.cs deleted file mode 100644 index b30fcd79f..000000000 --- a/Old/Ombi.Api.Models/Music/HeadphonesAlbumSearchResult.cs +++ /dev/null @@ -1,45 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: HeadphonesAlbumSearchResult.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Music -{ - public class HeadphonesAlbumSearchResult - { - public string rgid { get; set; } - public string albumurl { get; set; } - public string tracks { get; set; } - public string date { get; set; } - public string id { get; set; } // Artist ID - public string rgtype { get; set; } - public string title { get; set; } - public string url { get; set; } - public string country { get; set; } - public string albumid { get; set; } // AlbumId - public int score { get; set; } - public string uniquename { get; set; } - public string formats { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Music/HeadphonesArtistSearchResult.cs b/Old/Ombi.Api.Models/Music/HeadphonesArtistSearchResult.cs deleted file mode 100644 index 8115f1215..000000000 --- a/Old/Ombi.Api.Models/Music/HeadphonesArtistSearchResult.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: HeadphonesSearchResult.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Music -{ - public class HeadphonesArtistSearchResult - { - public string url { get; set; } // MusicBrainz url - public int score { get; set; } // Search Match score? - public string name { get; set; } // Artist Name - public string uniquename { get; set; } // Artist Unique Name - public string id { get; set; } // Artist Unique ID for MusicBrainz - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Music/HeadphonesGetIndex.cs b/Old/Ombi.Api.Models/Music/HeadphonesGetIndex.cs deleted file mode 100644 index 81adf8f59..000000000 --- a/Old/Ombi.Api.Models/Music/HeadphonesGetIndex.cs +++ /dev/null @@ -1,49 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: HeadphonesGetIndex.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Music -{ - public class HeadphonesGetIndex - { - public string Status { get; set; } - public string ThumbURL { get; set; } - public string DateAdded { get; set; } - public string MetaCritic { get; set; } - public int? TotalTracks { get; set; } - public object Type { get; set; } - public int? IncludeExtras { get; set; } - public string ArtistName { get; set; } - public string LastUpdated { get; set; } - public string ReleaseDate { get; set; } - public string AlbumID { get; set; } - public string ArtistID { get; set; } - public string ArtworkURL { get; set; } - public string Extras { get; set; } - public int? HaveTracks { get; set; } - public string LatestAlbum { get; set; } - public string ArtistSortName { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Music/HeadphonesVersion.cs b/Old/Ombi.Api.Models/Music/HeadphonesVersion.cs deleted file mode 100644 index 42829d3ac..000000000 --- a/Old/Ombi.Api.Models/Music/HeadphonesVersion.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: HeadphonesVersion.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Music -{ - public class HeadphonesVersion - { - public string install_type { get; set; } - public object current_version { get; set; } - public string git_path { get; set; } - public string latest_version { get; set; } - public int commits_behind { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Music/MusicBrainzCoverArt.cs b/Old/Ombi.Api.Models/Music/MusicBrainzCoverArt.cs deleted file mode 100644 index 6f6c4930a..000000000 --- a/Old/Ombi.Api.Models/Music/MusicBrainzCoverArt.cs +++ /dev/null @@ -1,56 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: MusicBrainzCoverArt.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Collections.Generic; - -namespace Ombi.Api.Models.Music -{ - public class Thumbnails - { - public string large { get; set; } - public string small { get; set; } - } - - public class Image - { - public List types { get; set; } - public bool front { get; set; } - public bool back { get; set; } - public int edit { get; set; } - public string image { get; set; } - public string comment { get; set; } - public bool approved { get; set; } - public string id { get; set; } - public Thumbnails thumbnails { get; set; } - } - - public class MusicBrainzCoverArt - { - public List images { get; set; } - public string release { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Music/MusicBrainzReleaseInfo.cs b/Old/Ombi.Api.Models/Music/MusicBrainzReleaseInfo.cs deleted file mode 100644 index 5cea78619..000000000 --- a/Old/Ombi.Api.Models/Music/MusicBrainzReleaseInfo.cs +++ /dev/null @@ -1,68 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: MusicBrainzReleaseInfo.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Collections.Generic; -using Newtonsoft.Json; - -namespace Ombi.Api.Models.Music -{ - public class CoverArtArchive - { - public int count { get; set; } - public bool back { get; set; } - public bool artwork { get; set; } - public bool front { get; set; } - public bool darkened { get; set; } - } - - - public class MusicBrainzReleaseInfo - { - [JsonProperty(PropertyName = "artist-credit")] - public List ArtistCredits { get; set; } - public string date { get; set; } - public string status { get; set; } - public string asin { get; set; } - public string title { get; set; } - public string quality { get; set; } - public string country { get; set; } - public string packaging { get; set; } - - [JsonProperty(PropertyName = "text-representation")] - public TextRepresentation TextRepresentation { get; set; } - - [JsonProperty(PropertyName = "cover-art-archive")] - public CoverArtArchive CoverArtArchive { get; set; } - public string barcode { get; set; } - public string disambiguation { get; set; } - - [JsonProperty(PropertyName = "release-events")] - public List ReleaseEvents { get; set; } - public string id { get; set; } - } - -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Music/MusicBrainzSearchResults.cs b/Old/Ombi.Api.Models/Music/MusicBrainzSearchResults.cs deleted file mode 100644 index 9f7f38cf2..000000000 --- a/Old/Ombi.Api.Models/Music/MusicBrainzSearchResults.cs +++ /dev/null @@ -1,154 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: MusicBrainzSearchResults.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Collections.Generic; -using Newtonsoft.Json; - -namespace Ombi.Api.Models.Music -{ - public class TextRepresentation - { - public string language { get; set; } - public string script { get; set; } - } - - public class Alias - { - [JsonProperty(PropertyName = "sort-name")] - public string SortName { get; set; } - public string name { get; set; } - public object locale { get; set; } - public string type { get; set; } - public object primary { get; set; } - [JsonProperty(PropertyName = "begin-date")] - public object BeginDate { get; set; } - [JsonProperty(PropertyName = "end-date")] - public object EndDate { get; set; } - } - - public class Artist - { - public string id { get; set; } - public string name { get; set; } - [JsonProperty(PropertyName = "sort-date")] - public string SortName { get; set; } - public string disambiguation { get; set; } - public List aliases { get; set; } - } - - public class ArtistCredit - { - public Artist artist { get; set; } - public string name { get; set; } - public string joinphrase { get; set; } - } - - public class ReleaseGroup - { - public string id { get; set; } - [JsonProperty(PropertyName = "primary-type")] - public string PrimaryType { get; set; } - [JsonProperty(PropertyName = "secondary-types")] - public List SecondaryTypes { get; set; } - } - - public class Area - { - public string id { get; set; } - public string name { get; set; } - [JsonProperty(PropertyName = "sort-name")] - public string SortName { get; set; } - [JsonProperty(PropertyName = "iso-3166-1-codes")] - public List ISO31661Codes { get; set; } - } - - public class ReleaseEvent - { - public string date { get; set; } - public Area area { get; set; } - } - - public class Label - { - public string id { get; set; } - public string name { get; set; } - } - - public class LabelInfo - { - [JsonProperty(PropertyName = "catalog-number")] - public string CatalogNumber { get; set; } - public Label label { get; set; } - } - - public class Medium - { - public string format { get; set; } - [JsonProperty(PropertyName = "disc-count")] - public int DiscCount { get; set; } - [JsonProperty(PropertyName = "catalog-number")] - public int CatalogNumber { get; set; } - } - - public class Release - { - public string id { get; set; } - public string score { get; set; } - public int count { get; set; } - public string title { get; set; } - public string status { get; set; } - public string disambiguation { get; set; } - public string packaging { get; set; } - - [JsonProperty(PropertyName = "text-representation")] - public TextRepresentation TextRepresentation { get; set; } - [JsonProperty(PropertyName = "artist-credit")] - public List ArtistCredit { get; set; } - [JsonProperty(PropertyName = "release-group")] - public ReleaseGroup ReleaseGroup { get; set; } - public string date { get; set; } - public string country { get; set; } - [JsonProperty(PropertyName = "release-events")] - public List ReleaseEvents { get; set; } - public string barcode { get; set; } - public string asin { get; set; } - [JsonProperty(PropertyName = "label-info")] - public List LabelInfo { get; set; } - [JsonProperty(PropertyName = "track-count")] - public int TrackCount { get; set; } - public List media { get; set; } - } - - public class MusicBrainzSearchResults - { - public string created { get; set; } - public int count { get; set; } - public int offset { get; set; } - public List releases { get; set; } - } - -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Netflix/NetflixMovieResult.cs b/Old/Ombi.Api.Models/Netflix/NetflixMovieResult.cs deleted file mode 100644 index 0ed213cf2..000000000 --- a/Old/Ombi.Api.Models/Netflix/NetflixMovieResult.cs +++ /dev/null @@ -1,69 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: NetflixMovieResult.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using Newtonsoft.Json; - -namespace Ombi.Api.Models.Netflix -{ - public class NetflixMovieResult - { - [JsonProperty(PropertyName= "unit")] - public int Unit { get; set; } - - [JsonProperty(PropertyName = "show_id")] - public int ShowId { get; set; } - - [JsonProperty(PropertyName = "show_title")] - public string Title { get; set; } - - [JsonProperty(PropertyName = "release_year")] - public string ReleaseYear { get; set; } - [JsonProperty(PropertyName = "rating")] - public string Rating { get; set; } - [JsonProperty(PropertyName = "Category")] - public string Category { get; set; } - [JsonProperty(PropertyName = "show_cast")] - public string ShowCast { get; set; } - [JsonProperty(PropertyName = "director")] - public string Director { get; set; } - [JsonProperty(PropertyName = "summary")] - public string Summary { get; set; } - [JsonProperty(PropertyName = "poster")] - public string Poster { get; set; } - [JsonProperty(PropertyName = "mediatype")] - public string Mediatype { get; set; } - [JsonProperty(PropertyName = "runtime")] - public string Runtime { get; set; } - - - // For errors - [JsonProperty(PropertyName = "errorcode")] - public int ErrorCode { get; set; } - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Notifications/DiscordWebhookRequest.cs b/Old/Ombi.Api.Models/Notifications/DiscordWebhookRequest.cs deleted file mode 100644 index 653235c08..000000000 --- a/Old/Ombi.Api.Models/Notifications/DiscordWebhookRequest.cs +++ /dev/null @@ -1,34 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: DiscordWebhookRequest.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Notifications -{ - public class DiscordWebhookRequest - { - public string content { get; set; } - public string username { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Notifications/DiscordWebhookResponse.cs b/Old/Ombi.Api.Models/Notifications/DiscordWebhookResponse.cs deleted file mode 100644 index ac7978c4c..000000000 --- a/Old/Ombi.Api.Models/Notifications/DiscordWebhookResponse.cs +++ /dev/null @@ -1,47 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: DiscordWebhookResponse.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using Newtonsoft.Json; -using Newtonsoft.Json.Serialization; - -namespace Ombi.Api.Models.Notifications -{ - public class DiscordWebhookResponse - { - public string name { get; set; } - [JsonProperty(PropertyName = "channel_id")] - public string channelid { get; set; } - - public string token { get; set; } - public string avatar { get; set; } - [JsonProperty(PropertyName = "guild_id")] - public string guildid { get; set; } - - public string id { get; set; } - - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Notifications/PushbulletPush.cs b/Old/Ombi.Api.Models/Notifications/PushbulletPush.cs deleted file mode 100644 index d8e0b22c3..000000000 --- a/Old/Ombi.Api.Models/Notifications/PushbulletPush.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: PushbulletPush.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -namespace Ombi.Api.Models.Notifications -{ - public class PushbulletPush - { - public string body { get; set; } - public string title { get; set; } - public string type { get; set; } - public string device_iden { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Notifications/PushbulletResponse.cs b/Old/Ombi.Api.Models/Notifications/PushbulletResponse.cs deleted file mode 100644 index 65e580110..000000000 --- a/Old/Ombi.Api.Models/Notifications/PushbulletResponse.cs +++ /dev/null @@ -1,48 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: PushbulletResponse.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Notifications -{ - public class PushbulletResponse - { - public bool active { get; set; } - public string iden { get; set; } - public double created { get; set; } - public double modified { get; set; } - public string type { get; set; } - public bool dismissed { get; set; } - public string direction { get; set; } - public string sender_iden { get; set; } - public string sender_email { get; set; } - public string sender_email_normalized { get; set; } - public string sender_name { get; set; } - public string receiver_iden { get; set; } - public string receiver_email { get; set; } - public string receiver_email_normalized { get; set; } - public string title { get; set; } - public string body { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Notifications/PushoverResponse.cs b/Old/Ombi.Api.Models/Notifications/PushoverResponse.cs deleted file mode 100644 index 572347a91..000000000 --- a/Old/Ombi.Api.Models/Notifications/PushoverResponse.cs +++ /dev/null @@ -1,34 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: PushoverResponse.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -namespace Ombi.Api.Models.Notifications -{ - public class PushoverResponse - { - public int status { get; set; } - public string request { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Notifications/SlackNotificationBody.cs b/Old/Ombi.Api.Models/Notifications/SlackNotificationBody.cs deleted file mode 100644 index 676f853c9..000000000 --- a/Old/Ombi.Api.Models/Notifications/SlackNotificationBody.cs +++ /dev/null @@ -1,57 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: SlackNotificationBody.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using Newtonsoft.Json; - -namespace Ombi.Api.Models.Notifications -{ - public class SlackNotificationBody - { - [JsonConstructor] - public SlackNotificationBody() - { - username = "Ombi"; - } - - [JsonIgnore] - private string _username; - public string username - { - get { return _username; } - set - { - if (!string.IsNullOrEmpty(value)) - _username = value; - } - } - public string channel { get; set; } - public string text { get; set; } - - public string icon_url { get; set; } - public string icon_emoji { get; set; } - } -} \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Ombi.Api.Models.csproj b/Old/Ombi.Api.Models/Ombi.Api.Models.csproj deleted file mode 100644 index e13506d5b..000000000 --- a/Old/Ombi.Api.Models/Ombi.Api.Models.csproj +++ /dev/null @@ -1,170 +0,0 @@ - - - - - Debug - AnyCPU - {CB37A5F8-6DFC-4554-99D3-A42B502E4591} - Library - Properties - Ombi.Api.Models - Ombi.Api.Models - v4.5 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll - True - - - ..\packages\RestSharp.105.2.3\lib\net45\RestSharp.dll - True - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Designer - - - - - {1252336D-42A3-482A-804C-836E60173DFA} - Ombi.Helpers - - - - - \ No newline at end of file diff --git a/Old/Ombi.Api.Models/Plex/PlexAccount.cs b/Old/Ombi.Api.Models/Plex/PlexAccount.cs deleted file mode 100644 index 189e4c5f1..000000000 --- a/Old/Ombi.Api.Models/Plex/PlexAccount.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Xml.Serialization; - -namespace Ombi.Api.Models.Plex -{ - [XmlRoot(ElementName = "user")] - public class PlexAccount - { - [XmlAttribute(AttributeName = "id")] - public string Id { get; set; } - [XmlAttribute(AttributeName = "username")] - public string Username { get; set; } - [XmlAttribute(AttributeName = "email")] - public string Email { get; set; } - [XmlAttribute(AttributeName = "authenticationToken")] - public string AuthToken { get; set; } - } -} diff --git a/Old/Ombi.Api.Models/Plex/PlexAuthentication.cs b/Old/Ombi.Api.Models/Plex/PlexAuthentication.cs deleted file mode 100644 index 73b0b0397..000000000 --- a/Old/Ombi.Api.Models/Plex/PlexAuthentication.cs +++ /dev/null @@ -1,64 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: PlexAuthentication.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Collections.Generic; - -namespace Ombi.Api.Models.Plex -{ - public class PlexAuthentication - { - public User user { get; set; } - } - public class Subscription - { - public bool active { get; set; } - public string status { get; set; } - public object plan { get; set; } - public object features { get; set; } - } - - public class Roles - { - public List roles { get; set; } - } - - public class User - { - public string email { get; set; } - public string uuid { get; set; } - public string joined_at { get; set; } - public string username { get; set; } - public string title { get; set; } - public string authentication_token { get; set; } - public Subscription subscription { get; set; } - public Roles roles { get; set; } - public List entitlements { get; set; } - public object confirmed_at { get; set; } - public int forum_id { get; set; } - } -} - diff --git a/Old/Ombi.Api.Models/Plex/PlexEpisodeMetadata.cs b/Old/Ombi.Api.Models/Plex/PlexEpisodeMetadata.cs deleted file mode 100644 index a6e8788e3..000000000 --- a/Old/Ombi.Api.Models/Plex/PlexEpisodeMetadata.cs +++ /dev/null @@ -1,82 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: PlexEpisodeMetadata.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - -using System.Collections.Generic; -using System.Xml.Serialization; - -namespace Ombi.Api.Models.Plex -{ - [XmlRoot(ElementName = "MediaContainer")] - public class PlexEpisodeMetadata - { - [XmlElement(ElementName = "Video")] - public List