Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Dvbviewer vs XBMC with Hauppauge

If you have a question or need help, this is the place to be.
Post Reply
sprawl
Posts: 2
Joined: Tue Mar 06, 2012 2:26 pm

Dvbviewer vs XBMC with Hauppauge

Post by sprawl »

I've build my first HTPC and want to use the Hauppauge remote that came with my TV card to control both DVBViewer and XBMC. EventGhost comes with plugins for all of them but the one for DVBViewer is compatible with 4.3 max and I'm running 4.9. Since I already had mapped all keys from inside DVBviewer anyway (using the same irremote.dll that EventGhost plugin is utilizing) I figured, I simply map keys for XBMC only but that does not work. When I start DVBviewer, no keys respond which is probably due to the fact that both programs use the same dll? This is how I want it to work when I'm on the idle desktop:
  • method A
    • Button 'TV' is pressed: DVBViewer starts and all keys are mapped internally until the program is closed again
    • Button 'Videos' is pressed: XBMC starts and all keys are mapped by EventGhost until the program is closed again
  • method B
    • Button 'TV' is pressed: DVBViewer starts and all keys are mapped internally except 'videos' which will mute & minimize DVBViewer and start XMBC
    • Button 'Videos' is pressed: XBMC starts and all keys are mapped by EventGhost. 'TV' will mute and minimize XBMC and start DVBViewer
Being a total newbie I have no idea how to 'code' either method. Help would be greatly appreciated.
sprawl
Posts: 2
Joined: Tue Mar 06, 2012 2:26 pm

Re: Dvbviewer vs XBMC with Hauppauge

Post by sprawl »

I've done a little more testing on method A in the meantime and got it to work with this structre:

Code: Select all

- program control
  - DVBViewer
    -> enable exclusive
  - XBMC
    -> enable exclusive
which are called up with 'TV' and 'Videos' respectively disabling the other program until they are closed (which enables both again).

Problem is that pressing ANY key on the remote that is mapped in EventGhost's DVBviewer plugin manager, like mute, also calls up DVBViewer. Thus I cannot use 'Videos' to call up XBMC exclusively and use it inside of DVBViewer (when XBMC is disabled) to call up the Video menu. I assume this has to do with how the DVBViewer plugin is coded, i.e. any button mapped starts the program automatically? How do I stop this and make DVBviewer only respond to remote codes once it's been started? Thx.
piert
Experienced User
Posts: 321
Joined: Tue Jun 14, 2011 2:53 pm

Re: Dvbviewer vs XBMC with Hauppauge

Post by piert »

I am not sure I fully understand your problem or what you have already done, but since you say you are using two different plugins connected to the same remote, I would suggest trying to disable the other plugin in the Autostart from within the macro.
So, when you start dvbviewer from the dvbviewer macro, you add an action to disable the XBMC plugin and vice-versa.

If that does not help, you could add an action at the end of the macro to automatically close the program that you don't want to open. Not a nice solution, but might do the trick....
Perry
Martop
Posts: 1
Joined: Tue Mar 13, 2012 11:26 am

Re: Dvbviewer vs XBMC with Hauppauge

Post by Martop »

I just spotted this post regarding dvbviewer, I'm having similar problems with the way the eventghost plug in fires up dvbviewer with any command, any remote command thats added to dvbviewer functions opens the program, its a pain to be honest and I would like to have dvbviewer run only when I set a command to run it.

I've spent the best part of two weeks trying to get my htpc set up, first it was toggling the audio outputs with a remote command, its not like xp where all audio outputs worked, windows 7 is different. And now I'm hitting a brick wall with getting dvbviewer to play nice with XBMC, I tried following a guide similar to this :

Run program X > stop program Y running and take control from the remote
Run program Y > stop program X running and take control from the remote

( this was a guide to get XBMC to play nice with beyondTV but I changed beyond TV to dvbviewer )

Should be easy by adding Enable Exclusives but in my case, dvbviewer runs at any remote command, goes loopy and disables the plugins. I gave up that idea and am now looking to simply open one and close the other with event ghost using the remote for dvbviewer and a keyboard for XBMC because as far as I can see in my set up, swapping over with the same remote isnt possible, not when dvbviewer runs at any registered key press, everything I have on my htpc runs only with the one command, you have to tell it to pen first then you can control it, I have tried changing the plug in settings for dvbviewer but I cant get any further :cry: I've read almost everything I can find about this but are non the wiser, unless I have missed something :-)


--
Martop
themaster1
Experienced User
Posts: 133
Joined: Wed Feb 03, 2010 9:02 pm

Re: Dvbviewer vs XBMC with Hauppauge

Post by themaster1 »

Sprawl you're lucky i have a solution for you, use my evenghost .xml, with it i can control dvbviewer, xbmc, tmt5, winamp and others.
I use a haupauge remote aswell (irremote.dll)

Keys points of this config:
- Can switch apps via OS Menu (press GO on the remote)
- Auto switch if you launch the apps with the mouse
- Control firefox, tmt5, dvbviewer, xbmc, winamp etc..

It work flawlessly or almost

Download link:
(XML, eventghost)
http://www.mediafire.com/?7q5viz5bj5l474i

(keystrokes file for DvbViewer, need to import it (settings > options > input > import)
http://www.mediafire.com/?1j8nydn6588k02j

Tested on Win7 x64 (change the apps path in the Switch folder if you have a 32bit os)
Post Reply