Page 5 of 7
Re: DVBViewer
Posted: Sun Oct 07, 2012 7:03 pm
by piipes
Thank you phlox, new plugin is much better. I use dvbv/recservice and XBMC combo.
Both program are open all time, i only disable dvbv audio/video, when quick switch to xbmc. It works, but sometimes eventghost just hangs.
Now all works mutch better. Again, thank you for good job.
Re: DVBViewer
Posted: Sun Oct 07, 2012 7:55 pm
by ZappoB
I just installed the newest plugin, but EG starts with 2 error-messages:
Cant' find action: DVBViewer.GetRecordingsIDs()
Cant' find action: DVBViewer.Exit()
Are this actions renamed or missing?
EDIT: The problem is the additional "S" in DVBViewer.GetRecordingsIDs() - this is the name in the old/original DVBViewer-plugin. If I change the name in my existing XML, both failures vanishes...
BTW: When I install newer EG versions, the plugin gets always overwritten - is there a possibility to protect it? Or the EG installer should include your new plugin...
Re: DVBViewer
Posted: Mon Oct 08, 2012 7:05 pm
by phlox
piipes wrote:Thank you phlox, new plugin is much better. I use dvbv/recservice and XBMC combo.
Both program are open all time, i only disable dvbv audio/video, when quick switch to xbmc. It works, but sometimes eventghost just hangs.
Now all works mutch better. Again, thank you for good job.
Glad to hear, thx!
There are 1001 reasons that can make EG hanging - I hope that I fixed the majority of those related to the DVBViewer plugin. But EG is like Win 3.1 / Win 95: it's a collaborative system, if only one component (i.e. other plugin) doesn't behave as expected, the whole system hangs.
Re: DVBViewer
Posted: Mon Oct 08, 2012 7:15 pm
by phlox
ZappoB wrote:...
EDIT: The problem is the additional "S" in DVBViewer.GetRecordingsIDs() - this is the name in the old/original DVBViewer-plugin. If I change the name in my existing XML, both failures vanishes...
BTW: When I install newer EG versions, the plugin gets always overwritten - is there a possibility to protect it? Or the EG installer should include your new plugin...
Oops, that's probably my mistake, it was actually not intended to change existing action names. However, I think I leave it now like this.
EG includes an older version of the DVBViewer plugin (version 2.1.2 I provided some posts before). Therefore, if you reinstall EG, it overwrites the most current version 3.0.0 of the DVBViewer plugin.
I'll contact Pako and ask him to include newest version with the next EG build. I just waited some time to be sure that the plugin is really stable - at least in my environment it is.
Re: DVBViewer
Posted: Mon Oct 08, 2012 7:30 pm
by ZappoB
Maybe you could leave a reference of the old name (GetRecordingsIDs) for compatibility reasons...
Re: DVBViewer
Posted: Tue Oct 09, 2012 3:46 pm
by phlox
Ok, I agree. I'll fix it and publish a new version 3.0.1 soon - I'm currently testing it in my environment before making it public.
However, note that the action 'GetRecordingsIDs' is deprecated and might be removed in a future release, I suggest to use the generic action 'GetTimerDetails' instead. Just ask if you need support for the migration (PM or here).
Re: DVBViewer
Posted: Wed Oct 10, 2012 8:44 pm
by phlox
DVBViewer plugin 3.0.1
Just a minor bug fix: Renamed action 'GetRecordingsIDs' again due to broken backward compatibility to plugin version 2.x
All other changes in version 3.0 are listed in
this post
Re: DVBViewer
Posted: Wed Dec 19, 2012 8:12 pm
by vonB
Hi,
I bought a Zotac Mini-PC recently and have tried desperately to get Eventghost working with DVBViewer. Here's my specs:
Zotac AD05 + Zotac MCE remote
Win7 x64
DVBViewer 4.9.6.20
Eventghost 0.4.1.r1600
- Plugin: HID: PHILIPS MCE USB IR Receiver- Spinel plus (4 of these actually to get all the buttons on the remote working)
- DVBViewer plugin 3.0.1
If I start DVBViewer with the assigned button (HID.Button.1) it starts, but any other commands do not get through. This is the error I get in Eventghost:
Code: Select all
Failed to initialize COM interface: 'ascii' codec can't decode byte 0xc4 in position 9: ordinal not in range(128)
Error in Action: "DVBViewer: Start DVBViewer"
Traceback (most recent call last) (1600):
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
return self(*args)
File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 3054, in __call__
self.plugin.Connect( WAIT_CHECK_START_CONNECT, lock = True )
File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 1399, in Connect
self.GetChannelLists(lock=False)
File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 1224, in GetChannelLists
rawlist = self.workerThread.CallWait( partial( self.workerThread.GetChannelList ), CALLWAIT_TIMEOUT )
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 234, in CallWait
return self.Func(func, timeout)()
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
self.returnValue = self.func(*self.args, **self.kwargs)
File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 2363, in GetChannelList
channelManager = self.dvbviewer.ChannelManager
AttributeError: 'NoneType' object has no attribute 'ChannelManager'
DVBViewer.SevereError.COM u"Failed to initialize COM interface: 'ascii' codec can't decode byte 0xc4 in position 9: ordinal not in range(128)"
DVBViewer process running but could not accessed by the Watch Dog Thread. Restart of DVBViewer is suggested.
DVBViewer.SevereError.Connect
DVBViewer plugin included with Eventghost (2.something) did not print this error, just "DVBViever.DVBViewerCouldNotBeConnected" with the same end result. I tried other versions of Eventghost also but to no avail.
I also noticed that if Eventghost is running and I start DVBViewer with mouse and then close it, DVBViewer restarts and then quits with an error message. But maybe that's related to the same issue.
Any idea what I could try next? Not sure if this is a bug or something related to my setup. Any help is appreciated, I'm getting really desparate here

