Requests that did not return a value for duration or offset (like pause) would cause an error due to the fact that at least self.duration and/or self.offset were nil. I fixed that by checking setting self.minutes to 0 if either one of those is nil.