mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 17:04:22 +00:00
Delete .m4a song file once done using it.
This commit is contained in:
parent
39dd8efb94
commit
46e2a87e76
1 changed files with 2 additions and 1 deletions
|
|
@ -146,8 +146,9 @@ func dlTrack(tracks []Track, path string) (int, error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if DELETE_SONG_FILE {
|
|
||||||
DeleteFile(filepath.Join(path, fileName+".m4a"))
|
DeleteFile(filepath.Join(path, fileName+".m4a"))
|
||||||
|
|
||||||
|
if DELETE_SONG_FILE {
|
||||||
DeleteFile(filepath.Join(path, fileName+".wav"))
|
DeleteFile(filepath.Join(path, fileName+".wav"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue