-
-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from tidusjar/dev
New features added
- Loading branch information
Showing
77 changed files
with
1,852 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace PlexRequests.Api.Models.Movie | ||
{ | ||
public class CouchPotatoStatus | ||
{ | ||
public bool success { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Xml.Serialization; | ||
|
||
namespace PlexRequests.Api.Models.Plex | ||
{ | ||
[XmlRoot(ElementName = "Directory")] | ||
public class Directory | ||
{ | ||
[XmlAttribute(AttributeName = "count")] | ||
public string Count { get; set; } | ||
[XmlAttribute(AttributeName = "key")] | ||
public string Key { get; set; } | ||
[XmlAttribute(AttributeName = "title")] | ||
public string Title { get; set; } | ||
} | ||
|
||
[XmlRoot(ElementName = "MediaContainer")] | ||
public class PlexStatus | ||
{ | ||
[XmlElement(ElementName = "Directory")] | ||
public List<Directory> Directory { get; set; } | ||
[XmlAttribute(AttributeName = "size")] | ||
public string Size { get; set; } | ||
[XmlAttribute(AttributeName = "allowCameraUpload")] | ||
public string AllowCameraUpload { get; set; } | ||
[XmlAttribute(AttributeName = "allowChannelAccess")] | ||
public string AllowChannelAccess { get; set; } | ||
[XmlAttribute(AttributeName = "allowMediaDeletion")] | ||
public string AllowMediaDeletion { get; set; } | ||
[XmlAttribute(AttributeName = "allowSync")] | ||
public string AllowSync { get; set; } | ||
[XmlAttribute(AttributeName = "backgroundProcessing")] | ||
public string BackgroundProcessing { get; set; } | ||
[XmlAttribute(AttributeName = "certificate")] | ||
public string Certificate { get; set; } | ||
[XmlAttribute(AttributeName = "companionProxy")] | ||
public string CompanionProxy { get; set; } | ||
[XmlAttribute(AttributeName = "friendlyName")] | ||
public string FriendlyName { get; set; } | ||
[XmlAttribute(AttributeName = "machineIdentifier")] | ||
public string MachineIdentifier { get; set; } | ||
[XmlAttribute(AttributeName = "multiuser")] | ||
public string Multiuser { get; set; } | ||
[XmlAttribute(AttributeName = "myPlex")] | ||
public string MyPlex { get; set; } | ||
[XmlAttribute(AttributeName = "myPlexMappingState")] | ||
public string MyPlexMappingState { get; set; } | ||
[XmlAttribute(AttributeName = "myPlexSigninState")] | ||
public string MyPlexSigninState { get; set; } | ||
[XmlAttribute(AttributeName = "myPlexSubscription")] | ||
public string MyPlexSubscription { get; set; } | ||
[XmlAttribute(AttributeName = "myPlexUsername")] | ||
public string MyPlexUsername { get; set; } | ||
[XmlAttribute(AttributeName = "platform")] | ||
public string Platform { get; set; } | ||
[XmlAttribute(AttributeName = "platformVersion")] | ||
public string PlatformVersion { get; set; } | ||
[XmlAttribute(AttributeName = "requestParametersInCookie")] | ||
public string RequestParametersInCookie { get; set; } | ||
[XmlAttribute(AttributeName = "sync")] | ||
public string Sync { get; set; } | ||
[XmlAttribute(AttributeName = "transcoderActiveVideoSessions")] | ||
public string TranscoderActiveVideoSessions { get; set; } | ||
[XmlAttribute(AttributeName = "transcoderAudio")] | ||
public string TranscoderAudio { get; set; } | ||
[XmlAttribute(AttributeName = "transcoderLyrics")] | ||
public string TranscoderLyrics { get; set; } | ||
[XmlAttribute(AttributeName = "transcoderPhoto")] | ||
public string TranscoderPhoto { get; set; } | ||
[XmlAttribute(AttributeName = "transcoderSubtitles")] | ||
public string TranscoderSubtitles { get; set; } | ||
[XmlAttribute(AttributeName = "transcoderVideo")] | ||
public string TranscoderVideo { get; set; } | ||
[XmlAttribute(AttributeName = "transcoderVideoBitrates")] | ||
public string TranscoderVideoBitrates { get; set; } | ||
[XmlAttribute(AttributeName = "transcoderVideoQualities")] | ||
public string TranscoderVideoQualities { get; set; } | ||
[XmlAttribute(AttributeName = "transcoderVideoResolutions")] | ||
public string TranscoderVideoResolutions { get; set; } | ||
[XmlAttribute(AttributeName = "updatedAt")] | ||
public string UpdatedAt { get; set; } | ||
[XmlAttribute(AttributeName = "version")] | ||
public string Version { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#region Copyright | ||
// /************************************************************************ | ||
// Copyright (c) 2016 Jamie Rees | ||
// File: SystemStatus.cs | ||
// Created By: Jamie Rees | ||
// | ||
// Permission is hereby granted, free of charge, to any person obtaining | ||
// a copy of this software and associated documentation files (the | ||
// "Software"), to deal in the Software without restriction, including | ||
// without limitation the rights to use, copy, modify, merge, publish, | ||
// distribute, sublicense, and/or sell copies of the Software, and to | ||
// permit persons to whom the Software is furnished to do so, subject to | ||
// the following conditions: | ||
// | ||
// The above copyright notice and this permission notice shall be | ||
// included in all copies or substantial portions of the Software. | ||
// | ||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
// ************************************************************************/ | ||
#endregion | ||
namespace PlexRequests.Api.Models.Sonarr | ||
{ | ||
public class SystemStatus | ||
{ | ||
public string version { get; set; } | ||
public string buildTime { get; set; } | ||
public bool isDebug { get; set; } | ||
public bool isProduction { get; set; } | ||
public bool isAdmin { get; set; } | ||
public bool isUserInteractive { get; set; } | ||
public string startupPath { get; set; } | ||
public string appData { get; set; } | ||
public string osVersion { get; set; } | ||
public bool isMonoRuntime { get; set; } | ||
public bool isMono { get; set; } | ||
public bool isLinux { get; set; } | ||
public bool isOsx { get; set; } | ||
public bool isWindows { get; set; } | ||
public string branch { get; set; } | ||
public string authentication { get; set; } | ||
public string sqliteVersion { get; set; } | ||
public string urlBase { get; set; } | ||
public string runtimeVersion { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.