first commit
This commit is contained in:
6
plugin/NavidromePlaylistSync/saveFile.py
Normal file
6
plugin/NavidromePlaylistSync/saveFile.py
Normal file
@ -0,0 +1,6 @@
|
||||
import os
|
||||
|
||||
def saveFile(name, data):
|
||||
tempPath = os.path.join(os.path.dirname(__file__), 'temp')
|
||||
with open(os.path.join(tempPath, f'{name}.m3u'), 'wb') as code:
|
||||
code.write(data)
|
Reference in New Issue
Block a user