INTERACT FORUM

Windows => Plug-in Development => Topic started by: gappie on May 07, 2007, 09:30:14 am

Title: IsVideo()?
Post by: gappie on May 07, 2007, 09:30:14 am
the MJPlaybackAutomation IsVideo() also returns true with an image.
Title: Re: IsVideo()?
Post by: gappie on May 07, 2007, 05:17:50 pm
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.
Code: [Select]
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

Title: Re: IsVideo()?
Post by: gappie on May 11, 2007, 09:33:46 am
this is a bug, right?
Title: Re: IsVideo()?
Post by: gappie on May 15, 2007, 04:46:32 pm
dont worry, found a way around it. so who cares.