summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jackson@jacksontaylor.xyz>2023-03-22 17:47:55 -0400
committerJackson Taylor <jackson@jacksontaylor.xyz>2023-03-22 17:48:39 -0400
commitdc027f1e1b1fa52344f3abfc0562fc633cb73d61 (patch)
treef7e257e6cb48f6c24ab92ad98f7ee218c09004e3
parent930b8478d569f74f6153ac522c9bdefa450ecea7 (diff)
Ignore virtual envs
-rw-r--r--.gitignore4
-rwxr-xr-xjamos4
2 files changed, 5 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 731010f..437de7b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,4 +4,6 @@ music/*
cookies.txt
# VSCode settings
-.vscode/* \ No newline at end of file
+.vscode/*
+
+venv/*
diff --git a/jamos b/jamos
index e947e3d..765c17c 100755
--- a/jamos
+++ b/jamos
@@ -200,7 +200,7 @@ def create_downloader(music_directory, cookies):
audio_options = {
'format': 'mp3/bestaudio/best',
'cookiefile': cookies,
- 'outtmpl': music_directory + '%(title)s.%(ext)s',
+ 'outtmpl': os.path.join(music_directory, '%(title)s.%(ext)s'),
'postprocessors': [
{
'key': 'FFmpegExtractAudio',
@@ -298,7 +298,7 @@ if __name__ == "__main__":
print("Done".format(f))
print("Moving file...", end="")
move_file(f, metadata, music_directory)
- print("Done", end="")
+ print("Done")
counter += 1
except Exception as e:
# just gonna print this and move on to the next file.