ingbyr / vdm

GUI for command-line video downloader (youtube-dl annie)
Other
1.92k stars 294 forks source link

Any chance to run it on headless over a webui ? want integrate it to Qnap NAS community #89

Open nephaste opened 4 years ago

nephaste commented 4 years ago

I was wondering to see this project...

I was thinking it was running over a webui to push VDM on Qnap NAS (annie is already available in CLI)

unfortunately :

[/share/Public/VDM] # export JAVA_HOME=/opt/QJDK8 [/share/Public/VDM] # export JAVA=$JAVA_HOME/bin/java [/share/Public/VDM] # $JAVA -jar VDM.jar Exception in thread "main" java.lang.UnsupportedOperationException: Unable to open DISPLAY at com.sun.glass.ui.gtk.GtkApplication.lambda$new$5(GtkApplication.java:142) at java.security.AccessController.doPrivileged(Native Method) at com.sun.glass.ui.gtk.GtkApplication.<init>(GtkApplication.java:140) at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:41) at com.sun.glass.ui.Application.run(Application.java:146) at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:278) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:211) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675) at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:695) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$1(LauncherImpl.java:182) at java.lang.Thread.run(Thread.java:748)