moved namespaces

pull/843/head
tidusjar 8 years ago
parent b90fd59e5e
commit 9c517aa2e0

@ -24,11 +24,11 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System;
using RestSharp;
namespace PlexRequests.Api.Interfaces
namespace Ombi.Api.Interfaces
{
public interface IApiRequest
{

@ -26,10 +26,9 @@
#endregion
using System;
using Ombi.Api.Models.Movie;
using PlexRequests.Api.Models.Movie;
namespace PlexRequests.Api.Interfaces
namespace Ombi.Api.Interfaces
{
public interface ICouchPotatoApi
{

@ -24,13 +24,13 @@
// 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;
using PlexRequests.Api.Models.Music;
namespace PlexRequests.Api.Interfaces
namespace Ombi.Api.Interfaces
{
public interface IHeadphonesApi
{

@ -24,9 +24,10 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using PlexRequests.Api.Models.Music;
namespace PlexRequests.Api.Interfaces
using Ombi.Api.Models.Music;
namespace Ombi.Api.Interfaces
{
public interface IMusicBrainzApi
{

@ -24,11 +24,11 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using PlexRequests.Api.Models.Plex;
using System;
using Ombi.Api.Models.Plex;
namespace PlexRequests.Api.Interfaces
namespace Ombi.Api.Interfaces
{
public interface IPlexApi
{

@ -24,11 +24,11 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Threading.Tasks;
using PlexRequests.Api.Models.Notifications;
using System.Threading.Tasks;
using Ombi.Api.Models.Notifications;
namespace PlexRequests.Api.Interfaces
namespace Ombi.Api.Interfaces
{
public interface IPushbulletApi
{

@ -24,11 +24,11 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Threading.Tasks;
using PlexRequests.Api.Models.Notifications;
using System.Threading.Tasks;
using Ombi.Api.Models.Notifications;
namespace PlexRequests.Api.Interfaces
namespace Ombi.Api.Interfaces
{
public interface IPushoverApi
{

@ -27,9 +27,9 @@
using System;
using System.Threading.Tasks;
using PlexRequests.Api.Models.SickRage;
using Ombi.Api.Models.SickRage;
namespace PlexRequests.Api.Interfaces
namespace Ombi.Api.Interfaces
{
public interface ISickRageApi
{

@ -24,11 +24,11 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Threading.Tasks;
using PlexRequests.Api.Models.Notifications;
using System.Threading.Tasks;
using Ombi.Api.Models.Notifications;
namespace PlexRequests.Api.Interfaces
namespace Ombi.Api.Interfaces
{
public interface ISlackApi
{

@ -24,12 +24,12 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using Ombi.Api.Models.Sonarr;
using PlexRequests.Api.Models.Sonarr;
namespace PlexRequests.Api.Interfaces
namespace Ombi.Api.Interfaces
{
public interface ISonarrApi
{

@ -24,9 +24,10 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Movie
namespace Ombi.Api.Models.Movie
{
public class CouchPotatoAdd
{

@ -24,9 +24,10 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using Newtonsoft.Json;
namespace PlexRequests.Api.Models.Movie
namespace Ombi.Api.Models.Movie
{
public class CouchPotatoApiKey
{

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Movie
namespace Ombi.Api.Models.Movie
{
public class CouchPotatoMovies
{

@ -26,11 +26,9 @@
#endregion
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace PlexRequests.Api.Models.Movie
namespace Ombi.Api.Models.Movie
{
public class ProfileList
{

@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlexRequests.Api.Models.Movie
namespace Ombi.Api.Models.Movie
{
public class CouchPotatoStatus
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Music
namespace Ombi.Api.Models.Music
{
public class HeadphonesAlbumSearchResult
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Music
namespace Ombi.Api.Models.Music
{
public class HeadphonesArtistSearchResult
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Music
namespace Ombi.Api.Models.Music
{
public class HeadphonesGetIndex
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Music
namespace Ombi.Api.Models.Music
{
public class HeadphonesVersion
{

@ -24,9 +24,10 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Music
namespace Ombi.Api.Models.Music
{
public class Thumbnails
{

@ -24,11 +24,11 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Collections.Generic;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace PlexRequests.Api.Models.Music
namespace Ombi.Api.Models.Music
{
public class CoverArtArchive
{

@ -24,11 +24,11 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Collections.Generic;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace PlexRequests.Api.Models.Music
namespace Ombi.Api.Models.Music
{
public class TextRepresentation
{

@ -24,9 +24,8 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using Newtonsoft.Json;
namespace PlexRequests.Api.Models.Notifications
namespace Ombi.Api.Models.Notifications
{
public class PushbulletPush
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Notifications
namespace Ombi.Api.Models.Notifications
{
public class PushbulletResponse
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Notifications
namespace Ombi.Api.Models.Notifications
{
public class PushoverResponse
{

@ -24,9 +24,10 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using Newtonsoft.Json;
namespace PlexRequests.Api.Models.Notifications
namespace Ombi.Api.Models.Notifications
{
public class SlackNotificationBody
{

@ -1,6 +1,6 @@
using System.Xml.Serialization;
namespace PlexRequests.Api.Models.Plex
namespace Ombi.Api.Models.Plex
{
[XmlRoot(ElementName = "user")]
public class PlexAccount

@ -27,7 +27,7 @@
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Plex
namespace Ombi.Api.Models.Plex
{
public class PlexAuthentication
{

@ -24,11 +24,12 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Plex
{
using System.Xml.Serialization;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace Ombi.Api.Models.Plex
{
[XmlRoot(ElementName = "MediaContainer")]
public class PlexEpisodeMetadata
{

@ -27,7 +27,7 @@
using System.Xml.Serialization;
namespace PlexRequests.Api.Models.Plex
namespace Ombi.Api.Models.Plex
{
[XmlRoot(ElementName = "errors")]
public class PlexError

@ -27,7 +27,7 @@
using System.Xml.Serialization;
namespace PlexRequests.Api.Models.Plex
namespace Ombi.Api.Models.Plex
{
[XmlRoot(ElementName = "Server")]
public class Server

@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Xml.Serialization;
namespace PlexRequests.Api.Models.Plex
namespace Ombi.Api.Models.Plex
{
[XmlRoot(ElementName = "MediaContainer")]
public class PlexLibraries

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Services
namespace Ombi.Api.Models.Plex
{
public enum PlexMediaType
{

@ -28,7 +28,7 @@
using System.Collections.Generic;
using System.Xml.Serialization;
namespace PlexRequests.Api.Models.Plex
namespace Ombi.Api.Models.Plex
{
[XmlRoot(ElementName = "MediaContainer")]
public class PlexMetadata

@ -24,10 +24,11 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Collections.Generic;
using System.Xml.Serialization;
namespace PlexRequests.Api.Models.Plex
namespace Ombi.Api.Models.Plex
{
[XmlRoot(ElementName = "Part")]
public class Part

@ -24,10 +24,11 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Collections.Generic;
using System.Xml.Serialization;
namespace PlexRequests.Api.Models.Plex
namespace Ombi.Api.Models.Plex
{
[XmlRoot(ElementName = "Server")]
public class ServerInfo

@ -1,11 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace PlexRequests.Api.Models.Plex
namespace Ombi.Api.Models.Plex
{
[XmlRoot(ElementName = "Directory")]
public class Directory

@ -25,7 +25,7 @@
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Plex
namespace Ombi.Api.Models.Plex
{
public class PlexUserRequest
{

@ -27,7 +27,7 @@
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Plex
namespace Ombi.Api.Models.Plex
{
public class RecentlyAddedChild
{

@ -1,4 +1,4 @@
namespace PlexRequests.Api.Models.SickRage
namespace Ombi.Api.Models.SickRage
{
public abstract class SickRageBase<T>
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.SickRage
namespace Ombi.Api.Models.SickRage
{
public class SickRagePingData
{

@ -1,7 +1,7 @@
using Newtonsoft.Json;
using PlexRequests.Helpers;
using Ombi.Helpers;
namespace PlexRequests.Api.Models.SickRage
namespace Ombi.Api.Models.SickRage
{
public class SickRageSeasonList : SickRageBase<object>
{

@ -27,7 +27,7 @@
using System.Collections.Generic;
namespace PlexRequests.Api.Models.SickRage
namespace Ombi.Api.Models.SickRage
{
public class Cache
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.SickRage
namespace Ombi.Api.Models.SickRage
{
public static class SickRageStatus
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.SickRage
namespace Ombi.Api.Models.SickRage
{
public class SickRageTvAddData
{

@ -25,10 +25,9 @@
// ************************************************************************/
#endregion
using System;
using System.Collections.Generic;
namespace PlexRequests.Api.Models.SickRage
namespace Ombi.Api.Models.SickRage
{
public class SickrageShows : SickRageBase<Dictionary<int, Item>>
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class SonarrAddEpisodeBody
{

@ -27,7 +27,7 @@
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class Body
{

@ -1,9 +1,8 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using System;
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class Season
{

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class SonarrAllSeries
{

@ -25,7 +25,7 @@
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class Revision

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class SonarrEpisodes
{

@ -25,10 +25,7 @@
// ************************************************************************/
#endregion
using System.Collections.Generic;
using Newtonsoft.Json;
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class SonarrError
{

@ -27,7 +27,7 @@
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class Cutoff
{

@ -25,9 +25,7 @@
// ************************************************************************/
#endregion
using System.Xml.Linq;
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class SonarrSearchCommand
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class SeasonBody
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class SeriesBody
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Sonarr
namespace Ombi.Api.Models.Sonarr
{
public class SystemStatus
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Tv
namespace Ombi.Api.Models.Tv
{
public class Authentication
{

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Tv
namespace Ombi.Api.Models.Tv
{
public class TvMazeShow
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api.Models.Tv
namespace Ombi.Api.Models.Tv
{
public class TvMazeEpisodes
{

@ -24,9 +24,10 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Tv
namespace Ombi.Api.Models.Tv
{
public class Schedule
{

@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlexRequests.Api.Models.Tv
namespace Ombi.Api.Models.Tv
{
public class TvMazeSeasons : TvMazeShow
{

@ -24,9 +24,10 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Tv
namespace Ombi.Api.Models.Tv
{
public class TvShowSearchResult
{

@ -24,9 +24,10 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Tv
namespace Ombi.Api.Models.Tv
{
public class TvShow
{

@ -27,7 +27,7 @@
using System.Collections.Generic;
namespace PlexRequests.Api.Models.Tv
namespace Ombi.Api.Models.Tv
{
public class RatingsInfo
{

@ -24,20 +24,17 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System.IO;
using System.Xml.Serialization;
using Newtonsoft.Json;
using NLog;
using PlexRequests.Api.Interfaces;
using PlexRequests.Helpers.Exceptions;
using Ombi.Api.Interfaces;
using Ombi.Helpers.Exceptions;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class ApiRequest : IApiRequest
{

@ -24,19 +24,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System;
using Newtonsoft.Json.Linq;
using NLog;
using PlexRequests.Api.Interfaces;
using PlexRequests.Api.Models.Movie;
using PlexRequests.Helpers;
using PlexRequests.Helpers.Exceptions;
using Ombi.Api.Interfaces;
using Ombi.Api.Models.Movie;
using Ombi.Helpers;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class CouchPotatoApi : ICouchPotatoApi
{

@ -24,21 +24,18 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NLog;
using PlexRequests.Api.Interfaces;
using PlexRequests.Api.Models.Music;
using PlexRequests.Helpers;
using Ombi.Api.Interfaces;
using Ombi.Api.Models.Music;
using Ombi.Helpers;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class HeadphonesApi : IHeadphonesApi
{

@ -24,9 +24,10 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using PlexRequests.Helpers;
namespace PlexRequests.Api
using Ombi.Helpers;
namespace Ombi.Api
{
public abstract class MovieBase
{

@ -24,18 +24,15 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System;
using Newtonsoft.Json;
using NLog;
using PlexRequests.Api.Interfaces;
using PlexRequests.Api.Models.Music;
using Ombi.Api.Interfaces;
using Ombi.Api.Models.Music;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class MusicBrainzApi : IMusicBrainzApi
{

@ -23,21 +23,18 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
using Polly;
#endregion
using System;
using System;
using NLog;
using PlexRequests.Api.Interfaces;
using PlexRequests.Api.Models.Plex;
using PlexRequests.Helpers;
using Ombi.Api.Interfaces;
using Ombi.Api.Models.Plex;
using Ombi.Helpers;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class PlexApi : IPlexApi
{

@ -24,15 +24,14 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System.Threading.Tasks;
using PlexRequests.Api.Interfaces;
using PlexRequests.Api.Models.Notifications;
using Ombi.Api.Interfaces;
using Ombi.Api.Models.Notifications;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class PushbulletApi : IPushbulletApi
{

@ -24,15 +24,14 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System.Threading.Tasks;
using PlexRequests.Api.Interfaces;
using PlexRequests.Api.Models.Notifications;
using Ombi.Api.Interfaces;
using Ombi.Api.Models.Notifications;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class PushoverApi : IPushoverApi
{

@ -24,12 +24,12 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System;
using Polly;
using Polly.Retry;
namespace PlexRequests.Api
namespace Ombi.Api
{
public static class RetryHandler
{

@ -24,23 +24,20 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Linq;
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NLog;
using PlexRequests.Api.Interfaces;
using PlexRequests.Api.Models.SickRage;
using PlexRequests.Helpers;
using PlexRequests.Helpers.Exceptions;
using Ombi.Api.Interfaces;
using Ombi.Api.Models.SickRage;
using Ombi.Helpers;
using Ombi.Helpers.Exceptions;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class SickrageApi : ISickRageApi
{

@ -24,15 +24,14 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System.Threading.Tasks;
using PlexRequests.Api.Interfaces;
using PlexRequests.Api.Models.Notifications;
using Ombi.Api.Interfaces;
using Ombi.Api.Models.Notifications;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class SlackApi : ISlackApi
{

@ -24,20 +24,18 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using NLog;
using PlexRequests.Api.Interfaces;
using PlexRequests.Api.Models.Sonarr;
using PlexRequests.Helpers;
using Ombi.Api.Interfaces;
using Ombi.Api.Models.Sonarr;
using Ombi.Helpers;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class SonarrApi : ISonarrApi
{

@ -24,17 +24,15 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TMDbLib.Client;
using TMDbLib.Objects.General;
using TMDbLib.Objects.Movies;
using TMDbLib.Objects.Search;
using TMDbLib.Objects.TvShows;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class TheMovieDbApi : MovieBase
{

@ -24,13 +24,12 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using PlexRequests.Api.Models.Tv;
using System;
using Ombi.Api.Models.Tv;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
[Obsolete("Use TVMazeAPP")]
public class TheTvDbApi : TvBase

@ -24,11 +24,11 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using PlexRequests.Helpers;
using System;
using Ombi.Helpers;
namespace PlexRequests.Api
namespace Ombi.Api
{
public abstract class TvBase
{

@ -24,16 +24,15 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using NLog;
using PlexRequests.Api.Models.Tv;
using Ombi.Api.Models.Tv;
using RestSharp;
namespace PlexRequests.Api
namespace Ombi.Api
{
public class TvMazeApi : TvMazeBase
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Api
namespace Ombi.Api
{
public class TvMazeBase
{

@ -27,7 +27,7 @@
using System.Data;
namespace PlexRequests.Core.Migration
namespace Ombi.Core.Migration
{
public interface IMigration
{

@ -1,4 +1,4 @@
namespace PlexRequests.Core.Migration
namespace Ombi.Core.Migration
{
public interface IMigrationRunner
{

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Core.Migration
namespace Ombi.Core.Migration
{
public class Migrate
{

@ -27,7 +27,7 @@
using System;
namespace PlexRequests.Core.Migration
namespace Ombi.Core.Migration
{
[AttributeUsage(AttributeTargets.Class)]
public class Migration : Attribute

@ -1,14 +1,12 @@
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Reflection;
using Ninject;
using NLog;
using Ombi.Store;
using PlexRequests.Store;
namespace PlexRequests.Core.Migration
namespace Ombi.Core.Migration
{
public class MigrationRunner : IMigrationRunner
{

@ -29,9 +29,8 @@ using System.Collections.Generic;
using System.Data;
using System.Linq;
using Ombi.Store;
using PlexRequests.Store;
namespace PlexRequests.Core.Migration.Migrations
namespace Ombi.Core.Migration.Migrations
{
public abstract class BaseMigration
{

@ -29,18 +29,17 @@
using System;
using System.Data;
using NLog;
using System.Linq;
using NLog;
using Ombi.Api.Interfaces;
using Ombi.Core.SettingModels;
using Ombi.Helpers;
using Ombi.Helpers.Permissions;
using Ombi.Store;
using PlexRequests.Api.Interfaces;
using PlexRequests.Core.SettingModels;
using PlexRequests.Helpers;
using PlexRequests.Helpers.Permissions;
using PlexRequests.Store;
using PlexRequests.Store.Models;
using PlexRequests.Store.Repository;
namespace PlexRequests.Core.Migration.Migrations
using Ombi.Store.Models;
using Ombi.Store.Repository;
namespace Ombi.Core.Migration.Migrations
{
[Migration(11000, "v1.10.0.0")]
public class Version1100 : BaseMigration, IMigration

@ -27,11 +27,10 @@
using System;
using System.Data;
using PlexRequests.Core.SettingModels;
using PlexRequests.Store;
using Ombi.Core.SettingModels;
using Quartz;
namespace PlexRequests.Core.Migration.Migrations
namespace Ombi.Core.Migration.Migrations
{
[Migration(1950, "v1.9.5.0")]
public class Version195 : BaseMigration, IMigration

@ -24,11 +24,11 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using NUnit.Framework;
using PlexRequests.Core.SettingModels;
using NUnit.Framework;
using Ombi.Core.SettingModels;
namespace PlexRequests.Core.Tests
namespace Ombi.Core.Tests
{
[TestFixture]
public class AuthenticationSettingsTests

@ -24,7 +24,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
namespace PlexRequests.Core
namespace Ombi.Core
{
public class CacheKeys
{

@ -29,11 +29,11 @@ using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NLog;
using PlexRequests.Api.Interfaces;
using PlexRequests.Core.SettingModels;
using PlexRequests.Store;
using Ombi.Api.Interfaces;
using Ombi.Core.SettingModels;
using Ombi.Store;
namespace PlexRequests.Core
namespace Ombi.Core
{
public class HeadphonesSender
{

@ -24,12 +24,12 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System.Collections.Generic;
using System.Threading.Tasks;
using Ombi.Core.Models;
using PlexRequests.Core.Models;
namespace PlexRequests.Core
namespace Ombi.Core
{
public interface IIssueService
{

@ -1,8 +1,8 @@
using System;
using System.Collections.Generic;
using PlexRequests.Store.Models.Plex;
using Ombi.Store.Models.Plex;
namespace PlexRequests.Core
namespace Ombi.Core
{
public interface IPlexReadOnlyDatabase
{

@ -27,10 +27,9 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Ombi.Store;
using PlexRequests.Store;
namespace PlexRequests.Core
namespace Ombi.Core
{
public interface IRequestService
{

@ -2,9 +2,9 @@
using Nancy;
using Nancy.Security;
using Nancy.Session;
using PlexRequests.Helpers.Permissions;
using Ombi.Helpers.Permissions;
namespace PlexRequests.Core
namespace Ombi.Core
{
public interface ISecurityExtensions
{

@ -27,7 +27,7 @@
using System.Threading.Tasks;
namespace PlexRequests.Core
namespace Ombi.Core
{
public interface ISettingsService<T>
{

@ -1,8 +1,8 @@
using System.Threading.Tasks;
using Octokit;
using PlexRequests.Core.Models;
using Ombi.Core.Models;
namespace PlexRequests.Core
namespace Ombi.Core
{
public interface IStatusChecker
{

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save