mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
Added a subdir to CP, SickRage, Sonarr and Plex #43
This commit is contained in:
parent
21ea315cd0
commit
895a0c50eb
10 changed files with 86 additions and 1 deletions
|
@ -41,12 +41,18 @@ namespace PlexRequests.Core.SettingModels
|
|||
public bool SeasonFolders { get; set; }
|
||||
public string RootPath { get; set; }
|
||||
public bool Ssl { get; set; }
|
||||
public string SubDir { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public Uri FullUri
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!string.IsNullOrEmpty(SubDir))
|
||||
{
|
||||
var formattedSubDir = Ip.ReturnUriWithSubDir(Port, Ssl, SubDir);
|
||||
return formattedSubDir;
|
||||
}
|
||||
var formatted = Ip.ReturnUri(Port, Ssl);
|
||||
return formatted;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue