@using PlexRequests.UI.Helpers @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase @Html.Partial("_Sidebar") @{ int port; if (Model.Port == 0) { port = 3579; } else { port = Model.Port; } var baseUrl = Html.GetBaseUrl(); var formAction = "/admin"; if (!string.IsNullOrEmpty(baseUrl.ToHtmlString())) { formAction = "/" + baseUrl.ToHtmlString() + formAction; } var plexTheme = string.Empty; var originalTheme = string.Empty; if (!string.IsNullOrEmpty(Model.ThemeName)) { plexTheme = Model.ThemeName.Equals(Themes.PlexTheme) ? "selected=\"selected\"" : string.Empty; originalTheme = Model.ThemeName.Equals(Themes.OriginalTheme) ? "selected=\"selected\"" : string.Empty; } else { plexTheme = "selected=\"selected\""; } }
Plex Request Settings
You will have to restart after changing the port.
You will have to restart after changing the url base.
@if (Model.SearchForMovies) { } else { }
@if (Model.SearchForTvShows) { } else { }
@if (Model.SearchForMusic) { } else { }
@if (Model.RequireMovieApproval) { } else { }
@if (Model.RequireTvShowApproval) { } else { }
@if (Model.RequireMusicApproval) { } else { }
@if (Model.UsersCanViewOnlyOwnRequests) { } else { }
@if (Model.UsersCanViewOnlyOwnIssues) { } else { }
@if (Model.IgnoreNotifyForAutoApprovedRequests) { } else { }
@if (Model.CollectAnalyticData) { } else { }

A comma separated list of users whose requests do not require approval (These users also do not have a request limit).

If the request limits are set to 0 then no request limit is applied.