Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
krmax44 authored Jul 25, 2017
1 parent b21180f commit 6f4fcf4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions password.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
text_file = open("password.txt", "w")
text_file.write(input("Set a password: "))
text_file.close()
12 changes: 12 additions & 0 deletions playify-transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ def receiveWS(c, s, msg):
"error": True,
"track": track
}))
else:
server.send_message_to_all(json.dumps({
"q": "auth",
"error": True,
"google": True
}))

elif data["q"] == "get_playlists":
api = Mobileclient(False)
Expand All @@ -70,6 +76,12 @@ def receiveWS(c, s, msg):
"q": "playlists",
"lists": array
}))
else:
server.send_message_to_all(json.dumps({
"q": "auth",
"error": True,
"google": True
}))

else:
server.send_message_to_all(json.dumps({
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
os.environ['TCL_LIBRARY']="C:\\Users\\Max\\AppData\\Local\\Programs\\Python\\Python36-32\\tcl\\tcl8.6"
os.environ['TK_LIBRARY']="C:\\Users\\Max\\AppData\\Local\\Programs\\Python\\Python36-32\\tcl\\tk8.6"

executables = [Executable("playify-transfer.py", base="Win32GUI", targetName="playify-transfer-invisible.exe"), Executable("playify-transfer.py", base=None)]
executables = [Executable("playify-transfer.py", base="Win32GUI", targetName="playify-transfer-invisible.exe"), Executable("playify-transfer.py", base=None), Executable("password.py", base=None)]

options = {
'build_exe': {
Expand Down

0 comments on commit 6f4fcf4

Please sign in to comment.