Re: DVBViewer
Posted: Wed Dec 19, 2012 10:47 pm
by phlox
Code: Select all
channelManager = self.dvbviewer.ChannelManager
AttributeError: 'NoneType' object has no attribute 'ChannelManager'
The plugin obviously fails to initialize the COM interface provided by DVBViewer.
Did you already try to reinstall DVBViewer? Maybe DVBViewer's COM registration is somehow corrupted.
If that doesn't help: Does 'DVBViewer Spy' (another program using the COM interface, downloadable in members area) properly work? If yes, then the problem might be related to EventGhost / DVBViewer plugin and we have to search further. If not, then the problem is related to DVBViewer itself.
Re: DVBViewer
Posted: Wed Dec 26, 2012 6:47 pm
by vonB
Thanks for the response.
I tried reinstalling DVBViewer but it didn't help. Will try DVBViewer Spy next time I get to the PC where I have the DVBViewer site password stored.
I disabled a couple unnecessary Windows services earlier while trying to squeeze all out of the CPU. Not sure if that could have caused the problem.
Re: DVBViewer
Posted: Tue Jan 01, 2013 5:52 pm
by retro
Hello,
I've only been using EG for one day so it is likely I'm doing something wrong...but...
I have mapped my MCE-remote to all the actions needed for me, and it works great.
Problem is, I also use other programs like Mediaportal, JRMC etc, and while using them, whenever I press a button that is mapped to DvbViewer, it starts up the program..! I mean, I have mapped "liveTV"-button on my MCE-remote to start up DvbViewer, but ANY mapped button starts the program..?!?
It's very likely that I'm missing something here...is there an easy fix for this..?
Thanks,
Retro
Re: DVBViewer
Posted: Wed Jan 02, 2013 3:04 pm
by phlox
Hi
The problem is that you still send commands to DVBViewer. Sending commands to DVBViewer through the COM interface also launches DVBViewer even it is not running.
I suggest you...
1. To move all DVBViewer related macros into one subfolder (if not already done)
2. Add Plugin 'Task Create/Switch Events'
3. Create two macros:
Macro EnableDVBViewer:
Event: 'Task.Activated.dvbviewer'
Action: EventGhost.Enable an item <Folder: DVBViewer macros>
Macro DisableDVBViewer:
Event: 'Task.Deactivated.dvbviewer'
Action: EventGhost.Disable an item <Folder: DVBViewer macros>
hope that helps.
Re: DVBViewer
Posted: Sat Jan 19, 2013 9:50 am
by vonB
The plugin obviously fails to initialize the COM interface provided by DVBViewer.
Did you already try to reinstall DVBViewer? Maybe DVBViewer's COM registration is somehow corrupted.
If that doesn't help: Does 'DVBViewer Spy' (another program using the COM interface, downloadable in members area) properly work? If yes, then the problem might be related to EventGhost / DVBViewer plugin and we have to search further. If not, then the problem is related to DVBViewer itself.
I finally got to check this. DVBViwer Spy seems to be working, at least it lists all the events taking place when starting DVBViewer, changing channels etc.
However, the COM interface error in Eventghost is still there

I tried reinstalling DVBViewer earlier, it didn't help either.
Any ideas what to try next?
Re: DVBViewer
Posted: Sat Jan 19, 2013 10:23 am
by phlox
OK, let's dive a bit deeper...
- start 'eventghost.exe -debug' => a debug log file is written to C:\Users\<youraccount>\AppData\Roaming\EventGhost\Log.txt
- Install plugin 'Log Redirector' (can be found in this forum) and configure it to write a log file to C:\Users\<youraccount>\AppData\Roaming\EventGhost\EventGhost_Log.txt
- Reproduce the problem, then close EventGhost
- Send me a) your EG configuration XML (no restraint, it's not a beauty contest) b) the debug log file Log.txt and c) the screen log file EventGhost_Log.txt
Then I'll look into it - however, I can't promise anything; earlier you wrote
vonB wrote:I disabled a couple unnecessary Windows services earlier while trying to squeeze all out of the CPU. Not sure if that could have caused the problem.
This could in fact be related to this problem (or something else related to your PC, since it seems not to be a common problem). Which Windows version are you using?
Re: DVBViewer
Posted: Sun Jan 20, 2013 2:18 pm
by vonB
OK, let's dive a bit deeper...
start 'eventghost.exe -debug' => a debug log file is written to C:\Users\<youraccount>\AppData\Roaming\EventGhost\Log.txt
Install plugin 'Log Redirector' (can be found in this forum) and configure it to write a log file to C:\Users\<youraccount>\AppData\Roaming\EventGhost\EventGhost_Log.txt
Reproduce the problem, then close EventGhost
Send me a) your EG configuration XML (no restraint, it's not a beauty contest) b) the debug log file Log.txt and c) the screen log file EventGhost_Log.txt
Then I'll look into it - however, I can't promise anything; earlier you wrote
vonB wrote:I disabled a couple unnecessary Windows services earlier while trying to squeeze all out of the CPU. Not sure if that could have caused the problem.
This could in fact be related to this problem (or something else related to your PC, since it seems not to be a common problem). Which Windows version are you using?
First of all, thanks a lot for your help and support!
I did the above, hopefully I got it all right. I attached the log files and the xml here since I couldn't find a way to PM a file.
I haven't configured DVBViewer that much yet, basically just the startup but the problem occurs right away of course.
I am using Win7 SP1 64-bit. The computer is actually at my parents' house, so I won't be able continue the debug until three weeks time or so.