playlistalo/pl_add.py

10 lines
198 B
Python
Executable file

#!/usr/bin/env python3
#Aggiunge un file in playlist
import playlistalo
import sys
if __name__ == '__main__':
file = sys.argv[1]
user = sys.argv[2]
print (playlistalo.add(file, user))