s0faking / plugin.video.orftvthek

ORF TVthek - This KODI plugin provides access to the Austrian "ORF TVthek"
GNU General Public License v2.0
42 stars 19 forks source link

video downloads 0 byte size #71

Closed Caballingus closed 6 years ago

Caballingus commented 6 years ago

Hi s0faking long time satisfied user here- many thanks for this great addon- downloading videos used to work great in previous versions. since the last change(s) dreamcatcher/super favorites/youtube-dl will only detect 0 (zero) byte mp4's and hence quit or produce error messages instead of downloads.

though when activating serviceapi option, filesize shows up correct and downloads work as usual.

any ideas? btw my Kodi version is 17.6 many thanks in advance

s0faking commented 6 years ago

Hi @Caballingus, with 0.8.5 the addon doesn't use the progressive stream method anymore. hls streams are used because they are more stable, and the adaptive stream quality and uhd streams are only working with the hls method. you can fix that by changing 'videoDelivery = "hls"' to 'videoDelivery = "progressive"' in default.py.

s0faking commented 6 years ago

i will add a settings option for this on the next release

Caballingus commented 6 years ago

thanks for the quick response-

unfortunately changing the videoDelivery setting to progressive in default.py didn't quite solve the problem. instead of zero-sized files I now keep getting error messages like this when attempting a download with super favorites: Download failed hostname 'apasfpd.apa.at' doesn't match '*.sf.apa.at'.

s0faking commented 6 years ago

Hi @Caballingus, check commit 030123c4c02ffe789b99844997fbb3e31a1e0c14. this is caused by a bad certificate issued by orf.

s0faking commented 6 years ago

the latest commits adds a stream type option in the settings form. if you select progressive you should be good. adaptive stream quality wont work with that setting

killerbees19 commented 6 years ago

@s0faking Is this feature already finished and tested? Because it's impossible to change the value of Stream Method. It's always locked at Programme. Don't ask me where this string is taken from… 🤔

Screenshot from Kodi 15.2 (Xubuntu 16.04) on a clean test account. (I know, I should upgrade!)

s0faking commented 6 years ago

@killerbees19 check the latest commit. apparently kodi 15 can't handle the strings in the settings.xml.

killerbees19 commented 6 years ago

Thanks! 🙂