Repository navigation
Releases
Releases · toydotgame/yt-dlp-java
v2.0.4
The differences are:
- Added
#onOutBufferUpdate(char)and#onErrBufferUpdate(char)methods forDownloadProgressCallbackfor respective stdout/stderr buffer streams. i.e. they're not public so you can print live output instead of usingYtDlpResponse#getOut()and#getErr() YtDlpExceptionis safe to serialise- Regexes have been updated so the
#onProgressUpdate(float, long)method now works for when yt-dlp is taking a while to calculate an ETA. Additionally, the old regex has been updated for compatibility with YouTube fragment logging (which meant that before now, progress callbacks completely didn't work at all!!!).- When using this, note that
etaInSecondswill now be-1to represent "Unknown" - (Internally) Progress regexes are defined with the String constants already in the class to remove redundant specification
- When using this, note that