pause or stop built in ir solution (1 Viewer)

jodo234

Portal Member
June 22, 2008
9
0
TV-Server Version: -
MediaPortal Version: 1.0 RC1
MediaPortal Skin: blue wide
Windows Version: windows xp prof sp2
CPU Type: intel c2d E6750
HDD: s-ata 3gb/s maxtor 300gb
Memory: 2x1gb corsair twinx ddr2-800
Motherboard: shuttle g31sg2 with intel g31 chipset
Video Card: geforce 9600gt 512mb
Video Card Driver: forceware 175.16
Sound Card: onboard realtek hd-audio
Sound Card AC3:
Sound Card Driver:
1. TV Card: wintv hvr-1300


hi over there :)
i wanted to know, it it is possible to stop the ir service while mediaportal is running.
the idea behind this is, that i am using an external player, media player classic. i have found a software to control this player over the hauppauge remote but when this software is running while mediaportal is open, sometimes mediaportal grabs the commands and sometimes the other software :(
i wrote a short autohotkey tool, this one starts the software for the media player classic remote solution, then starts the player and opens the movie. after closing the player script continues shutting down the tools started before.
for a better handling i would like to stop/pause the mediaportal built in ir solution and after movie is finished i want to get it back working, so i can use mediaportal again ;)

i have open ears for any ideas regarding this tricky problem ;)
 

jodo234

Portal Member
June 22, 2008
9
0
ok,

i did a workaround :D but i think it only works with hauppauge remotes ...
i created a short autohotkey script, which i put into media portal configuration in the external player field.
you start mp configuration and navigate to movies -> movie player, there you activate the external player field and then you place the autohotkey exe file there, parameters is still %filename%
furthermore you have to navigate to remote -> hauppauge and activate "external processes may use the remote control"
you have to install the DIRC software from Oliver Frietsch (oliver-frietsch.de - Willkommen!) and load his media player classic control plugin. then you are done with config so far.

hotkey script looks like this
Code:
run C:\ToolsTreiber\WTVIRBridge-2.0.0.0\WTVIRBridge.exe
sleep 3000
RunWait, c:\tools\mplayerc_hc.exe "%1%"
process, close, WTVIRBridge.exe

so now you can use your remote as usual in media portal, but when you start a movie the script starts the ir keygrabber called WTVIRBridge (WTVIRBridge - About), waits 3 seconds and then starts media player classic and plays the movie. now you can use your remote control in media player classic. when you close the player, the script automatically closes the wtvirbridge keygrabber and shuts down the script. you will get back into media portal and you can use your remote as usual again there :)


hope this is helpful ;)
 

Users who are viewing this thread

Top Bottom