2007-01-17, 08:53 AM
I'm trying to get my plugin to play audio streams on a MediaMVP (any stream, not just Shoutcast). I'm transcoding the stream to an mp3 file and then using the GB-PVR audio player to play the file while it's being recorded. This works fine on a standard GB-PVR instance but, when I try to use an MVP for playback, it plays for a few seconds and then stops.
From the log, it looks as if the GB-PVR MVP dongle code is retrieving the file size when it starts to play the file (and the file has only been recorded to for a few seconds). It then plays the file until it has read that many bytes and then stops playing. The regular audio playback code doesn't seem to need to know the size of the file. It just plays it until there's no more file to play.
Is there a work-around for this? I can't see any way to tell the MVP code to ignore the file-size or even a way to access (or set) the file size variable before or during playback.
From the log, it looks as if the GB-PVR MVP dongle code is retrieving the file size when it starts to play the file (and the file has only been recorded to for a few seconds). It then plays the file until it has read that many bytes and then stops playing. The regular audio playback code doesn't seem to need to know the size of the file. It just plays it until there's no more file to play.
Is there a work-around for this? I can't see any way to tell the MVP code to ignore the file-size or even a way to access (or set) the file size variable before or during playback.
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]
Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]
Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.