[Plugin]Marantz Control Plugin 0.0.0.2 (1 Viewer)

mrmojo666

MP Donator
  • Premium Supporter
  • January 24, 2006
    599
    179
    Turin
    Home Country
    Italy Italy
    Country flag
    Marantz Control MediaPortal Plugin Marantz Control is a plugin for MediaPortal1 to send telnet command on a specific mediaportal action. It is created with the purpose to change input on my Marantz AVR on a specific mediaportal input (eg: by pressing a remote button).

    Instructions:

    In the plugin config you must select the action from the list, then write the ip address of your AVR and the port (usually 23), plus the telent command you want to send to the AVR. (eg: in my case i want to change input to AUX1 so the is "SIAUX1"). In the mediaportal config you have to set a button of the remote (or keyboard or jypad or any other input device) for the action you have selected in pluginconfig. Pay attention that the action could do also mothing else in MP. In my setup I choose ACTION_HOME and setup MCE green button accordingly, so when I press the green button on the MCE remote MP goes to Home and switch AVR input to Mediaportal.

    telnet command list


    Any comment or suggestion is more than welcome!

    keep in mind I'm not a professional programmer and this is my first MP plugin so the code could be not perfect :)

    CODE
     

    Attachments

    • MarantzControl.0.0.0.2.mpe1
      26.2 KB · Views: 4

    Hakuna76

    New Member
    December 22, 2020
    2
    0
    Home Country
    Sweden Sweden
    Country flag
    Hello and thank you! This is exactly what I need to start zone 2 of my Marantz SR7009.
    I have a problem getting the commands (Z2ON or PW?) to work though, and I think it has to do with the <CR> or \r that should be sent with the command. What should I write?
    I tried with android apps, and it only worked when I used "TCP Telnet Terminal", with command on its own and \r added. With \r in the command, it did not work.

    Any ideas?

    Workaround:
    With this little program Telnet Scripting Tool 1.0
    I could get it to work by creating this text file:

    192.168.0.113
    SEND "Z2ON\m"
    WAIT "Z2ON"


    And running this from a batch file:
    tst10.exe /r:Z2ON.txt /o:eek:utput.txt

    1608622211640.png
     
    Last edited:

    Hakuna76

    New Member
    December 22, 2020
    2
    0
    Home Country
    Sweden Sweden
    Country flag
    Also, run the bat file on a Windows Scheduled Task, triggered by boot and resume from suspension. Tick the box of waiting for network, otherwise the command will be sent too soon.
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 MQTT Plugin DE
    @Jean-Marc i add play command, but i dont test it ... No time, sorry ...
    @Jean-Marc i add play command, but i dont test it ... No time, sorry ...
    https://ci.appveyor.com/api/projects/status/yj74bbhstsucwojj/branch/master?svg=true MQTT Plugin for MediaPortal - Publish some...
    Replies
    17
    Views
    1K
    Great :) I have a denon :) Tapatalk
    Great :) I have a denon :) Tapatalk
    Hi, I'm trying to develop a plugin I'm very very beginner , but at the moment I've already learn how to make plugin setup form in...
    Replies
    3
    Views
    683
    This Plugin is made to overtake the lack of direct show video settings in Tvserver for hauppauge PVR card (tested with Colossus 2 and Pvr HD2 usb, but it could work with any pvr card)For each timeshift starting it setups : VideoProcAmp_Brightness VideoProcAmp_Contrast VideoProcAmp_Hue VideoProcAmp_Saturation VideoProcAmp_Sharpness...
    This Plugin is made to overtake the lack of direct show video settings in Tvserver for hauppauge PVR card (tested with Colossus 2...
    This Plugin is made to overtake the lack of direct show video settings in Tvserver for hauppauge PVR card (tested with Colossus 2...
    Replies
    0
    Views
    836
    Away Mode is the most stupid thing Microsoft has implemented in the last 10 years. My HTPC is always turned on now, Even though I turn it off before going to bed. It annoys the hell out of me and causes lots of issues with MediaPortal too, database corruption etc. Emph
    Away Mode is the most stupid thing Microsoft has implemented in the last 10 years. My HTPC is always turned on now, Even though I...
    In the past my HTPC used to wake up for a scheduled recording in Away mode.:) Recently (possibly since 1.21+ but prior to and with...
    Replies
    20
    Views
    2K
    So my project yesterday was to get my MCE remote working and perfectly mapped with the internal IR receiver of my Antec Fusion Remote case. I have pretty much succeeded using IRSS, great! However there is something I would like to know if I could do in a better way. There are some buttons on my remote (e.g.Visualizations, Eject) that...
    So my project yesterday was to get my MCE remote working and perfectly mapped with the internal IR receiver of my Antec Fusion...
    So my project yesterday was to get my MCE remote working and perfectly mapped with the internal IR receiver of my Antec Fusion...
    Replies
    0
    Views
    1K
    Top Bottom