diff --git a/main.py b/main.py index dc309f0..236070f 100644 --- a/main.py +++ b/main.py @@ -1,7 +1,5 @@ import os -os.system('git pull') - filelist = os.listdir() jsonfile = open("songs.json", "w", encoding="utf-8") jsonfile.write('{\n "songs":[\n') @@ -12,7 +10,7 @@ for file in filelist: if file[-4:] != ".ogg": continue jsonfile.write(" {\n" + ' "name":' + '"' + file.replace(".ogg","") + '",' + "\n") - jsonfile.write(' "url":' + '"' + 'https://github.com/patrlim/musicshite/raw/main/' + file.replace(" ","%20") + '"' + "\n }") + jsonfile.write(' "url":' + '"' + 'https://git.merith.xyz/patrlim/musicshite/raw/main/' + file.replace(" ","%20") + '"' + "\n }") if i != len(os.listdir()): jsonfile.write(",") jsonfile.write("\n") diff --git a/songs.json b/songs.json index 64b9c65..e49f15e 100644 --- a/songs.json +++ b/songs.json @@ -88,10 +88,6 @@ "name":"James Shimoji - Pepsi Man Theme Song", "url":"https://git.merith.xyz/patrlim/musicshite/raw/main/James%20Shimoji%20-%20Pepsi%20Man%20Theme%20Song.ogg" }, - { - "name":"Jamie Berry ft. Octavia Rose - Lost In The Rhythm", - "url":"https://git.merith.xyz/patrlim/musicshite/raw/main/Jamie%20Berry%20ft.%20Octavia%20Rose%20-%20Lost%20In%20The%20Rhythm.ogg" - }, { "name":"Jamie Berry, Octavia Rose - Light up the Night", "url":"https://git.merith.xyz/patrlim/musicshite/raw/main/Jamie%20Berry,%20Octavia%20Rose%20-%20Light%20up%20the%20Night.ogg"