summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2026-05-19 19:26:22 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2026-05-19 19:26:22 +0200
commit04f739701e2c45d827240f8283e4260a157be0f8 (patch)
treedb9675447f43fe945093cc324fbee4a1e5e2207d
parent15076a26fd6bdd87f793d4331000e92e671a48bc (diff)
push
-rw-r--r--.gitignore3
-rw-r--r--dl-artist.py6
2 files changed, 6 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index ea898a3..65ce3cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,4 +3,5 @@ output/
yt-dlp_linux
queue.txt
download/
-*.txt \ No newline at end of file
+*.txt
+yt-dlp \ No newline at end of file
diff --git a/dl-artist.py b/dl-artist.py
index eec11f0..42abd05 100644
--- a/dl-artist.py
+++ b/dl-artist.py
@@ -201,7 +201,7 @@ while (NeedRestart):
# Construct the command as a list
command = [
- './yt-dlp_linux',
+ 'yt-dlp',
f"https://music.youtube.com/playlist?list={albumdata['audioPlaylistId']}",
'-o',
output_dir+'/'+artist_name+'/'+album_name+'/%(title)s.%(ext)s', # Adjust the path as needed
@@ -213,6 +213,8 @@ while (NeedRestart):
'--no-overwrites'
]
+ #print(*command)
+
if not do_download:
print(f'({index+1}/{len(albums)}) Skipped download of album {album_name}')
break
@@ -248,7 +250,7 @@ while (NeedRestart):
# Construct the command as a list
command = [
- './yt-dlp_linux',
+ 'yt-dlp',
f"https://music.youtube.com/playlist?list={singledata['audioPlaylistId']}",
'-o',
output_dir+'/'+artist_name+'/Singles/%(title)s.%(ext)s', # Adjust the path as needed