plexinc / plex-for-kodi

Offical Plex for Kodi add-on releases.
GNU General Public License v2.0
251 stars 124 forks source link

buildTranscode: ensure startOffset is not None before comparing it #360

Closed garymm closed 2 years ago

garymm commented 3 years ago

Fixes https://github.com/pannal/plex-for-kodi/issues/23

Description:

In some cases startOffset is None. This properly handles this cases. Without this fix, I've seen errors like TypeError: '>=' not supported between instances of 'int' and 'NoneType'.

Checklist:

ruuk commented 2 years ago

Thanks for the fix!