Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cip committed Aug 9, 2019
1 parent e80ca75 commit c9f3391
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 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.streams"
name="Streams"
version="2.0.10"
version="2.0.11"
provider-name="Moromete">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v 2.0.11
1. fix sopcast offline notiffication

v 2.0.10
1. fix offline detection of http streams
2. do not refresh list after marking channel online/offline
Expand Down
6 changes: 3 additions & 3 deletions play_sop.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ def start( self ):
# except: pass
try:
urllib2.urlopen(SETTINGS.TEST_URL)
if SETTINGS.NOTIFY_OFFLINE == "true": xbmc.executebuiltin("Notification(%s,%s,%i)" % (addon.getLocalizedString(30057), "",1)) #Channel is offline
xbmc.executebuiltin("Notification(%s,%s,%i)" % (addon.getLocalizedString(30057), "",1)) #Channel is offline
offline = True
except:
if SETTINGS.NOTIFY_OFFLINE == "true": xbmc.executebuiltin("Notification(%s,%s,%i)" % (addon.getLocalizedString(30058), "",1)) #Network is offline
elif SETTINGS.NOTIFY_OFFLINE == "true":
xbmc.executebuiltin("Notification(%s,%s,%i)" % (addon.getLocalizedString(30058), "",1)) #Network is offline
else:
# try: xbmc.executebuiltin("Dialog.Close(all,true)")
# except: pass
xbmc.executebuiltin("Notification(%s,%s,%i)" % (addon.getLocalizedString(30059), "", 1)) #Channel initialization failed
Expand Down
2 changes: 0 additions & 2 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ class SETTINGS(object):
SHOW_OFFLINE_CH = addon.getSetting('show_offline_ch')
SHOW_UNVERIFIED = addon.getSetting('show_unverified')

# NOTIFY_OFFLINE = "true"

# DISABLE_SCHEDULE = addon.getSetting('disable_schedule')
# SCHEDULE_PATH = os.path.join(ADDON_PATH,'schedule.sqlite')
EPG_URL = addon.getSetting('epg_url')
Expand Down

0 comments on commit c9f3391

Please sign in to comment.