mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
commit
79d72cb801
648 changed files with 2270 additions and 2875 deletions
|
@ -1,7 +1,7 @@
|
||||||
language: csharp
|
language: csharp
|
||||||
solution: PlexRequests.sln
|
solution: Ombi.sln
|
||||||
install:
|
install:
|
||||||
- mono Tools/nuget.exe restore PlexRequests.sln
|
- mono Tools/nuget.exe restore Ombi.sln
|
||||||
- nuget install NUnit.Runners -OutputDirectory testrunner
|
- nuget install NUnit.Runners -OutputDirectory testrunner
|
||||||
script:
|
script:
|
||||||
- xbuild /p:Configuration=Release PlexRequests.sln /p:TargetFrameworkVersion="v4.5"
|
- xbuild /p:Configuration=Release Ombi.sln /p:TargetFrameworkVersion="v4.5"
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
using System;
|
|
||||||
|
|
||||||
|
using System;
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Interfaces
|
namespace Ombi.Api.Interfaces
|
||||||
{
|
{
|
||||||
public interface IApiRequest
|
public interface IApiRequest
|
||||||
{
|
{
|
|
@ -26,10 +26,9 @@
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using Ombi.Api.Models.Movie;
|
||||||
|
|
||||||
using PlexRequests.Api.Models.Movie;
|
namespace Ombi.Api.Interfaces
|
||||||
|
|
||||||
namespace PlexRequests.Api.Interfaces
|
|
||||||
{
|
{
|
||||||
public interface ICouchPotatoApi
|
public interface ICouchPotatoApi
|
||||||
{
|
{
|
|
@ -24,13 +24,13 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Ombi.Api.Models.Music;
|
||||||
|
|
||||||
using PlexRequests.Api.Models.Music;
|
namespace Ombi.Api.Interfaces
|
||||||
|
|
||||||
namespace PlexRequests.Api.Interfaces
|
|
||||||
{
|
{
|
||||||
public interface IHeadphonesApi
|
public interface IHeadphonesApi
|
||||||
{
|
{
|
|
@ -24,9 +24,10 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
using PlexRequests.Api.Models.Music;
|
|
||||||
|
|
||||||
namespace PlexRequests.Api.Interfaces
|
using Ombi.Api.Models.Music;
|
||||||
|
|
||||||
|
namespace Ombi.Api.Interfaces
|
||||||
{
|
{
|
||||||
public interface IMusicBrainzApi
|
public interface IMusicBrainzApi
|
||||||
{
|
{
|
|
@ -24,11 +24,11 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using Ombi.Api.Models.Plex;
|
||||||
|
|
||||||
using PlexRequests.Api.Models.Plex;
|
namespace Ombi.Api.Interfaces
|
||||||
|
|
||||||
namespace PlexRequests.Api.Interfaces
|
|
||||||
{
|
{
|
||||||
public interface IPlexApi
|
public interface IPlexApi
|
||||||
{
|
{
|
|
@ -24,11 +24,11 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Ombi.Api.Models.Notifications;
|
||||||
|
|
||||||
using PlexRequests.Api.Models.Notifications;
|
namespace Ombi.Api.Interfaces
|
||||||
|
|
||||||
namespace PlexRequests.Api.Interfaces
|
|
||||||
{
|
{
|
||||||
public interface IPushbulletApi
|
public interface IPushbulletApi
|
||||||
{
|
{
|
|
@ -24,11 +24,11 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Ombi.Api.Models.Notifications;
|
||||||
|
|
||||||
using PlexRequests.Api.Models.Notifications;
|
namespace Ombi.Api.Interfaces
|
||||||
|
|
||||||
namespace PlexRequests.Api.Interfaces
|
|
||||||
{
|
{
|
||||||
public interface IPushoverApi
|
public interface IPushoverApi
|
||||||
{
|
{
|
|
@ -27,9 +27,9 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
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
|
public interface ISickRageApi
|
||||||
{
|
{
|
|
@ -24,11 +24,11 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Ombi.Api.Models.Notifications;
|
||||||
|
|
||||||
using PlexRequests.Api.Models.Notifications;
|
namespace Ombi.Api.Interfaces
|
||||||
|
|
||||||
namespace PlexRequests.Api.Interfaces
|
|
||||||
{
|
{
|
||||||
public interface ISlackApi
|
public interface ISlackApi
|
||||||
{
|
{
|
|
@ -24,12 +24,12 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Ombi.Api.Models.Sonarr;
|
||||||
|
|
||||||
using PlexRequests.Api.Models.Sonarr;
|
namespace Ombi.Api.Interfaces
|
||||||
|
|
||||||
namespace PlexRequests.Api.Interfaces
|
|
||||||
{
|
{
|
||||||
public interface ISonarrApi
|
public interface ISonarrApi
|
||||||
{
|
{
|
|
@ -7,8 +7,8 @@
|
||||||
<ProjectGuid>{95834072-A675-415D-AA8F-877C91623810}</ProjectGuid>
|
<ProjectGuid>{95834072-A675-415D-AA8F-877C91623810}</ProjectGuid>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>PlexRequests.Api.Interfaces</RootNamespace>
|
<RootNamespace>Ombi.Api.Interfaces</RootNamespace>
|
||||||
<AssemblyName>PlexRequests.Api.Interfaces</AssemblyName>
|
<AssemblyName>Ombi.Api.Interfaces</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<TargetFrameworkProfile />
|
<TargetFrameworkProfile />
|
||||||
|
@ -58,9 +58,9 @@
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\PlexRequests.Api.Models\PlexRequests.Api.Models.csproj">
|
<ProjectReference Include="..\Ombi.Api.Models\Ombi.Api.Models.csproj">
|
||||||
<Project>{CB37A5F8-6DFC-4554-99D3-A42B502E4591}</Project>
|
<Project>{CB37A5F8-6DFC-4554-99D3-A42B502E4591}</Project>
|
||||||
<Name>PlexRequests.Api.Models</Name>
|
<Name>Ombi.Api.Models</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
|
@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
|
||||||
// General Information about an assembly is controlled through the following
|
// General Information about an assembly is controlled through the following
|
||||||
// set of attributes. Change these attribute values to modify the information
|
// set of attributes. Change these attribute values to modify the information
|
||||||
// associated with an assembly.
|
// associated with an assembly.
|
||||||
[assembly: AssemblyTitle("PlexRequests.Api.Interfaces")]
|
[assembly: AssemblyTitle("Ombi.Api.Interfaces")]
|
||||||
[assembly: AssemblyDescription("")]
|
[assembly: AssemblyDescription("")]
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("PlexRequests.Api.Interfaces")]
|
[assembly: AssemblyProduct("Ombi.Api.Interfaces")]
|
||||||
[assembly: AssemblyCopyright("Copyright © 2016")]
|
[assembly: AssemblyCopyright("Copyright © 2016")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
|
@ -24,9 +24,10 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Movie
|
namespace Ombi.Api.Models.Movie
|
||||||
{
|
{
|
||||||
public class CouchPotatoAdd
|
public class CouchPotatoAdd
|
||||||
{
|
{
|
|
@ -24,9 +24,10 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Movie
|
namespace Ombi.Api.Models.Movie
|
||||||
{
|
{
|
||||||
public class CouchPotatoApiKey
|
public class CouchPotatoApiKey
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Movie
|
namespace Ombi.Api.Models.Movie
|
||||||
{
|
{
|
||||||
public class CouchPotatoMovies
|
public class CouchPotatoMovies
|
||||||
{
|
{
|
|
@ -26,11 +26,9 @@
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Serialization;
|
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Movie
|
namespace Ombi.Api.Models.Movie
|
||||||
{
|
{
|
||||||
public class ProfileList
|
public class ProfileList
|
||||||
{
|
{
|
7
Ombi.Api.Models/Movie/CouchPotatoStatus.cs
Normal file
7
Ombi.Api.Models/Movie/CouchPotatoStatus.cs
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
namespace Ombi.Api.Models.Movie
|
||||||
|
{
|
||||||
|
public class CouchPotatoStatus
|
||||||
|
{
|
||||||
|
public bool success { get; set; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Music
|
namespace Ombi.Api.Models.Music
|
||||||
{
|
{
|
||||||
public class HeadphonesAlbumSearchResult
|
public class HeadphonesAlbumSearchResult
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Music
|
namespace Ombi.Api.Models.Music
|
||||||
{
|
{
|
||||||
public class HeadphonesArtistSearchResult
|
public class HeadphonesArtistSearchResult
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Music
|
namespace Ombi.Api.Models.Music
|
||||||
{
|
{
|
||||||
public class HeadphonesGetIndex
|
public class HeadphonesGetIndex
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Music
|
namespace Ombi.Api.Models.Music
|
||||||
{
|
{
|
||||||
public class HeadphonesVersion
|
public class HeadphonesVersion
|
||||||
{
|
{
|
|
@ -24,9 +24,10 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Music
|
namespace Ombi.Api.Models.Music
|
||||||
{
|
{
|
||||||
public class Thumbnails
|
public class Thumbnails
|
||||||
{
|
{
|
|
@ -24,11 +24,11 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Music
|
namespace Ombi.Api.Models.Music
|
||||||
{
|
{
|
||||||
public class CoverArtArchive
|
public class CoverArtArchive
|
||||||
{
|
{
|
|
@ -24,11 +24,11 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Music
|
namespace Ombi.Api.Models.Music
|
||||||
{
|
{
|
||||||
public class TextRepresentation
|
public class TextRepresentation
|
||||||
{
|
{
|
|
@ -24,9 +24,8 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Notifications
|
namespace Ombi.Api.Models.Notifications
|
||||||
{
|
{
|
||||||
public class PushbulletPush
|
public class PushbulletPush
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Notifications
|
namespace Ombi.Api.Models.Notifications
|
||||||
{
|
{
|
||||||
public class PushbulletResponse
|
public class PushbulletResponse
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Notifications
|
namespace Ombi.Api.Models.Notifications
|
||||||
{
|
{
|
||||||
public class PushoverResponse
|
public class PushoverResponse
|
||||||
{
|
{
|
|
@ -24,16 +24,17 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Notifications
|
namespace Ombi.Api.Models.Notifications
|
||||||
{
|
{
|
||||||
public class SlackNotificationBody
|
public class SlackNotificationBody
|
||||||
{
|
{
|
||||||
[JsonConstructor]
|
[JsonConstructor]
|
||||||
public SlackNotificationBody()
|
public SlackNotificationBody()
|
||||||
{
|
{
|
||||||
username = "Plex Requests";
|
username = "Ombi";
|
||||||
}
|
}
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
|
@ -7,8 +7,8 @@
|
||||||
<ProjectGuid>{CB37A5F8-6DFC-4554-99D3-A42B502E4591}</ProjectGuid>
|
<ProjectGuid>{CB37A5F8-6DFC-4554-99D3-A42B502E4591}</ProjectGuid>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>PlexRequests.Api.Models</RootNamespace>
|
<RootNamespace>Ombi.Api.Models</RootNamespace>
|
||||||
<AssemblyName>PlexRequests.Api.Models</AssemblyName>
|
<AssemblyName>Ombi.Api.Models</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<TargetFrameworkProfile />
|
<TargetFrameworkProfile />
|
||||||
|
@ -110,9 +110,9 @@
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\PlexRequests.Helpers\PlexRequests.Helpers.csproj">
|
<ProjectReference Include="..\Ombi.Helpers\Ombi.Helpers.csproj">
|
||||||
<Project>{1252336D-42A3-482A-804C-836E60173DFA}</Project>
|
<Project>{1252336D-42A3-482A-804C-836E60173DFA}</Project>
|
||||||
<Name>PlexRequests.Helpers</Name>
|
<Name>Ombi.Helpers</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Plex
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
[XmlRoot(ElementName = "user")]
|
[XmlRoot(ElementName = "user")]
|
||||||
public class PlexAccount
|
public class PlexAccount
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Plex
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
public class PlexAuthentication
|
public class PlexAuthentication
|
||||||
{
|
{
|
|
@ -24,11 +24,12 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#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")]
|
[XmlRoot(ElementName = "MediaContainer")]
|
||||||
public class PlexEpisodeMetadata
|
public class PlexEpisodeMetadata
|
||||||
{
|
{
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Plex
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
[XmlRoot(ElementName = "errors")]
|
[XmlRoot(ElementName = "errors")]
|
||||||
public class PlexError
|
public class PlexError
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Plex
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
[XmlRoot(ElementName = "Server")]
|
[XmlRoot(ElementName = "Server")]
|
||||||
public class Server
|
public class Server
|
|
@ -1,7 +1,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Plex
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
[XmlRoot(ElementName = "MediaContainer")]
|
[XmlRoot(ElementName = "MediaContainer")]
|
||||||
public class PlexLibraries
|
public class PlexLibraries
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Services
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
public enum PlexMediaType
|
public enum PlexMediaType
|
||||||
{
|
{
|
|
@ -28,7 +28,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Plex
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
[XmlRoot(ElementName = "MediaContainer")]
|
[XmlRoot(ElementName = "MediaContainer")]
|
||||||
public class PlexMetadata
|
public class PlexMetadata
|
|
@ -24,10 +24,11 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Plex
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
[XmlRoot(ElementName = "Part")]
|
[XmlRoot(ElementName = "Part")]
|
||||||
public class Part
|
public class Part
|
|
@ -24,10 +24,11 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Plex
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
[XmlRoot(ElementName = "Server")]
|
[XmlRoot(ElementName = "Server")]
|
||||||
public class ServerInfo
|
public class ServerInfo
|
|
@ -1,11 +1,7 @@
|
||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Plex
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
[XmlRoot(ElementName = "Directory")]
|
[XmlRoot(ElementName = "Directory")]
|
||||||
public class Directory
|
public class Directory
|
|
@ -25,7 +25,7 @@
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Plex
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
public class PlexUserRequest
|
public class PlexUserRequest
|
||||||
{
|
{
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Plex
|
namespace Ombi.Api.Models.Plex
|
||||||
{
|
{
|
||||||
public class RecentlyAddedChild
|
public class RecentlyAddedChild
|
||||||
{
|
{
|
|
@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
|
||||||
// General Information about an assembly is controlled through the following
|
// General Information about an assembly is controlled through the following
|
||||||
// set of attributes. Change these attribute values to modify the information
|
// set of attributes. Change these attribute values to modify the information
|
||||||
// associated with an assembly.
|
// associated with an assembly.
|
||||||
[assembly: AssemblyTitle("PlexRequests.Api.Models")]
|
[assembly: AssemblyTitle("Ombi.Api.Models")]
|
||||||
[assembly: AssemblyDescription("")]
|
[assembly: AssemblyDescription("")]
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("PlexRequests.Api.Models")]
|
[assembly: AssemblyProduct("Ombi.Api.Models")]
|
||||||
[assembly: AssemblyCopyright("Copyright © 2016")]
|
[assembly: AssemblyCopyright("Copyright © 2016")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
|
@ -1,4 +1,4 @@
|
||||||
namespace PlexRequests.Api.Models.SickRage
|
namespace Ombi.Api.Models.SickRage
|
||||||
{
|
{
|
||||||
public abstract class SickRageBase<T>
|
public abstract class SickRageBase<T>
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.SickRage
|
namespace Ombi.Api.Models.SickRage
|
||||||
{
|
{
|
||||||
public class SickRagePingData
|
public class SickRagePingData
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PlexRequests.Helpers;
|
using Ombi.Helpers;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.SickRage
|
namespace Ombi.Api.Models.SickRage
|
||||||
{
|
{
|
||||||
public class SickRageSeasonList : SickRageBase<object>
|
public class SickRageSeasonList : SickRageBase<object>
|
||||||
{
|
{
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.SickRage
|
namespace Ombi.Api.Models.SickRage
|
||||||
{
|
{
|
||||||
public class Cache
|
public class Cache
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.SickRage
|
namespace Ombi.Api.Models.SickRage
|
||||||
{
|
{
|
||||||
public static class SickRageStatus
|
public static class SickRageStatus
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.SickRage
|
namespace Ombi.Api.Models.SickRage
|
||||||
{
|
{
|
||||||
public class SickRageTvAddData
|
public class SickRageTvAddData
|
||||||
{
|
{
|
|
@ -25,10 +25,9 @@
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.SickRage
|
namespace Ombi.Api.Models.SickRage
|
||||||
{
|
{
|
||||||
public class SickrageShows : SickRageBase<Dictionary<int, Item>>
|
public class SickrageShows : SickRageBase<Dictionary<int, Item>>
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
namespace Ombi.Api.Models.Sonarr
|
||||||
{
|
{
|
||||||
public class SonarrAddEpisodeBody
|
public class SonarrAddEpisodeBody
|
||||||
{
|
{
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
namespace Ombi.Api.Models.Sonarr
|
||||||
{
|
{
|
||||||
public class Body
|
public class Body
|
||||||
{
|
{
|
|
@ -1,9 +1,8 @@
|
||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
namespace Ombi.Api.Models.Sonarr
|
||||||
{
|
{
|
||||||
public class Season
|
public class Season
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
namespace Ombi.Api.Models.Sonarr
|
||||||
{
|
{
|
||||||
public class SonarrAllSeries
|
public class SonarrAllSeries
|
||||||
{
|
{
|
|
@ -25,7 +25,7 @@
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
namespace Ombi.Api.Models.Sonarr
|
||||||
{
|
{
|
||||||
|
|
||||||
public class Revision
|
public class Revision
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
namespace Ombi.Api.Models.Sonarr
|
||||||
{
|
{
|
||||||
public class SonarrEpisodes
|
public class SonarrEpisodes
|
||||||
{
|
{
|
|
@ -25,10 +25,7 @@
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
namespace Ombi.Api.Models.Sonarr
|
||||||
using Newtonsoft.Json;
|
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
|
||||||
{
|
{
|
||||||
public class SonarrError
|
public class SonarrError
|
||||||
{
|
{
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
namespace Ombi.Api.Models.Sonarr
|
||||||
{
|
{
|
||||||
public class Cutoff
|
public class Cutoff
|
||||||
{
|
{
|
|
@ -25,9 +25,7 @@
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Xml.Linq;
|
namespace Ombi.Api.Models.Sonarr
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
|
||||||
{
|
{
|
||||||
public class SonarrSearchCommand
|
public class SonarrSearchCommand
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
namespace Ombi.Api.Models.Sonarr
|
||||||
{
|
{
|
||||||
public class SeasonBody
|
public class SeasonBody
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
namespace Ombi.Api.Models.Sonarr
|
||||||
{
|
{
|
||||||
public class SeriesBody
|
public class SeriesBody
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Sonarr
|
namespace Ombi.Api.Models.Sonarr
|
||||||
{
|
{
|
||||||
public class SystemStatus
|
public class SystemStatus
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Tv
|
namespace Ombi.Api.Models.Tv
|
||||||
{
|
{
|
||||||
public class Authentication
|
public class Authentication
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Tv
|
namespace Ombi.Api.Models.Tv
|
||||||
{
|
{
|
||||||
public class TvMazeShow
|
public class TvMazeShow
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api.Models.Tv
|
namespace Ombi.Api.Models.Tv
|
||||||
{
|
{
|
||||||
public class TvMazeEpisodes
|
public class TvMazeEpisodes
|
||||||
{
|
{
|
|
@ -24,9 +24,10 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Tv
|
namespace Ombi.Api.Models.Tv
|
||||||
{
|
{
|
||||||
public class Schedule
|
public class Schedule
|
||||||
{
|
{
|
7
Ombi.Api.Models/Tv/TvMazeSeasons.cs
Normal file
7
Ombi.Api.Models/Tv/TvMazeSeasons.cs
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
namespace Ombi.Api.Models.Tv
|
||||||
|
{
|
||||||
|
public class TvMazeSeasons : TvMazeShow
|
||||||
|
{
|
||||||
|
public int number { get; set; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -24,9 +24,10 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Tv
|
namespace Ombi.Api.Models.Tv
|
||||||
{
|
{
|
||||||
public class TvShowSearchResult
|
public class TvShowSearchResult
|
||||||
{
|
{
|
|
@ -24,9 +24,10 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Tv
|
namespace Ombi.Api.Models.Tv
|
||||||
{
|
{
|
||||||
public class TvShow
|
public class TvShow
|
||||||
{
|
{
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace PlexRequests.Api.Models.Tv
|
namespace Ombi.Api.Models.Tv
|
||||||
{
|
{
|
||||||
public class RatingsInfo
|
public class RatingsInfo
|
||||||
{
|
{
|
|
@ -24,20 +24,17 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
using NLog;
|
using NLog;
|
||||||
|
using Ombi.Api.Interfaces;
|
||||||
using PlexRequests.Api.Interfaces;
|
using Ombi.Helpers.Exceptions;
|
||||||
using PlexRequests.Helpers.Exceptions;
|
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class ApiRequest : IApiRequest
|
public class ApiRequest : IApiRequest
|
||||||
{
|
{
|
|
@ -24,19 +24,16 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
|
|
||||||
using NLog;
|
using NLog;
|
||||||
using PlexRequests.Api.Interfaces;
|
using Ombi.Api.Interfaces;
|
||||||
using PlexRequests.Api.Models.Movie;
|
using Ombi.Api.Models.Movie;
|
||||||
using PlexRequests.Helpers;
|
using Ombi.Helpers;
|
||||||
using PlexRequests.Helpers.Exceptions;
|
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class CouchPotatoApi : ICouchPotatoApi
|
public class CouchPotatoApi : ICouchPotatoApi
|
||||||
{
|
{
|
|
@ -24,21 +24,18 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
using NLog;
|
using NLog;
|
||||||
|
using Ombi.Api.Interfaces;
|
||||||
using PlexRequests.Api.Interfaces;
|
using Ombi.Api.Models.Music;
|
||||||
using PlexRequests.Api.Models.Music;
|
using Ombi.Helpers;
|
||||||
using PlexRequests.Helpers;
|
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class HeadphonesApi : IHeadphonesApi
|
public class HeadphonesApi : IHeadphonesApi
|
||||||
{
|
{
|
|
@ -24,9 +24,10 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
using PlexRequests.Helpers;
|
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
using Ombi.Helpers;
|
||||||
|
|
||||||
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public abstract class MovieBase
|
public abstract class MovieBase
|
||||||
{
|
{
|
|
@ -24,18 +24,15 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
using NLog;
|
using NLog;
|
||||||
|
using Ombi.Api.Interfaces;
|
||||||
using PlexRequests.Api.Interfaces;
|
using Ombi.Api.Models.Music;
|
||||||
using PlexRequests.Api.Models.Music;
|
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class MusicBrainzApi : IMusicBrainzApi
|
public class MusicBrainzApi : IMusicBrainzApi
|
||||||
{
|
{
|
|
@ -7,8 +7,8 @@
|
||||||
<ProjectGuid>{8CB8D235-2674-442D-9C6A-35FCAEEB160D}</ProjectGuid>
|
<ProjectGuid>{8CB8D235-2674-442D-9C6A-35FCAEEB160D}</ProjectGuid>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>PlexRequests.Api</RootNamespace>
|
<RootNamespace>Ombi.Api</RootNamespace>
|
||||||
<AssemblyName>PlexRequests.Api</AssemblyName>
|
<AssemblyName>Ombi.Api</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<TargetFrameworkProfile />
|
<TargetFrameworkProfile />
|
||||||
|
@ -92,17 +92,17 @@
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\PlexRequests.Api.Interfaces\PlexRequests.Api.Interfaces.csproj">
|
<ProjectReference Include="..\Ombi.Api.Interfaces\Ombi.Api.Interfaces.csproj">
|
||||||
<Project>{95834072-A675-415D-AA8F-877C91623810}</Project>
|
<Project>{95834072-A675-415D-AA8F-877C91623810}</Project>
|
||||||
<Name>PlexRequests.Api.Interfaces</Name>
|
<Name>Ombi.Api.Interfaces</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\PlexRequests.Api.Models\PlexRequests.Api.Models.csproj">
|
<ProjectReference Include="..\Ombi.Api.Models\Ombi.Api.Models.csproj">
|
||||||
<Project>{CB37A5F8-6DFC-4554-99D3-A42B502E4591}</Project>
|
<Project>{CB37A5F8-6DFC-4554-99D3-A42B502E4591}</Project>
|
||||||
<Name>PlexRequests.Api.Models</Name>
|
<Name>Ombi.Api.Models</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\PlexRequests.Helpers\PlexRequests.Helpers.csproj">
|
<ProjectReference Include="..\Ombi.Helpers\Ombi.Helpers.csproj">
|
||||||
<Project>{1252336D-42A3-482A-804C-836E60173DFA}</Project>
|
<Project>{1252336D-42A3-482A-804C-836E60173DFA}</Project>
|
||||||
<Name>PlexRequests.Helpers</Name>
|
<Name>Ombi.Helpers</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
@ -23,21 +23,18 @@
|
||||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
using Polly;
|
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
using NLog;
|
using NLog;
|
||||||
|
using Ombi.Api.Interfaces;
|
||||||
using PlexRequests.Api.Interfaces;
|
using Ombi.Api.Models.Plex;
|
||||||
using PlexRequests.Api.Models.Plex;
|
using Ombi.Helpers;
|
||||||
using PlexRequests.Helpers;
|
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class PlexApi : IPlexApi
|
public class PlexApi : IPlexApi
|
||||||
{
|
{
|
||||||
|
@ -420,8 +417,8 @@ namespace PlexRequests.Api
|
||||||
|
|
||||||
private void AddHeaders(ref RestRequest request, bool json)
|
private void AddHeaders(ref RestRequest request, bool json)
|
||||||
{
|
{
|
||||||
request.AddHeader("X-Plex-Client-Identifier", $"PlexRequests.Net{Version}");
|
request.AddHeader("X-Plex-Client-Identifier", $"Ombi{Version}");
|
||||||
request.AddHeader("X-Plex-Product", "Plex Requests .Net");
|
request.AddHeader("X-Plex-Product", "Ombi");
|
||||||
request.AddHeader("X-Plex-Version", Version);
|
request.AddHeader("X-Plex-Version", Version);
|
||||||
request.AddHeader("Content-Type", json ? "application/json" : "application/xml");
|
request.AddHeader("Content-Type", json ? "application/json" : "application/xml");
|
||||||
request.AddHeader("Accept", json ? "application/json" : "application/xml");
|
request.AddHeader("Accept", json ? "application/json" : "application/xml");
|
|
@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
|
||||||
// General Information about an assembly is controlled through the following
|
// General Information about an assembly is controlled through the following
|
||||||
// set of attributes. Change these attribute values to modify the information
|
// set of attributes. Change these attribute values to modify the information
|
||||||
// associated with an assembly.
|
// associated with an assembly.
|
||||||
[assembly: AssemblyTitle("PlexRequests.Api")]
|
[assembly: AssemblyTitle("Ombi.Api")]
|
||||||
[assembly: AssemblyDescription("")]
|
[assembly: AssemblyDescription("")]
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("PlexRequests.Api")]
|
[assembly: AssemblyProduct("Ombi.Api")]
|
||||||
[assembly: AssemblyCopyright("Copyright © 2016")]
|
[assembly: AssemblyCopyright("Copyright © 2016")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
|
@ -24,15 +24,14 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Ombi.Api.Interfaces;
|
||||||
using PlexRequests.Api.Interfaces;
|
using Ombi.Api.Models.Notifications;
|
||||||
using PlexRequests.Api.Models.Notifications;
|
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class PushbulletApi : IPushbulletApi
|
public class PushbulletApi : IPushbulletApi
|
||||||
{
|
{
|
|
@ -24,15 +24,14 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Ombi.Api.Interfaces;
|
||||||
using PlexRequests.Api.Interfaces;
|
using Ombi.Api.Models.Notifications;
|
||||||
using PlexRequests.Api.Models.Notifications;
|
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class PushoverApi : IPushoverApi
|
public class PushoverApi : IPushoverApi
|
||||||
{
|
{
|
|
@ -24,12 +24,12 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
using System;
|
|
||||||
|
|
||||||
|
using System;
|
||||||
using Polly;
|
using Polly;
|
||||||
using Polly.Retry;
|
using Polly.Retry;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public static class RetryHandler
|
public static class RetryHandler
|
||||||
{
|
{
|
|
@ -24,23 +24,20 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
using NLog;
|
using NLog;
|
||||||
|
using Ombi.Api.Interfaces;
|
||||||
using PlexRequests.Api.Interfaces;
|
using Ombi.Api.Models.SickRage;
|
||||||
using PlexRequests.Api.Models.SickRage;
|
using Ombi.Helpers;
|
||||||
using PlexRequests.Helpers;
|
using Ombi.Helpers.Exceptions;
|
||||||
using PlexRequests.Helpers.Exceptions;
|
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class SickrageApi : ISickRageApi
|
public class SickrageApi : ISickRageApi
|
||||||
{
|
{
|
|
@ -24,15 +24,14 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Ombi.Api.Interfaces;
|
||||||
using PlexRequests.Api.Interfaces;
|
using Ombi.Api.Models.Notifications;
|
||||||
using PlexRequests.Api.Models.Notifications;
|
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class SlackApi : ISlackApi
|
public class SlackApi : ISlackApi
|
||||||
{
|
{
|
|
@ -24,20 +24,18 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
using NLog;
|
using NLog;
|
||||||
using PlexRequests.Api.Interfaces;
|
using Ombi.Api.Interfaces;
|
||||||
using PlexRequests.Api.Models.Sonarr;
|
using Ombi.Api.Models.Sonarr;
|
||||||
using PlexRequests.Helpers;
|
using Ombi.Helpers;
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class SonarrApi : ISonarrApi
|
public class SonarrApi : ISonarrApi
|
||||||
{
|
{
|
|
@ -24,17 +24,15 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
using TMDbLib.Client;
|
using TMDbLib.Client;
|
||||||
using TMDbLib.Objects.General;
|
using TMDbLib.Objects.General;
|
||||||
using TMDbLib.Objects.Movies;
|
using TMDbLib.Objects.Movies;
|
||||||
using TMDbLib.Objects.Search;
|
using TMDbLib.Objects.Search;
|
||||||
using TMDbLib.Objects.TvShows;
|
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class TheMovieDbApi : MovieBase
|
public class TheMovieDbApi : MovieBase
|
||||||
{
|
{
|
|
@ -24,13 +24,12 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using Ombi.Api.Models.Tv;
|
||||||
using PlexRequests.Api.Models.Tv;
|
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
[Obsolete("Use TVMazeAPP")]
|
[Obsolete("Use TVMazeAPP")]
|
||||||
public class TheTvDbApi : TvBase
|
public class TheTvDbApi : TvBase
|
|
@ -24,11 +24,11 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using Ombi.Helpers;
|
||||||
|
|
||||||
using PlexRequests.Helpers;
|
namespace Ombi.Api
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
|
||||||
{
|
{
|
||||||
public abstract class TvBase
|
public abstract class TvBase
|
||||||
{
|
{
|
|
@ -24,16 +24,15 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using NLog;
|
using NLog;
|
||||||
|
using Ombi.Api.Models.Tv;
|
||||||
using PlexRequests.Api.Models.Tv;
|
|
||||||
|
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
|
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class TvMazeApi : TvMazeBase
|
public class TvMazeApi : TvMazeBase
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Api
|
namespace Ombi.Api
|
||||||
{
|
{
|
||||||
public class TvMazeBase
|
public class TvMazeBase
|
||||||
{
|
{
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
using System.Data;
|
using System.Data;
|
||||||
|
|
||||||
namespace PlexRequests.Core.Migration
|
namespace Ombi.Core.Migration
|
||||||
{
|
{
|
||||||
public interface IMigration
|
public interface IMigration
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace PlexRequests.Core.Migration
|
namespace Ombi.Core.Migration
|
||||||
{
|
{
|
||||||
public interface IMigrationRunner
|
public interface IMigrationRunner
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@
|
||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// ************************************************************************/
|
// ************************************************************************/
|
||||||
#endregion
|
#endregion
|
||||||
namespace PlexRequests.Core.Migration
|
namespace Ombi.Core.Migration
|
||||||
{
|
{
|
||||||
public class Migrate
|
public class Migrate
|
||||||
{
|
{
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace PlexRequests.Core.Migration
|
namespace Ombi.Core.Migration
|
||||||
{
|
{
|
||||||
[AttributeUsage(AttributeTargets.Class)]
|
[AttributeUsage(AttributeTargets.Class)]
|
||||||
public class Migration : Attribute
|
public class Migration : Attribute
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue