Open mmihal opened 5 years ago
Ja viem kde je problem... len to neviem opravit :( Problem je, ze sa zmenila URL pre Live TV na : http://embed.livebox.cz/ta3_v2/live-source.js (v kode je http://embed.livebox.cz/ta3/live-source.js). Ked to ale v kode zmenim, tak aj tak to nejde :( Ked ale dam prvy src z tohto linku: http://e11.stv.livebox.sk/ta3/1.smil/playlist.m3u8?auth=_any_|1565679324|c46a27b007422279d71007b8eca4e51c168aa6bd Tak krasne TA3 ide .... Ak to viete, prosim, v kode opravit, budem vam povdacny ... mne sa to zatial nedari ... nikdy som plugin pre KODI nerobil, a tak niektorym veciam nerozumiem ako finguju (zatial).
Tesim sa na verziu 1.1.6 :) - verim, ze coskoro to niekto opravi :)
Opravil som si to ... :) Zmenil som 2 riadky:
player_data = util.request("http://embed.livebox.cz/ta3_v2/live-source.js", {'Referer':self._url(item['url'])})
manifest_url = "http:"+m_manifest.group(1)
Cela funkcia po novom: def _resolve_live(self, item): resolved = [] data = util.request(self._url(item['url'])) player_data = util.request("http://embed.livebox.cz/ta3_v2/live-source.js", {'Referer':self._url(item['url'])})
for m_manifest in re.finditer(r'\{"src"\s*:\s*"([^"]+)"\s*\}', player_data, re.DOTALL):
manifest_url = "http:"+m_manifest.group(1)
#print "manifest_url", manifest_url
manifest = util.request(manifest_url)
#print "manifest", manifest
for m in re.finditer('#EXT-X-STREAM-INF:PROGRAM-ID=\d+,BANDWIDTH=(?P<bandwidth>\d+)(,RESOLUTION=(?P<resolution>\d+x\d+))?.*\s(?P<chunklist>[^\s]+)', manifest, re.DOTALL):
item = self.video_item()
item['surl'] = item['title']
if m.group('resolution') == '720x404':
item['quality'] = '404p'
else:
item['quality'] = '???'
item['url'] = manifest_url[:manifest_url.rfind('/')+1] + m.group('chunklist')
resolved.append(item)
# only first manifest url looks to be is valid
break
return resolved
Dik, prerobil som to aj ja. Bodlo by ale keby sa deployol patch :)
Thank you, @marekzima, that worked out great!
Zdravim. Ta3 adons 1.1.5 mi pri spusteni pise chyba scriptu. Nejde ani Live ani Spravodajstvo ani Publicistika... co mam urobit aby mi zase vsetko fungovalo ako v minulosti. Ide mi hlavne o prezeranie archivu. Diky
Vsimol som si ze nejaky cas nejde LIVE vysielanie. Z logu neviem dostat nic viac ako: