linuxmint / hypnotix

An M3U IPTV Player
1.26k stars 169 forks source link

Fix error when the Content-Length header is missing #241

Closed woxcab closed 2 years ago

woxcab commented 2 years ago

hypnotix raises KeyError when a valid playlist response does not have Content-Length header.

I propose to set total_content_size = 0 when Content-Length header is missing.