Plugin suggestion: Run exectuable on channel change (1 Viewer)

optimalt

Portal Member
August 19, 2011
36
20
Sweden Sweden
Country flag
I get live-tv in MP through capture cards (Hauppague Colossus) connected to set top boxes. It would be relly nice if there was a TV-server plugin that reacted on the channel change event in the TV-server and ran an executable (.bat/.exe) with the channel name/number as a parameter. That would give me (and hopefully others) much better contol over the channel changes. For example you could use the plugin to generate an event in eventghost and control the STB with a blaster which works in Eventghost (and of course do a lot of other stuff i you want).

I have tried the ServerBlaster-plugin, but it only supports the Hauppague IR Blaster which I find unreliable. I briefly tried the IRSS but it was complicated to set up and I never got a grip on how it works.

I think that the Plugin Events section in the wiki could be a good help to anybody who would be interested in developing such a plugin:
http://wiki.team-mediaportal.com/1_...ent/TV-Server/TV-Server_Plugins/Plugin_Events

Also, NextPVR has an option to trigger an exceutable on channel change which works really good:
http://gbpvr.com/pmwiki/pmwiki.php/Config/ChannelChanger

Hopefully someone more than me are interested in this plugin :)

Thank you!
 

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,219
    New Zealand New Zealand
    Country flag
    Somebody else proposed the same idea about 1 year ago. I liked it so much that I decided to add the feature (built-in; no plugin required) in TVE 3.5. Currently the code is present but there's no user interface to configure the EXE location etc. In general I intend to improve blaster support a lot over time...
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,219
    New Zealand New Zealand
    Country flag

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,749
    New Zealand
    New Zealand New Zealand
    Country flag
    hah! thats nice!

    If I start using tv-server again I'm sure I'll be using that feature :p

    I currently only watch downloaded video :D
     

    optimalt

    Portal Member
    August 19, 2011
    36
    20
    Sweden Sweden
    Country flag
    Somebody else proposed the same idea about 1 year ago. I liked it so much that I decided to add the feature (built-in; no plugin required) in TVE 3.5. Currently the code is present but there's no user interface to configure the EXE location etc. In general I intend to improve blaster support a lot over time...
    It sounds great that it is possible to run an executable on channel change in TVE 3.5! I think I will try MP2 for this reason only.

    However (at least as I understand it), for now TVE 3.5 can't be used by MP1, Kodi, Emby or any client except MP2 until someone writes add-ons for these clients (personally I use MP1, Kodi and Emby).

    Given that you have managed to create this feature in TVE 3.5, is there any way you could find time to make such a plugin for TVE 3? That would be very much appreciated - at least from me :). Of course, I completely understand if you are reluctant to do this - reading this thread I understand you already have much on your plate as the only developer of TVE 3.5: https://forum.team-mediaportal.com/threads/tve3-5-for-mp1.129997)

    Thank you!
     
    Last edited:

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,219
    New Zealand New Zealand
    Country flag
    It sounds great that it is possible to run an executable on channel change in TVE 3.5! I think I will try MP2 for this reason only.
    Sure, give it a shot... but expect a few hickups. TVE 3.5 is a work in progress, as is MP2.

    However (at least as I understand it), for now TVE 3.5 can't be used by MP1, Kodi, Emby or any client except MP2 until someone writes add-ons for these clients (personally I use MP1, Kodi and Emby).
    That's correct.

    Given that you have managed to create this feature in TVE 3.5, is there any way you could find time to make such a plugin for TVE 3? That would be very much appreciated - at least from me :). Of course, I completely understand if you are reluctant to do this - reading this thread I understand you already have much on your plate as the only developer of TVE 3.5: https://forum.team-mediaportal.com/threads/tve3-5-for-mp1.129997)
    Sorry, I'm not able to do this in the foreseeable future.
     

    Nervesagent

    Portal Pro
    February 26, 2014
    150
    19
    40
    Denmark Denmark
    It can be done in a messy way...using VODSERVER.
    If you edit the play.xml file in such a way that it will display your channel (or a dummy mp4 file) and run an executable.
    I tried describing the way I did it in this topic
    https://forum.team-mediaportal.com/...internet-streams-as-tv-channels.121732/page-7

    I was able to run vlc when switching to a certain channel, but since I had no dummy mp4 running in the background, timeshifting gave me an error. Like I said.. it can be done.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    SpudR Suggested Plugin MediaPortal 1 Plugins 20
    morpheus_xx [WiP] "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 5
    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) 11
    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 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 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 9
    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