playlistalo/pl_add.py

10 lines
196 B
Python
Executable file

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