Fix desktop to support this
This commit is contained in:
parent
d90c4dabe7
commit
fef068d809
6 changed files with 27 additions and 29 deletions
|
|
@ -36,7 +36,6 @@ interface RqbitDesktopConfigUpnp {
|
|||
disable: boolean;
|
||||
|
||||
enable_server: boolean;
|
||||
server_hostname: string;
|
||||
server_friendly_name: string;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -293,16 +293,6 @@ export const ConfigModal: React.FC<{
|
|||
help="If enabled, rqbit will advertise the media to supported LAN devices, e.g. TVs."
|
||||
/>
|
||||
|
||||
<FormInput
|
||||
inputType="text"
|
||||
label="[Required] Hostname"
|
||||
name="upnp.server_hostname"
|
||||
value={config.upnp.server_hostname}
|
||||
disabled={!config.upnp.enable_server}
|
||||
onChange={handleInputChange}
|
||||
help="Set this to your LAN IP or hostname resolvable from LAN."
|
||||
/>
|
||||
|
||||
<FormInput
|
||||
inputType="text"
|
||||
label="Friendly name"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue