return (profile.getVideoProfile().isDownload() || profile.getCommentProfile().isDownload());
}
- // TODO どこかに処理を移す必要がある.
- /**
- * (ネットワーク設定以外の)設定を検証する.
- * @throws IllegalArgumentException 設定に不備がある場合.
- */
-// private void validSetting() {
-// if (profile.getOutputFileSetting().isConvert()) {
-// File a = profile.getFfmpeg().getFfmpeg();
-// if (!a.canRead()) {
-// throw new IllegalArgumentException("FFmpegが見つかりません。");
-// }
-// if (profile.getFfmpeg().getVhook().getPath().indexOf(' ') >= 0) {
-// throw new IllegalArgumentException("すいません。現在vhookライブラリには半角空白は使えません。");
-// }
-// a = profile.getFfmpeg().getVhook();
-// if (!a.canRead()) {
-// throw new IllegalArgumentException("Vhookライブラリが見つかりません。");
-// }
-// a = profile.getFfmpeg().getFont();
-// if (!a.canRead()) {
-// throw new IllegalArgumentException("フォントが見つかりません。");
-// }
-// }
-// }
/**
* HttpClientを生成し, ニコニコ動画サーバへログインします.
* @return 生成したHttpClientインスタンス.