The Media Center Sandbox

Resources and discussion for developing experiences in the Windows Media Center platform.
Welcome to The Media Center Sandbox Sign in | Join | Help
in Search

How to detect event when recording stop using MSAS?

Last post 08-22-2007, 8:40 AM by babgvant. 2 replies.
Sort Posts: Previous Next
  •  08-16-2007, 8:19 AM 4319

    How to detect event when recording stop using MSAS?

    Hi all

    i'm designing a MCE Addin Program and would like to perform some operations such as running a batch file on the newly recorded clip when the recording stops. How do i detect the event? I have read about using MSAS to detect, but i totally have no idea as in how to start.

    is there any example for me to take a look at?

    Thank You

  •  08-16-2007, 11:24 AM 4321 in reply to 4319

    Re: How to detect event when recording stop using MSAS?

    Have a look in the SDK samples section - there is a sample of how to use MSAS there.

    Cheers,
    Andrew

  •  08-22-2007, 8:40 AM 4383 in reply to 4319

    Re: How to detect event when recording stop using MSAS?

    using an addin w/ msas might not be the most robust way to ensure something happens when recording stops.  first mc needs to be running for the addin to be running, second while msas does report status there are many cases (and this is worse in vista) where msas doesn't work the way it ought to.  it's designed (and works well for) information display, but basing an application around it can be tricky.

    depending on your needs it might be better to use a watch and poll modified time model (i use this model for dtb) with recorded shows.

    babgvant.com
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems