diff --git a/funkwlplay.py b/funkwlplay.py index f0c21dd..b00bff3 100755 --- a/funkwlplay.py +++ b/funkwlplay.py @@ -23,10 +23,12 @@ if args.instance: def create_playlist_file(track_list): - with open('playlist.m3u8', 'w') as file: + filename = 'playlist.m3u8' + with open(filename, 'w') as file: file.write('#EXTM3U\n') for i in track_list: file.write('\n' + i) + print(f'Playlist saved as {filename}') def filter_tracks(tracks):