raptor2101 / Mediathek

GNU General Public License v3.0
45 stars 16 forks source link

Mediathek doesn't play certain sources #99

Closed Kirk1984 closed 6 years ago

Kirk1984 commented 6 years ago

kodi.log

Same issue on my Raspberry Pi3 with Libreelec 8.0.x - 8.1.x.

I'm no developer, but i guess the problem are the "//" that are added to the beginning of the url for the Media source.

ERROR: CVideoPlayer::OpenInputStream - error opening [//wdrmedien-a.akamaihd.net/medp/ondemand/weltweit/fsk0/148/1480607/1480607_16997126.mp4]

raptor2101 commented 6 years ago

confirm, i will take a look at this as soon as possible

fehmer commented 6 years ago

Hi,

as a workaround i added this in the mediathek/ard.py:

videoLinks = {}
    for match in self.regex_videoLinks.finditer(videoPage):
      quality = int(match.group(1));

      # workaround for links from WDR
      temp = match.group(2);
      if temp.startswith('//'):
        temp = 'http:'+temp;
      link = SimpleLink(temp,0);
     # end workaround

      if(quality > 0):
       quality -= 1
helmutundarnold commented 6 years ago

Thanks for the workaround, now we can see "Die Sendung mit der Maus". Best Regards from Helmut and Dave

raptor2101 commented 6 years ago

sorry for my late answer but i'am was unable to look on the problem till now (we have a very long weekend here ... so time for private programming ;))

i will push these changes as fast as possible to upstream...

raptor2101 commented 6 years ago

PullRequest is pending: https://github.com/xbmc/repo-plugins/pull/1487

raptor2101 commented 6 years ago

PullRequest merged