Skip to content

Commit

Permalink
simple video download
Browse files Browse the repository at this point in the history
  • Loading branch information
karim committed Apr 7, 2016
1 parent 38dd9b7 commit fe32ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions games.py
Expand Up @@ -236,9 +236,9 @@ def playGame():
if currentvideo_url:
item = xbmcgui.ListItem(path=currentvideo_url)
xbmcplugin.setResolvedUrl(handle=int(sys.argv[1]), succeeded=True, listitem=item)
downloader = downloader.SimpleDownloader()
dw = downloader.SimpleDownloader()
params = { "url": currentvideo_url, "download_path": "c:/", "Title": "my video" }
downloader.download("myvideo.mp4", params)
dw.download("myvideo.mp4", params)

def chooseGameVideoMenu():
currentvideo_id = vars.params.get("video_id")
Expand Down

0 comments on commit fe32ba8

Please sign in to comment.