INTERACT FORUM
Windows => Plug-in Development => Topic started by: gappie on May 07, 2007, 09:30:14 am
-
the MJPlaybackAutomation IsVideo() also returns true with an image.
-
to be more specific. the next code tells me when starting an image or video "this is a video. playback has stopped", and stops playback.
Private Sub MJEvent(ByVal s1 As String, ByVal s2 As String, ByVal s3 As String) Handles mediaCenterRef.FireMJEvent
If s2 = "MCC: NOTIFY_TRACK_CHANGE" Then
Dim lijst As MediaCenter.IMJPlaybackAutomation
lijst = mediaCenterRef.GetPlayback()
If lijst.IsVideo() = True Then
lijst.Stop()
MsgBox("this is a video. playback has stopped")
End If
End If
End Sub
-
this is a bug, right?
-
dont worry, found a way around it. so who cares.