roAudioPlayer bug?

On a Roku 1 running 3.1 build 1017, if an roAudioPlayer is Paused immediately before the end of the content is reached (within half a second or less from finishing, for example), then Resumed, then no events are fired when the content ends.

Normally, when the stream ends I get the following events:


roAudioPlayerEvent: IsRequestSucceeded
roAudioPlayerEvent: IsStatusMessage: end of stream
roAudioPlayerEvent: IsFullResult
roAudioPlayerEvent: IsStatusMessage: end of playlist

However, I get no events at all if I called Pause() immediately before the end and then Resume(), so the audio player thinks the content is still playing after it has finished. I found this behavior in my own code, but I’ve also noticed it with other channels. I was able to pause songs on Pandora and Slacker immediately before the end. After resuming, the channels never detected the end of the song.

A workaround is to keep track of how long the song has been playing then end the song after the Runtime has been reached.

Thank you for this report. We will investigate. Do you have access to a Roku 2 device to know if this same issue appears on firmware 4.8?

Thanks,
Jon

“RokuJon” wrote:
Thank you for this report. We will investigate. Do you have access to a Roku 2 device to know if this same issue appears on firmware 4.8?

Thanks,
Jon
No, I don’t have a Roku 2, but if you’d like to send me one I’d be happy to investigate further.