@using PlexRequests.UI.Helpers @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 { }

A comma separated list of users whose requests do not require approval.

@*
//TODO: Need to implement this*@