jacktheripper51/groove-dl — Issue #3: patch: fix for missing streamKey
Author: ioggstream
Created: 2011-10-31 10:41:23+00:00
State: open

diff --git a/python/groove.py b/python/groove.py
index 039bb1e..ae3c5e0 100755
--- a/python/groove.py
+++ b/python/groove.py
@@ -135,6 +135,7 @@ if __name__ == "__main__":
if songid == "" or songid == "q": exit()
songid = eval(songid)
stream = getStreamKeyFromSongIDEx(s[songid]["SongID"])
+ stream["result"] = stream["result"][str(s[songid]["SongID"])]
s = 'wget --user-agent="%s" --referer=%s --post-data=streamKey=%s -O "%s - %s.mp3" "htt
p = subprocess.Popen(s, shell=True)
p.wait()