fix: skip artist channel results, live notification list update
- Add --match-filter 'webpage_url !*= /browse/' to baseArgs so yt-dlp skips YTM artist channel pages returned as search results (previously caused recursive channel-upload fetches that wasted time) - Call _renderNotifList() in _addNotif so playlist-created notifications appear immediately without needing a page reload Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
f831e1fd8f
commit
2d71fdce6a
2 files changed
+4
No files matched your search
@@ -255,6 +255,9 @@ async function downloadTrack({ jobId, artist, albumArtist, title, album, year, t
|
|||||||
'--no-playlist',
|
'--no-playlist',
|
||||||
'--no-warnings',
|
'--no-warnings',
|
||||||
'--newline',
|
'--newline',
|
||||||
|
// Skip artist channel pages that YTM sometimes returns as search result 1;
|
||||||
|
// without this yt-dlp recursively fetches the entire channel uploads playlist.
|
||||||
|
'--match-filter', 'webpage_url !*= /browse/',
|
||||||
];
|
];
|
||||||
// Filtered searches: top 5 (fast) and top 10 (wider net when top 5 misses).
|
// Filtered searches: top 5 (fast) and top 10 (wider net when top 5 misses).
|
||||||
// Unfiltered fallback only needs item 1 (no filter to skip past).
|
// Unfiltered fallback only needs item 1 (no filter to skip past).
|
||||||
|
|||||||
Reference in new issue
Block a user