Info
Mainly intended for those, like myself, who prefer automatically downloading/streaming files locally (and immediately streaming the locally generated *.part file with VLC, for example) rather than watching through an online player due to unstable/stalling internet connections or faster download speeds/convenience using JDownloader2.
This script requires the following to run:
Check if JDownloader is running
CNL2 requires that JDownloader is running.
Open http://127.0.0.1:9666/flash/
If A “Website” with 'JDownloader' opens, JD is running.
This page has more technical info on JDownloader2 and Click'nLoad:
http://jdownloader.org/knowledge/wiki/glossary/cnl2
Optional Script
Also, you can use the following convenient code with AutoHotkey, copy/paste into notepad, save as 'jdownloader.ahk'. When you run it, it will sit in the system tray and automatically wait and click ok on windows from jdownloader that ask if it's ok to add a link or to update.
SetTitleMatchMode, 2
loop {
IfWinExist, External request from
{
WinActivate
Send, {ENTER}
}
IfWinExist, New Update available
{
WinActivate
Send, {ENTER}
}
Sleep, 1000
}