|
|
|
@ -51,7 +51,7 @@ public class PlayCommand extends Command |
|
|
|
|
{ |
|
|
|
|
final URL url = new URL(invocation.getArgs().get(0)); |
|
|
|
|
request.setUrl(url); |
|
|
|
|
bot.queueDownload(request); |
|
|
|
|
bot.queueDownload(request, bot.getQueueManager()); |
|
|
|
|
|
|
|
|
|
} catch (MalformedURLException mux) |
|
|
|
|
{ |
|
|
|
@ -103,7 +103,7 @@ public class PlayCommand extends Command |
|
|
|
|
if (results.get(0).getScore() >= SEARCH_SCORE_THRESHOLD_AUTOPLAY) |
|
|
|
|
{ |
|
|
|
|
request.setResult(results.get(0)); |
|
|
|
|
bot.queueDownload(request); |
|
|
|
|
bot.queueDownload(request, bot.getQueueManager()); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|