2007-11-04, 02:28 AM
On my development machine:
reliably returns a non null value when playing music from the music library, but on my production system, PlayList often returns a null when playing the same mp3 file (it really doesn't make any difference what mp3 file is being played - If the GetAudioPlayList returns null once, it seems to always return NULL.)
Same 1.0.16 version on both machines, but presumably there must be some other differences for the GetAudioPlayList to behave differently on the two machines.
Am I calling GetAudioPlayList incorrectly for it to work reliably?
Any other suggestions?
I am trying to get details of the file currently being played (ie MP3 tag details and current playback position) in response to an IEventNotification.
Code:
System.Collections.IList PlayList = PluginHelperFactory.getPluginHelper().GetAudioPlayList(out currentIndex, out trackDuration, out playbackPosition);
reliably returns a non null value when playing music from the music library, but on my production system, PlayList often returns a null when playing the same mp3 file (it really doesn't make any difference what mp3 file is being played - If the GetAudioPlayList returns null once, it seems to always return NULL.)
Same 1.0.16 version on both machines, but presumably there must be some other differences for the GetAudioPlayList to behave differently on the two machines.
Am I calling GetAudioPlayList incorrectly for it to work reliably?
Any other suggestions?
I am trying to get details of the file currently being played (ie MP3 tag details and current playback position) in response to an IEventNotification.
[SIZE="1"]Silverstone GD01S-MXR (three dead rows of pixels in the LCD and defective remote control), Power: Zalman ZM460B-APS (blew up - can't remember what's there now); CPU: Pentium D 3.2 GHz with Asus V72 Cooler; MD: Asus P5LD2 Deluxe 2048MB,
WDC WD10EADS 1TB Data, 320GB System, Asus EN9400GT Silent 512MB, Hauppauge HVR 1300,
XP Home SP3, GB-PVR 2.0, ExternalDisplay v0.3[/SIZE]
WDC WD10EADS 1TB Data, 320GB System, Asus EN9400GT Silent 512MB, Hauppauge HVR 1300,
XP Home SP3, GB-PVR 2.0, ExternalDisplay v0.3[/SIZE]