forked from j62/ctbrec
parent
b90313dd86
commit
6faee8290c
|
@ -27,8 +27,8 @@ import ctbrec.recorder.LocalRecorder;
|
||||||
import ctbrec.recorder.Recorder;
|
import ctbrec.recorder.Recorder;
|
||||||
import ctbrec.recorder.RemoteRecorder;
|
import ctbrec.recorder.RemoteRecorder;
|
||||||
import ctbrec.sites.Site;
|
import ctbrec.sites.Site;
|
||||||
import ctbrec.sites.camsoda.Camsoda;
|
|
||||||
import ctbrec.sites.cam4.Cam4;
|
import ctbrec.sites.cam4.Cam4;
|
||||||
|
import ctbrec.sites.camsoda.Camsoda;
|
||||||
import ctbrec.sites.chaturbate.Chaturbate;
|
import ctbrec.sites.chaturbate.Chaturbate;
|
||||||
import ctbrec.sites.mfc.MyFreeCams;
|
import ctbrec.sites.mfc.MyFreeCams;
|
||||||
import javafx.application.Application;
|
import javafx.application.Application;
|
||||||
|
@ -74,9 +74,6 @@ public class CamrecApplication extends Application {
|
||||||
try {
|
try {
|
||||||
site.setRecorder(recorder);
|
site.setRecorder(recorder);
|
||||||
site.init();
|
site.init();
|
||||||
if (!Objects.equals(System.getenv("CTBREC_DEV"), "1")) {
|
|
||||||
site.login();
|
|
||||||
}
|
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
LOG.error("Error while initializing site {}", site.getName(), e);
|
LOG.error("Error while initializing site {}", site.getName(), e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue