Skip to content

Commit

Permalink
Move to new channel list url
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-damyanov authored and kodi1 committed Nov 7, 2016
1 parent 9737ed5 commit 1654cfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<addon id="plugin.program.bscfusion" name="Fusion TV" version="0.0.2q" provider-name="kodi1">
<addon id="plugin.program.bscfusion" name="Fusion TV" version="0.0.2r" provider-name="kodi1">
<requires>
<import addon="xbmc.python" version="2.19.0"/>
<import addon="script.module.requests" version="1.1.0"/>
Expand Down
7 changes: 2 additions & 5 deletions resources/lib/bsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self,
self.__DEBUG_EN = dbg
self.__t = timeout
self.__BLOCK_SIZE = 16
self.__URL_LIST = base + '/tv/full/live'
self.__URL_LIST = base + '/tv/%s/live' % os_id
self.__URL_EPG = base + '/epg/short'
self.__js = None
self.__app_version = ver
Expand Down Expand Up @@ -256,7 +256,6 @@ def gen_all(self):
if self.__gen_epg:
w.addChannel(
{'display-name': [(ch['title'], u'bg')],
'icon': [{'src': ch['logo_selected']}],
'id': ch['epg_name'],
'url': ['https://test.iptv.bulsat.com']}
)
Expand All @@ -268,9 +267,7 @@ def gen_all(self):
'title': [(p['title'], u'')],
'desc': [(p['desc'], u'')],
'category': [(ch['genre'], u'')],
'channel': ch['epg_name'],
'video': {'quality': ch['quality']},
'rating': [{'value': ch['pg']}]}
'channel': ch['epg_name']}
)

return dat, self.__UA['User-Agent']

0 comments on commit 1654cfc

Please sign in to comment.