mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Allow changing web server port during playback
This commit is contained in:
@@ -305,6 +305,12 @@ class ClapperPlayerBase extends GstPlayer.Player
|
|||||||
this.webserver.stopListening();
|
this.webserver.stopListening();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'webserver-port':
|
||||||
|
if(!this.webserver)
|
||||||
|
break;
|
||||||
|
|
||||||
|
this.webserver.setListeningPort(settings.get_int(key));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user