Add logic responsible for starting web app

This commit is contained in:
Rafostar
2020-12-15 22:35:14 +01:00
parent a1e95dc012
commit a056fac1c1
6 changed files with 42 additions and 20 deletions

View File

@@ -1,9 +1,6 @@
const { GObject } = imports.gi;
const Misc = imports.clapper_src.misc;
const { WebClient } = imports.clapper_src.webClient;
let { settings } = Misc;
var PlayerRemote = GObject.registerClass(
class ClapperPlayerRemote extends GObject.Object
{
@@ -11,7 +8,7 @@ class ClapperPlayerRemote extends GObject.Object
{
super._init();
this.webclient = new WebClient(settings.get_int('webserver-port'));
this.webclient = new WebClient();
}
set_playlist(playlist)