Access Media Transport Control in-buit IO variables via LOGIC?!

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by BigBoyVn, May 26, 2010.

  1. BigBoyVn

    BigBoyVn

    Joined:
    Aug 3, 2008
    Messages:
    42
    Likes Received:
    0
    Dear All,

    I found a template page in PICED 4.8 for color touchscreen about Media Transport Control. I was very impressed.

    The buttons in that page is set to SPECIAL FUNCTION and use to control the Media Transport IO variables.

    I wondered if can we access these Media Transport IO variables by LOGIC:confused: . Because by this way we may control the Music server via Wiser.

    I did search in LOGIC help and it showed that I couldn't access Media Transport IO variables by LOGIC?

    Would you please give me advisement on this?

    Thank you very much!
     

    Attached Files:

    Last edited by a moderator: May 26, 2010
    BigBoyVn, May 26, 2010
    #1
  2. BigBoyVn

    BigBoyVn

    Joined:
    Aug 3, 2008
    Messages:
    42
    Likes Received:
    0
    Link Media Control with Window Media Player?!

    Dear All,

    One more thing I need your help!

    Can I use the Media Transport Control to control Window Media Player?

    Thanks!
     
    BigBoyVn, May 26, 2010
    #2
  3. BigBoyVn

    Conformist

    Joined:
    Aug 4, 2004
    Messages:
    756
    Likes Received:
    66
    Location:
    Adelaide, South Australia
    Conformist, May 27, 2010
    #3
  4. BigBoyVn

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,420
    Likes Received:
    62
    Location:
    Adelaide
    Some of the Media Transport Control functions are accessed via System IO variables, others it made more sense to use special functions..

    You can access special functions in logic using the "ExecuteSpecialFunction" procedure.

    Unfortunately though, Media Transport Control is not supported in Wiser at this stage.

    Nick
     
    NickD, May 27, 2010
    #4
  5. BigBoyVn

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    Yes you can do this. For example, to execute the "Next Track" Special Function for Media Link group 1 from logic:

    Code:
    ExecuteSpecialFunction("Media Transport Control Next Track", 1);
    The help file doesn't so much say you can't do it, it just doesn't specifically say you can do it.

    I will get this clarified in the help file.

    In the logic editor, right click and select other | Special Function. You will see the media control special functions listed in there.
     
    Darren, May 27, 2010
    #5
  6. BigBoyVn

    BigBoyVn

    Joined:
    Aug 3, 2008
    Messages:
    42
    Likes Received:
    0
    Thanks for your kind help!

    Dear Helpers,

    Thank you for your kind help.

    I checked the special functions for Media Control.
    This shows maybe only "Next track" and "Previous track" is usefull.

    Please guide me how to excute the PLAY and STOP control.

    Could we do anything by logic with Window Media Player control?!

    Thanks a lot!
     

    Attached Files:

    Last edited by a moderator: May 27, 2010
    BigBoyVn, May 27, 2010
    #6
  7. BigBoyVn

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    You need to use in-built System IO variables for this. See main help file topic "Media Transport Control In-built System IO"

    To get Media Link Group 1 to Play:

    Code:
    SetBoolIBSystemIO("Media Transport Control Play", 1, true);
    
    To get Media Link Group 1 to Stop:

    Code:
    SetBoolIBSystemIO("Media Transport Control Play", 1, false);
    
    If you look at the components in the template, you will see which buttons are controlling which In-built System IO Variable or Special Function.

    I am not sure what you are wanting to do here. Can you explain more?
     
    Darren, May 27, 2010
    #7
  8. BigBoyVn

    BigBoyVn

    Joined:
    Aug 3, 2008
    Messages:
    42
    Likes Received:
    0
    Window Media Player control via Logic

    Dear Daren,

    For my understanding:

    + Window Media Player is not considered as a Media Link Group?
    + PICED provide Media Director utility to control Window Media Player.

    So we may not use Special Function and In-built System IO variables in LOGIC to control Window Media Player?!

    What I intend to do is:
    + I have Window Media Player run on a PC connected to Color TouchScreen. This PC will act as Music Server.
    + From DLT switch or Wiser I create some Group Adress.
    + When these buttons pressed, Touchscreen will run the LOGIC then control Window Media Player to turn on the appropirate Playlist and do Play, stop, next, previous control.

    Would you please help to advise how to do these things in LOGIC!
    Thank you very much in advance!
     

    Attached Files:

    Last edited by a moderator: May 28, 2010
    BigBoyVn, May 28, 2010
    #8
  9. BigBoyVn

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,420
    Likes Received:
    62
    Location:
    Adelaide
    The C-Bus Media Transport Control is really aimed at controlling the new C-Bus Multi Room Audio Matrix Switcher, where the media transport functions control the in-built sources (Streaming Client and Tuners).

    The media transport functions do not automatically control the Media Director client.

    Nick
     
    NickD, May 28, 2010
    #9
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.