@ -1,4 +1,10 @@
< settings-menu > < / settings-menu >
< settings-menu > < / settings-menu >
< div class = "row" >
< div class = "col-md-2 col-md-push-10" >
< span style = "vertical-align: top;" > Advanced< / span >
< p-inputSwitch id = "customInputSwitch" [ ( ngModel ) ] = " advanced " > < / p-inputSwitch >
< / div >
< / div >
< div * ngIf = "settings" >
< div * ngIf = "settings" >
< fieldset >
< fieldset >
< legend > Plex Configuration< / legend >
< legend > Plex Configuration< / legend >
@ -34,21 +40,24 @@
< div class = "form-group" >
< div class = "form-group" >
< label for = "name" class = "control-label" > Server name< / label >
< label for = "name" class = "control-label" > Server name< / label >
< div >
< div >
< input type = "text" class = "form-control form-control-custom " id = "name" name = "name" placeholder = "Server" [ ( ngModel ) ] = " server . name " value = "{{server.name}}" >
< input type = "text" class = "form-control form-control-custom " id = "name" name = "name" placeholder = "Server" [ ( ngModel ) ] = " server . name "
value="{{server.name}}">
< / div >
< / div >
< / div >
< / div >
< div class = "form-group" >
< div class = "form-group" >
< label for = "Ip" class = "control-label" > Hostname or IP< / label >
< label for = "Ip" class = "control-label" > Hostname or IP< / label >
< div >
< div >
< input type = "text" class = "form-control form-control-custom " id = "Ip" name = "Ip" placeholder = "localhost" [ ( ngModel ) ] = " server . ip " value = "{{server.ip}}" >
< input type = "text" class = "form-control form-control-custom " id = "Ip" name = "Ip" placeholder = "localhost" [ ( ngModel ) ] = " server . ip "
value="{{server.ip}}">
< / div >
< / div >
< / div >
< / div >
< div class = "form-group" >
< div class = "form-group" >
< label for = "portNumber" class = "control-label" > Port< / label >
< label for = "portNumber" class = "control-label" > Port< / label >
< div >
< div >
< input type = "text" [ ( ngModel ) ] = " server . port " class = "form-control form-control-custom " id = "portNumber" name = "Port" placeholder = "Port Number" value = "{{server.port}}" >
< input type = "text" [ ( ngModel ) ] = " server . port " class = "form-control form-control-custom " id = "portNumber" name = "Port" placeholder = "Port Number"
value="{{server.port}}">
< / div >
< / div >
< / div >
< / div >
@ -59,33 +68,24 @@
< / div >
< / div >
< / div >
< / div >
<!-- <div class="form - group">
< div class = "checkbox" >
< input type = "checkbox" id = "EnableTvEpisodeSearching" [ ( ngModel ) ] = " server . enableEpisodeSearching " [ checked ] = " server . enableEpisodeSearching " >
< label for = "EnableTvEpisodeSearching" > Enable Episode Searching< / label >
< / div >
< small >
If enabled then we will lookup all episodes on your Plex server and store them in the local database. This will stop episode requests that already exist on Plex (that might not be in Sonarr).
Please be aware that this is a very resource intensive process and while the Plex Episode Cacher job is running the application may appear slow (Depending on the size of your Plex library).
< / small >
< / div > -->
< div class = "form-group" >
< div class = "form-group" >
< label for = "authToken" class = "control-label" > Plex Authorization Token< / label >
< label for = "authToken" class = "control-label" > Plex Authorization Token< / label >
< div class = "" >
< div class = "" >
< input type = "text" class = "form-control-custom form-control" id = "authToken" [ ( ngModel ) ] = " server . plexAuthToken " placeholder = "Plex Auth Token" value = "{{server.plexAuthToken}}" >
< input type = "text" class = "form-control-custom form-control" id = "authToken" [ ( ngModel ) ] = " server . plexAuthToken " placeholder = "Plex Auth Token"
value="{{server.plexAuthToken}}">
< / div >
< / div >
< / div >
< / div >
< div class = "form-group" >
< div class = "form-group" >
< label for = "MachineIdentifier" class = "control-label" > Machine Identifier< / label >
< label for = "MachineIdentifier" class = "control-label" > Machine Identifier< / label >
< div class = "" >
< div class = "" >
< input type = "text" class = "form-control-custom form-control" id = "MachineIdentifier" name = "MachineIdentifier" [ ( ngModel ) ] = " server . machineIdentifier " value = "{{server.machineIdentifier}}" >
< input type = "text" class = "form-control-custom form-control" id = "MachineIdentifier" name = "MachineIdentifier" [ ( ngModel ) ] = " server . machineIdentifier "
value="{{server.machineIdentifier}}">
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "col-md-6" >
< div class = "col-md-6" >
< div class = "form-group" >
< div class = "form-group" >
< label for = "username" class = "control-label" > Username and Password< / label >
< label for = "username" class = "control-label" > Username and Password< / label >
@ -100,16 +100,20 @@
< div class = "form-group" >
< div class = "form-group" >
< div >
< div >
< button id = "requestToken" ( click ) = " requestServers ( server ) " class = "btn btn-primary-outline" > Load Servers < i class = "fa fa-key" > < / i > < / button >
< button id = "requestToken" ( click ) = " requestServers ( server ) " class = "btn btn-primary-outline" > Load Servers
< i class = "fa fa-key" > < / i >
< / button >
< / div >
< / div >
< / div >
< / div >
< br / >
< br / >
< br / >
< br / >
< div class = "form-group" * ngIf = "loadedServers" >
< div class = "form-group" * ngIf = "loadedServers" >
< label for = "username" class = "control-label" > Please select the server< / label > < br / >
< label for = "username" class = "control-label" > Please select the server< / label >
< br / >
< div class = "btn-group" >
< div class = "btn-group" >
< div class = "btn-group" >
< div class = "btn-group" >
< a [ attr . disabled ] = " ! serversButton ? true : null " href = "#" class = "btn btn-info-outline dropdown-toggle" data-toggle = "dropdown" aria-expanded = "false" >
< a [ attr . disabled ] = " ! serversButton ? true : null " href = "#" class = "btn btn-info-outline dropdown-toggle" data-toggle = "dropdown"
aria-expanded="false">
Servers
Servers
< span class = "caret" > < / span >
< span class = "caret" > < / span >
< / a >
< / a >
@ -128,7 +132,9 @@
< small > Note: if nothing is selected, we will monitor all libraries< / small >
< small > Note: if nothing is selected, we will monitor all libraries< / small >
< div class = "form-group" >
< div class = "form-group" >
< div >
< div >
< button ( click ) = " loadLibraries ( server ) " class = "btn btn-primary-outline" > Load Libraries < i class = "fa fa-film" > < / i > < / button >
< button ( click ) = " loadLibraries ( server ) " class = "btn btn-primary-outline" > Load Libraries
< i class = "fa fa-film" > < / i >
< / button >
< / div >
< / div >
< / div >
< / div >
< div * ngIf = "server.plexSelectedLibraries" >
< div * ngIf = "server.plexSelectedLibraries" >
@ -142,6 +148,14 @@
< / div >
< / div >
< / div >
< / div >
< div class = "form-group" * ngIf = "advanced" >
< label for = "episodeBatchSize" class = "control-label" > Episode Batch Size< / label >
< div >
< input type = "number" class = "form-control-custom form-small form-control" id = "episodeBatchSize" name = "episodeBatchSize" [ ( ngModel ) ] = " server . episodeBatchSize "
value="{{server.episodeBatchSize}}" tooltipPosition="top" pTooltip="This is used when we cache the episodes, we cache in batches of 50 by default, you can configure how many we do at a time here">
< / div >
< / div >
< div class = "form-group" >
< div class = "form-group" >
< div >
< div >
< button id = "testPlex" type = "submit" ( click ) = " testPlex ( server ) " class = "btn btn-primary-outline" >
< button id = "testPlex" type = "submit" ( click ) = " testPlex ( server ) " class = "btn btn-primary-outline" >
@ -158,11 +172,11 @@
< / div >
< / div >
< / ngb-tabset >
< / ngb-tabset >
< div class = "col-md-3" >
< div class = "col-md-3" >
< div class = "form-group" >
< div class = "form-group" >
< div >
< div >
< button ( click ) = " save ( ) " type = "submit" id = "save" class = "btn btn-primary-outline" > Submit< / button >
< button ( click ) = " save ( ) " type = "submit" id = "save" class = "btn btn-primary-outline" > Submit< / button >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / fieldset >
< / fieldset >
< / div >
< / div >