Release Comet TV Live
#31
I'll look into it
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply
#32
(2019-09-07, 16:48)Lunatixz Wrote: I'll look into it

anyone still looking to make this work, the issue is the guide data from tvguide doesn't work anymore.  If you just want comet live just edit scraper.py and replace this function with this code.  All it does is grab the live URL and add a single item called "Live" that will start the stream. No program info.  If you want guide data I suggest using TV Guide Full screen with a valid source for comet and simply add this stream to the guide.

  def getAddonMenu(self,url,ilist):
      self.defaultVidStream['width']  = 960
      self.defaultVidStream['height'] = 540
      html = self.getRequest('https://comettv.com/watch-live/')
      url = re.compile('    file: "(.+?)"', re.DOTALL).search(html).group(1)
      thumb  = self.addonIcon
      fanart = self.addonFanart
      ilist = self.addMenuItem("Live",'GV', ilist, url, thumb, fanart, None, isFolder=False)
      return(ilist)
Reply
#33
Tried changing getAddonMenu function as you said.

Ended up with "comet tv live error".

Here is the modified "scraper.py": scraper.py

Here is the debug error: Comet TV Debug Log
Reply
#34
Version 4.0.0 released to Kodi v19 repo.
PLEASE NOTE: This add-on is native Py3 and will only run on Kodi v19 or above.
Reply

Logout Mark Read Team Forum Stats Members Help
Comet TV Live0