We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c5de9f commit 27797a4Copy full SHA for 27797a4
1 file changed
resources/lib/youtube_plugin/kodion/network/http_server.py
@@ -458,11 +458,11 @@ def do_GET(self):
458
timestamp = ' (~%.2fs)' % (
459
float(duration)
460
*
461
- next(map(int, byte_range[6:].split('-')))
+ int(byte_range[6:].split('-')[0])
462
/
463
int(clen)
464
)
465
- except (IndexError, StopIteration, ValueError):
+ except ValueError:
466
timestamp = ''
467
else:
468
0 commit comments