@Html.Partial("_Sidebar") @{ int port; if (Model.Port == 0) { port = 3579; } else { port = Model.Port; } }
Request Plex Settings
You will have to restart after changing the port.