localFile = f"{it['singer']} - {it['title']}.{it['extra']}".replace(
"/", "\\")
localLrcFile = f"{it['singer']} - {it['title']}.lrc".replace(
"/", "\\")
mShower = localFile
my_path = download_home+it['singer']+'/'
if not onlyShowSingerSelfSongs:
if not os.path.exists(my_path):
os.mkdir(f"{my_path}")
my_path = f"{my_path}{it['album']}"
if not os.path.exists(my_path):
os.mkdir(f"{my_path}")
localFile = os.path.join(my_path, f"{localFile}")
localLrcFile = os.path.join(my_path, f"{localLrcFile}")
localFile = f"{it['singer']} - {it['title']}.{it['extra']}".replace(
"/", ",")
localLrcFile = f"{it['singer']} - {it['title']}.lrc".replace(
"/", ",")
localFile = localFile.replace('|','')
localLrcFile=localLrcFile.replace('|','')
mShower = localFile
my_path = download_home+it['singer']+'\\'
my_path = my_path.replace('"','')
my_path = my_path.replace("'",'')
my_path = my_path.replace('|','')
my_path = my_path.replace('*','')
my_path = my_path.replace('?','')
my_path = my_path.replace('<','')
my_path = my_path.replace('>','')
my_path = my_path.replace('/', '-')
if not onlyShowSingerSelfSongs:
if not os.path.exists(my_path):
os.mkdir(f"{my_path}")
my_path = f"{my_path}{it['album']}"
my_path = my_path.replace('"','')
my_path = my_path.replace("'",'')
my_path = my_path.replace('|','')
my_path = my_path.replace('*','')
my_path = my_path.replace('?','')
my_path = my_path.replace('<','')
my_path = my_path.replace('>','')
my_path = my_path.replace('.', '')
my_path = my_path.replace('/', '-')
if not os.path.exists(my_path):
os.mkdir(f"{my_path}")
localFile = os.path.join(my_path, f"{localFile}")
localLrcFile = os.path.join(my_path, f"{localLrcFile}")