Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
eracknaphobia committed Jan 22, 2021
1 parent c02b31c commit af31a27
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.nhlgcl" name="NHL TV™" version="2021.1.21" provider-name="eracknaphobia">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
<import addon="xbmc.python" version="2.24.0"/>
<import addon="script.module.pytz" />
<import addon="script.module.beautifulsoup4" />
<import addon="script.module.pil" />
Expand Down
2 changes: 1 addition & 1 deletion resources/lib/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

API_URL = 'http://statsapi.web.nhl.com/api/v1'
API_MEDIA_URL = 'https://mf.svc.nhl.com/ws/media/mf/v2.4'
VERIFY = False
VERIFY = True
PLATFORM = "IPHONE"
PLAYBACK_SCENARIO = 'HTTP_CLOUD_TABLET_60'

Expand Down
10 changes: 5 additions & 5 deletions resources/lib/nhl_tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ def todays_games(game_day):
global EXTENDED_PLAYLIST
RECAP_PLAYLIST.clear()
EXTENDED_PLAYLIST.clear()
# try:
for game in json_source['dates'][0]['games']:
create_game_listitem(game, game_day)
# except:
# pass
try:
for game in json_source['dates'][0]['games']:
create_game_listitem(game, game_day)
except:
pass

next_day = display_day + timedelta(days=1)
add_dir('[B]%s >>[/B]' % LOCAL_STRING(30011), '/live', 101, NEXT_ICON, FANART, next_day.strftime("%Y-%m-%d"))
Expand Down

0 comments on commit af31a27

Please sign in to comment.