2009-04-25, 09:01 PM
sub - possible bug?
If a dvb radio graph fails to lock to the tuning info, the gbnetradio mp3 file it uses to buffer obviously sits at 0KB size. Attempting to use the PluginHelper PlayAudioFile() method then hangs (and hangs pvrx2). Using the following......the second Log entry doesn't get written.
I'll add a check to my code to workaround this but wondered if you wanted to add something to PlayAudioFIle() to prevent this in other situations.
Cheers,
Brian
If a dvb radio graph fails to lock to the tuning info, the gbnetradio mp3 file it uses to buffer obviously sits at 0KB size. Attempting to use the PluginHelper PlayAudioFile() method then hangs (and hangs pvrx2). Using the following...
Code:
Log.WriteLine("Invoking PlayAudioFile() for " + gbRecordingsDir + BufferFile);
PluginHelperFactory.getPluginHelper().PlayAudioFile(gbRecordingsDir + BufferFile);
Log.WriteLine("PlayAudioFile() invoked.");
I'll add a check to my code to workaround this but wondered if you wanted to add something to PlayAudioFIle() to prevent this in other situations.
Cheers,
Brian