Add all files

This commit is contained in:
2025-09-29 13:52:46 +00:00
parent 137b5f2b51
commit 8edfb40df3
11 changed files with 1756 additions and 0 deletions

18
download_soundcloud.py Executable file
View File

@@ -0,0 +1,18 @@
import sys
from subprocess import call
import subprocess
def main():
if (len(sys.argv) != 2):
print("Wrong parameters!")
sys.exit(-1)
url = sys.argv[1].strip()
print("passing link " + str(url))
if ("soundcloud" not in url):
print("Url has to be a soundcloud link!")
sys.exit(-1)
print("executing command")
call("cd /home/sem/TODO\ MUSIC/",shell=True)
call("./download-soundcloud.sh " + url,shell=True)
if __name__ == "__main__":
main()