mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-12-25 20:23:31 +02:00
print filename playlist after write
This commit is contained in:
parent
bf5f4c9811
commit
e3d523758d
1 changed files with 3 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue