[Plugin]Marantz Control Plugin 0.0.0.2 (2 Viewers)

mrmojo666

MP Donator
  • Premium Supporter
  • January 24, 2006
    599
    179
    Turin
    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

    Hakuna76

    New Member
    December 22, 2020
    2
    0
    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
    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
    OP Title Forum Replies Date
    ajs MQTT Plugin MediaPortal 1 Plugins 11
    C Issue with plugin initialisation My TVSeries 7
    morpheus_xx [Finished] "What's New" plugin for MP2 upgrades MediaPortal 2 20
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    M Installing Plugins Newcomers Forum 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 10
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 6
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 31
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 11
    doskabouter [Question] Stale plugins Developer Discussions 9
    M MP1 stops responding after Starting Plugins General Support 14
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10

    Similar threads

    Top Bottom