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

Thread: Get States from MCE to trigger action

Hybrid View

  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
    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. ;-)

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

    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

  9. #9
    Join Date
    Mar 2008
    Posts
    4

    Default

    Thanks, Tieske8.

    R U the developer of MCE-Spy? I didn't recognize it, sorry.

    One more thing about MCE-Spy is followed.

    When WMC doesn't exists(not opened or closed) and start scheduled recording, it returns nothing(I guess, maybe it returns 'MSAS.Error').
    And when WMC doesn't and stop scheduled recording, it returns 'MSAS.SessionEnd.Recording' .

    Thank and Sorry again, Tieske.

    jin
    msjinhk@gmail.com
    Last edited by jin; March 2nd, 2008 at 07:13 PM. Reason: missing words

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

    Default

    Hi Jin,

    regarding your first issue; when 2 recording sessions start, the 2nd start will sent a SessionEnd for the first one eventhough it is still recording.
    I have been able to reproduce it, but unfortunately this is an issue in the underlying Microsoft dll's and hence not something I can fix. Sorry for not eing able to help you out.

    What about the second item in your previous post; I don't understand your problem could you explain it once more.

    thx.

Posting Permissions

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