mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 08:54:19 +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
|
||||
}
|
||||
|
||||
if DELETE_SONG_FILE {
|
||||
DeleteFile(filepath.Join(path, fileName+".m4a"))
|
||||
|
||||
if DELETE_SONG_FILE {
|
||||
DeleteFile(filepath.Join(path, fileName+".wav"))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue