Delete .m4a song file once done using it.

This commit is contained in:
Chigozirim Igweamaka 2024-06-29 22:58:17 +01:00
parent 39dd8efb94
commit 46e2a87e76

View file

@ -146,8 +146,9 @@ func dlTrack(tracks []Track, path string) (int, error) {
return
}
if DELETE_SONG_FILE {
DeleteFile(filepath.Join(path, fileName+".m4a"))
if DELETE_SONG_FILE {
DeleteFile(filepath.Join(path, fileName+".wav"))
}