JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 15.05.2013, 20:02
estorado
Guest
 
Posts: n/a
Default jd2 command line version

Hallo,

gibt es eine Möglichkeit den JDownloader2 unter CentOS 5.4 ohne Desktop auf der Commandline (CLI) zu betreiben? Haben Java das OpenJDK installiert und rufe den jd2 wie folg auf:

Code:
java -jar JDownloader.jar -add-link **External links are only visible to Support Staff**
Fehlermeldung (Schnipsel) fürs volle Log bitte kurze Info:
Spoiler:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
at java.awt.Window.<init>(Window.java:535)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1755)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1830)
at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1697)
at org.appwork.utils.swing.SwingUtils.getWindowForComponent(SwingUtils.java:63)
at org.appwork.utils.swing.dialog.TimerDialog$InternDialog.<init>(TimerDialog.java:35)
at org.appwork.utils.swing.dialog.TimerDialog.layoutDialog(TimerDialog.java:273)
at org.appwork.utils.swing.dialog.AbstractDialog._init(AbstractDialog.java:197)
at org.appwork.utils.swing.dialog.AbstractDialog.displayDialog(AbstractDialog.java:511)
at org.appwork.utils.swing.dialog.Dialog$1.edtRun(Dialog.java:493)
at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:84)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
May 15, 2013 1:39:31 PM org.appwork.shutdown.ShutdownController requestShutdown
INFO: Utils>org.jdownloader.update.UpdateManager>No Vetos
May 15, 2013 1:39:31 PM org.appwork.shutdown.ShutdownController requestShutdown
INFO: Utils>org.jdownloader.update.UpdateManager>Fire onShutDownEvents
May 15, 2013 1:39:31 PM org.appwork.shutdown.ShutdownController requestShutdown
INFO: Utils>org.jdownloader.update.UpdateManager>Call onShutdown: jd.controlling.linkcollector.LinkCollector@12082570
May 15, 2013 1:39:31 PM org.appwork.shutdown.ShutdownController requestShutdown
INFO: Utils>org.jdownloader.update.UpdateManager>Call onShutdown done: jd.controlling.linkcollector.LinkCollector@12082570
May 15, 2013 1:39:31 PM org.appwork.shutdown.ShutdownController requestShutdown
INFO: Utils>org.jdownloader.update.UpdateManager>Call onShutdown: org.jdownloader.updatev2.RestartController@16a1ac
May 15, 2013 1:39:31 PM org.appwork.shutdown.ShutdownController requestShutdown
INFO: Utils>org.jdownloader.update.UpdateManager>Call onShutdown done: org.jdownloader.updatev2.RestartController@16a1ac
May 15, 2013 1:39:31 PM org.appwork.shutdown.ShutdownController requestShutdown
INFO: Utils>org.jdownloader.update.UpdateManager>Create ExitThread
May 15, 2013 1:39:31 PM org.appwork.shutdown.ShutdownController requestShutdown
INFO: Utils>org.jdownloader.update.UpdateManager>Wait
May 15, 2013 1:39:31 PM org.appwork.shutdown.ShutdownController$4 run
INFO: Exit Now: Code: 0
Reply With Quote
  #2  
Old 16.05.2013, 06:25
titus titus is offline
Tera Loader
 
Join Date: Jan 2010
Posts: 177
Default

Der sogenannte Headless Mode soll mit JD2 kommen. Fragt sich nur wann. Ich kann#s kaum erwarten, pyload von meinem NAS zu kicken.
Reply With Quote
  #3  
Old 17.05.2013, 09:32
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 1,264
Default

Quote:
Originally Posted by titus View Post
Der sogenannte Headless Mode soll mit JD2 kommen. Fragt sich nur wann. Ich kann#s kaum erwarten, pyload von meinem NAS zu kicken.
Läuft JDownloader denn überhaupt auf der NAS bzgl. Ressourcen?

Ich hörte immer wieder das Pyload nicht nur wegen dem fehlenden Modus von JD sondern auch wegen den geringeren Ressourcen genutzt wird. Wenn es genug Ressourcen bietet reicht vielleicht ein Framebuffer aus oder ein X-Forward um den X-Server woanders zu betreiben. Habe leider keine NAS bisher aber interessiere mich deutlich für das Thema.
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.
Reply With Quote
  #4  
Old 17.05.2013, 10:59
titus titus is offline
Tera Loader
 
Join Date: Jan 2010
Posts: 177
Default

Momentane Hacks sollen mit SCREEN laufen, ich krieg's allerdings nicht hin. Wenn aber die grafische Oberfläche über ein (abgespecktes) Web-GUI läuft, sollten dieser Hardware ausreichen, oder?
Code:
processor       : 0
cpu             : APM82181
clock           : 800.000008MHz
revision        : 28.130 (pvr 12c4 1c82)
bogomips        : 1600.00
timebase        : 800000008
platform        : PowerPC 44x Platform
model           : amcc,apollo3g
Memory          : 256 MB
Reply With Quote
  #5  
Old 17.05.2013, 13:23
coalado's Avatar
coalado coalado is offline
JD Manager
 
Join Date: Feb 2009
Posts: 1,983
Default

