INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: IsVideo()?  (Read 1528 times)

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
IsVideo()?
« on: May 07, 2007, 09:30:14 am »

the MJPlaybackAutomation IsVideo() also returns true with an image.
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: IsVideo()?
« Reply #1 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

Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: IsVideo()?
« Reply #2 on: May 11, 2007, 09:33:46 am »

this is a bug, right?
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: IsVideo()?
« Reply #3 on: May 15, 2007, 04:46:32 pm »

dont worry, found a way around it. so who cares.
Logged
Pages: [1]   Go Up