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 tell when Disc Changer disc data is "ready"?

Last post 12-29-2006, 12:49 AM by AndyC. 2 replies.
Sort Posts: Previous Next
  •  10-10-2006, 10:24 AM 693

    How to tell when Disc Changer disc data is "ready"?

    I have a program that is getting the disc data collections from GetDriveDiscData and GetSlotDiscData from the changer, but if these methods are called before the user has navigated to "Manage Discs" or "Program Library" (and waited about 10 seconds) the collections are returned empty or only partially filled.

    How do I know when the collection has been filled completely?  Manage discs must do something like this, as if you try and go into it before the data has been populated, you get bounced back out straight away.

    Cheers,
    Andrew

  •  12-28-2006, 3:44 PM 1297 in reply to 693

    Re: How to tell when Disc Changer disc data is "ready"?

    I'm unsure of the answer to your question, but I own a Sony XL1B2 Changer, and would like code to change discs if possible. Can you private message me?

    Thanks,

    Rick
  •  12-29-2006, 12:49 AM 1304 in reply to 1297

    Re: How to tell when Disc Changer disc data is "ready"?

    Rick,

    You can do this using the MediaChanger API within Media Center.  Have a look in the MCE SDK and it will show you exactly how to do it - it's very easy providing you can write an add-in.

    Cheers,
    Andrew

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