|
|
@ -231,7 +231,7 @@ public class Downloader extends QueueThing<TrackRequest, Track> |
|
|
|
List<Track> ret = new ArrayList<>(); |
|
|
|
List<Track> ret = new ArrayList<>(); |
|
|
|
try |
|
|
|
try |
|
|
|
{ |
|
|
|
{ |
|
|
|
String cmd = Chords.getSettings().getYtdlCommand() + " --skip-download --write-info-json " + request.getUrl().toString(); |
|
|
|
String cmd = Chords.getSettings().getYtdlCommand() + " --skip-download --print-json " + request.getUrl().toString(); |
|
|
|
Process exec = runCommand(cmd, INFO_TIMEOUT); |
|
|
|
Process exec = runCommand(cmd, INFO_TIMEOUT); |
|
|
|
InputStream input = exec.getInputStream(); |
|
|
|
InputStream input = exec.getInputStream(); |
|
|
|
|
|
|
|
|
|
|
|