integer divide causes chopped off m3u8 conversions