Skip to content

Commit

Permalink
location: moved location query to getlivestreams
Browse files Browse the repository at this point in the history
  • Loading branch information
kevcenteno committed Dec 9, 2014
1 parent bdbee66 commit e41cef2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def MainMenu():
def LiveGamesMenu():
title = TITLE_LIVEGAMES
url = URL_LIVEGAMES % TOKEN
url = url + getServerLocation()

oc = ObjectContainer(title2=title, no_cache=True)

Expand Down Expand Up @@ -126,6 +125,8 @@ def GetLiveGameStreams(game_id, title, isPlaying, summary):

# Get data from server
url = URL_LIVESTREAMS % (game_id, TOKEN)
url = url + getServerLocation()

json = JSON.ObjectFromURL(url)

quality = Prefs['quality']
Expand Down

0 comments on commit e41cef2

Please sign in to comment.