JD2 sollte sich inzwischen relativ leicht auf Headless mode umschreiben lassen.

Am passenden Webinterface wird inzwischen schon eifrig gearbeitet (Siehe MyJDownloader)
__________________
Reply With Quote
  #6  
Old 18.05.2013, 07:41
titus titus is offline
Tera Loader
 
Join Date: Jan 2010
Posts: 177
Default

Ich muss zugeben, dass ich den Benefit von MyJDownloader nicht ganz nachvollziehen kann. Welchen Vorteile würde mir dessen Nutzung gegenüber einem echten Headless mode bieten (privacy-Problematik mal außen vor)?
Reply With Quote
  #7  
Old 18.05.2013, 18:31
Davidh2k
Guest
 
Posts: n/a
Default

Zum Thema Headless Mode würde es sich noch wünschen lassen dass der "Headless-JD" dann auch von einem "Remote-JD" gesteuert werden kann, und nicht nur über das, momentan, abgespeckte Webinterface.

Gruß
David
Reply With Quote
  #8  
Old 04.05.2014, 15:16
KillerKretsche
Guest
 
Posts: n/a
Question CMDLine Option

Hi,
ich wollte Fragen warum JDownloader 2 keine CMDLines unterstützt also Wenn z.B. der Download fertig ist danach nen Programm ausführen (oder halt nen cmd script) die Funktion könnte man leicht einbauen und dadurch kriegt man viele neue Möglichkeiten z.B. kann man dann seine Filme & Serien auto. mit Filebot sortieren lassen, ne email schicken lassen, XBMC melden, dass neue Filme/Serien da sind (Ohne das announcen an XBMC werden die net angezeigt) Dadurch kann man quasi nen "Autmated Media Center" basteln mit der Funktion

Für Mods > **External links are only visible to Support Staff****External links are only visible to Support Staff**

Ich hab im MYJD Feedback Thread ja gelesen in welche richtung sich JDownloader 2 entwickeln wird (Flexget Support) und dann wäre folgendes möglich Flexget>JDownloader 2> Filebot > +(Zus. kram)

wäre halt ziemlich nice :D
Reply With Quote
  #9  
Old 04.05.2014, 17:01
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 53,690
Default

Du meinst wohl nen Eventmanager - hatten wir mal, dazu gibts noch Tickets bzlg. JD2 Implementation.

GreeZ psp
__________________
JD Supporter, Plugin Dev. & Community Manager
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || Erste Schritte & Tutorials
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #10  
Old 24.01.2015, 13:40
zamzon
Guest
 
Posts: n/a
Default -speed command line switch missing

The -speed command line switch documented in **External links are only visible to Support Staff**... is missing:
-add-containers/-add-container/-co <ContainerPath1> <ContainerPath2> ... <ContainerPath*> Add Container Files to the LinkGrabber
-add-passwords/-add-password/-p Password1\r\nPassword2\r\n....\r\nContainerPath Add Extraction Passwords
-add-links/-add-link/-a <Link1> <Link2> ... <Link*> Add Links to the LinkGrabber
-focus/-f/-afterupdate Focus JDownloader and bring JD to TOP
-minimize/-m Minimize JDownloader to the Taskbar
-h/-help/-? Show this help
-jacShow/-jacTrain Show the JAntiCaptcha Trainer
-reconnect/-r Do a Reconnect
-null Load Container files
-brdebug Set the Browser Debug Mode. Verbose Connection Infos
-scanextensions/-scanplugins/-scan Rescan Plugins at Startup
-myjd Init MyJdownloader -myjd
-noerr Disable System.err
-set Set Config -set class key value
-n Force a new Instance.
-console Write all Logs to STDOUt or STDERR
-s/--show Show JAC prepared captchas
-t/--train Train a JAC method
-C/--captcha <filepath or url> <method> Get code from image using JAntiCaptcha
-p/--add-password(s) Add passwords
-n --new-instance Force new instance if another jD is running
Is there another way of setting the download speed from command line?

Regards,
Reply With Quote
  #11  
Old 25.01.2015, 00:46
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,181
Default

@zamzon

no, sorry there isn't.

the cli has very limited scope, just provides functions for those that want to do the basic things, and a few development switches (debug|brdebug|console|jac stuff)
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #12  
Old 25.01.2015, 15:20
zamzon
Guest
 
Posts: n/a
Default

Thank you for clarifying this.

The (HTTP) remote control interface/plugin in JD2 is gone, too.

There seems really no (simple) way of automatically switching to full download speed, when I leave the computer.

I did not follow the development of jd(2), but I hope there where good reasons to make it less powerfull in that respect.

Regards.
Reply With Quote
  #13  
Old 25.01.2015, 15:36
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,181
Default

when we rewrote most parts of JDownloader 2.0 components like the old remote control was removed due to the amount of refactoring and rewritten core components. A new API was written and it didn't make sense to maintain / update the old when it was going to be replaced. JDownloader 2.0 new API is more powerful than the old, if your interested in remote control at the API level please search the forum for provided docs. Also there are existing webui and apps for android and apple phones which allow remote control over this new API.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 05:56.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.