fix: use ytmsearch: instead of ytmsearch3: (unsupported by yt-dlp)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
cc7fc80c71
commit
59562fe156
1 file changed
+1
-1
@@ -230,7 +230,7 @@ async function downloadTrack({ jobId, artist, albumArtist, title, album, year, t
|
|||||||
log(jobId, `🎵 YouTube Music: "${query}"`);
|
log(jobId, `🎵 YouTube Music: "${query}"`);
|
||||||
const countBefore = audioFileCount();
|
const countBefore = audioFileCount();
|
||||||
try {
|
try {
|
||||||
await runYtdlp(`ytmsearch3:${query}`);
|
await runYtdlp(`ytmsearch:${query}`);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log(jobId, `⚠️ YouTube Music Fehler: ${e.message}`);
|
log(jobId, `⚠️ YouTube Music Fehler: ${e.message}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user