From 7973a953b3f71b1a8ce3016dd91bfbc26d1c1f4a Mon Sep 17 00:00:00 2001 From: kevcenteno Date: Tue, 9 Dec 2014 15:03:20 -0500 Subject: [PATCH] update log in screen --- Contents/Code/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Contents/Code/__init__.py b/Contents/Code/__init__.py index 770c8fc..d7a28e6 100644 --- a/Contents/Code/__init__.py +++ b/Contents/Code/__init__.py @@ -29,6 +29,7 @@ URL_ONDEMANDGAMES = 'https://api.ballstreams.com/GetOnDemand?date=%s&token=%s' URL_ONDEMANDDATES = 'https://api.ballstreams.com/GetOnDemandDates?token=%s' URL_ONDEMANDSTREAM = 'https://api.ballstreams.com/GetOnDemandStream?id=%s&token=%s' +URL_PREVIEW = "http://s.hscontent.com/preview/previewHD_hs.m3u8?token=" URL_GAMEOFF = '' URL_REPO = '' URL_LOGOREPO = '' @@ -67,7 +68,11 @@ def MainMenu(): title=TITLE_PREFERENCES) ) else: - return (ObjectContainer(header="Error", message="Invalid Ballstreams username and password.")) + oc.add(PrefsObject( + title=TITLE_LOGIN + )) + + oc.add(GetStream(URL_PREVIEW, "Preview", URL_PREVIEW, R(ICON), R(ICON), summary, False, "hls")) return oc