diff --git a/pandora/item/models.py b/pandora/item/models.py index 49ad5957d..b38fb7dce 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -1135,7 +1135,7 @@ class Item(models.Model): offset = 0 streams = self.streams() for stream in streams: - if stream.duration + offset < position: + if stream.duration + offset < float(position): offset += stream.duration else: if not stream.file.is_video or not stream.file.info.get('video'):