mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Add comments
This commit is contained in:
@@ -26,7 +26,7 @@ open('list.txt', 'a').close()
|
|||||||
|
|
||||||
spotify = spotipy.Spotify()
|
spotify = spotipy.Spotify()
|
||||||
|
|
||||||
# Set up agruments
|
# Set up arguments
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument("-n", "--no-convert", help="skip the conversion process and meta-tags", action="store_true")
|
parser.add_argument("-n", "--no-convert", help="skip the conversion process and meta-tags", action="store_true")
|
||||||
parser.add_argument("-m", "--manual", help="choose the song to download manually", action="store_true")
|
parser.add_argument("-m", "--manual", help="choose the song to download manually", action="store_true")
|
||||||
@@ -204,6 +204,7 @@ def grabList(file):
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
print('Total songs in list = ' + str(len(lines)) + ' songs')
|
print('Total songs in list = ' + str(len(lines)) + ' songs')
|
||||||
|
# Count the number of song being downloaded
|
||||||
number = 1
|
number = 1
|
||||||
for raw_song in lines:
|
for raw_song in lines:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user