feat: route non-direct CLI links through Odesli (handle_link)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1367,7 +1367,11 @@ def main():
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if is_url(query):
|
if is_url(query):
|
||||||
handle_url(query, args.root, args.quality, args.dry_run)
|
if _is_direct_url(query):
|
||||||
|
handle_url(query, args.root, args.quality, args.dry_run)
|
||||||
|
else:
|
||||||
|
handle_link(query, args.root, args.quality, args.dry_run,
|
||||||
|
args.noninteractive, args.ytsearch, args.limit)
|
||||||
return
|
return
|
||||||
|
|
||||||
hits = build_combined_hits(query, args.limit, args.ytsearch,
|
hits = build_combined_hits(query, args.limit, args.ytsearch,
|
||||||
|
|||||||
Reference in New Issue
Block a user