Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Get States from MCE to trigger action

  1. #1
    Join Date
    Feb 2007
    Posts
    160

    Default Get States from MCE to trigger action

    Hi gents,

    We would like to see with you gents if its possible to have a plug-in for MCE to get the state of the interface (Live TV, DVD, Radio, etc...) The purpose would be to trigger action based on where we are in the interface. For example, when I'm playing Live TV, I would like to send to my receiver to switch to movie surround mode, when I'm playing music, I would like it to be in Stereo 7 channels.

    This would require that Girder monitor MCE state change to get the info from Media Status Aggregation Service (MSAS). The task is similar to displaying MCE info on a VFD but in this case, we trigger action based on the status.

    There is a thread already started on that subject but I think it is more appropriate to put it here since it need development.

    http://www.promixis.com/forums/showthread.php?t=17236

    I donít know if my request is clear enough but if not, feel free to ask questions. We are not asking you do do all the work but if you can help us with a good start then we will be able to finish the work.

    Best regards,

    Charles

  2. #2
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    I've had a brief look at the VB source (VB is not my favourite language) and I couldn't see anything obvious in there that couldn't be done in Lua and luacom.

    Some formal documentation of MSAS would help.
    --Rob

  3. #3
    Join Date
    Feb 2007
    Posts
    160

    Thumbs up

    Quote Originally Posted by Rob H View Post
    I've had a brief look at the VB source (VB is not my favourite language) and I couldn't see anything obvious in there that couldn't be done in Lua and luacom.

    Some formal documentation of MSAS would help.
    Thanks for your reply Rob,

    What would you need then? Unfortunatly, I have no programming skills in VB or anything like that maybe I could help in MSDOS:grin:

    What kind of info on MSAS would help you? There is a post already floating on a similar project but since the guy didn't have any skills in LUA he made his own program to talk with Girder. The info he provided is valuable, IMO.

    Here is the link were you can download the work he did.

    http://www.promixis.com/forums/showthread.php?t=17236

    Let me know Rob if anything I can do to help you.

    Thanks

    Charles

  4. #4
    Join Date
    Feb 2007
    Posts
    160

    Default

    Hi Rob,

    Sorry, I forgot this one...

    Downloadable SDK for Media Center. http://www.microsoft.com/downloads/d...displaylang=en

    Thanks

    Charles

  5. #5
    Join Date
    Feb 2007
    Posts
    160

    Default

    Hi Rob,

    Here is the MS link on MSAS. http://msdn2.microsoft.com/en-us/library/bb189477.aspx

    Thank you,

    Charles

  6. #6
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Not sure that I'll have any time to look at this at the moment (getting ready to move house in a couple of weeks), but perhaps someone else will step up?
    --Rob

  7. #7
    Join Date
    Feb 2007
    Posts
    160

    Default $$$$$$$$ Cash is on the table

    Thanks Rob,

    I understand your situation! Hapy move.

    Anyone else wants to work on this project? I'm ready to pay what is worth for the developement.

    Anyone?

    Regards to all,

    Charles

  8. #8
    Join Date
    Jul 2007
    Location
    Netherlands
    Posts
    370

    Default help with LuaCOM

    Gave it a try over the weekend but I'm not into COM.

    The SDK lists 2 objects;
    1) MSAS (the MCE COM server that provides the information)
    2) MediaState (the COM sink that is used to get the info from MSAS)

    Question 1) MediaState is the preferred option to be used, but it is a .NET managed assembly. So I'm wondering, can I use that one at all from LuaCOM?

    Question 2) Can someone provide me some sample code on how to create either of the objects, or access to them or whatever I need to have to get the events and properties?

    Once I get that going, I think I can manage to do the remainder myself in Lua.

    Any help would be greatly appreciated.

  9. #9
    Join Date
    Mar 2008
    Posts
    4

    Default With 2 TV cards

    Hi, cjean.

    I'm using MCE2005 with Girder4 and MCE-Spy with VFD very well. Before using MCE-Spy, my MCE2005 machine had several errors (missing recordings and not going standby mode) and I didn't use VFD (sasem on air).

    Thanks to MCE-Spy, my machine didn't miss any recordings and go standby mode after recording very well and I could use VFD correctly for the first time. MCE-Spy is very useful for me, it's great.

    Recently I got second TV card. And I programmed girder to apply the second TV card. But MCE-Spy didn't work correctly. For instance, the 1st recording starts it returns 'MSAS.SessionStart.Recording' and the 2nd recording starts it returns 'MSAS.SessionEnd.Recording' and 'MSAS.SessionStart.Recording' sequenly thou the 1st recording doesn't stop yet. And the 1st recording stops it returns 'MSAS.Error', the 2nd recording stops it returns 'MSAS.SessionEnd.Recording' correctly.

    I eagerly hope that I use MCE-Spy normally with 2 TV cards.
    I want you to fix that problem and to hear your idea about it.
    Please send me e-mail.
    Thanks and Regards.

    jin
    msjinhk@gmail.com

    I found to get authority to post the form. ;-)

  10. #10
    Join Date
    Jul 2007
    Location
    Netherlands
    Posts
    370

    Default

    Hi Jin,

    I don't use the recording info myself, so that's probably why I never noticed anything. I'm very busy at the moment so it might take me a while to look into it. When I have a moment to spare I'll give it a try to reproduce the behaviour you described.

    Tieske

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •