This commit is contained in:
lunaticbum 2026-04-21 17:10:59 +09:00
parent b64df76c90
commit c5d0a827e9
2 changed files with 6 additions and 3 deletions

View File

@ -558,7 +558,7 @@ class ForeGroundService : Service() {
addOption("--cookies", "${cookieFile.absolutePath}")
// 출력 경로
addOption("-o", "${youtubeDLDir.absolutePath}/%(title)s [%(id)s].%(ext)s")
addOption("-o", "${youtubeDLDir.absolutePath}/[%(uploader)s] %(title)s [%(id)s].%(ext)s")
// if (forMusic) {
// // 음악 전용 옵션
@ -568,7 +568,9 @@ class ForeGroundService : Service() {
// addOption("-f", "bestaudio[ext=m4a]/bestaudio/best")
// } else {
// 일반 영상용
addOption("-f", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best")
// addOption("-f", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best")
addOption("-f", "best[ext=mp4]")
// }
addOption("--no-check-certificates")
addOption("--verbose")

View File

@ -291,7 +291,8 @@ open class GeckoWeb @JvmOverloads constructor(
// addOption("-f", "bestaudio[ext=m4a]/bestaudio/best")
// } else {
// 일반 영상용 기본 포맷
addOption("-f", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best")
addOption("-f", "best[ext=mp4]")
// addOption("-f", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best")
// }