DVBViewer

Questions and comments specific to a particular plugin should go here.
Post Reply
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

DVBViewer

Post by Prinz » Thu Apr 30, 2009 6:02 pm

Hi,

I have nearly completely rewritten the DVBViewer plugin. It’s based on the action.ini of the DVBViewer version 4.0.1.60 (beta, downward compatible to 4.0.0.0).

Many additional actions and events are added like update EPG, Windows Task Scheduler actions ....

Additional information can be found in the readme.txt of the attached zip file.

Regards
Prinz

EDIT 06 May 2009, 22:00: New Version
Last edited by Prinz on Wed May 06, 2009 8:01 pm, edited 1 time in total.
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost

User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: DVBViewer plugin Version 2.xx

Post by Bitmonster » Thu Apr 30, 2009 7:39 pm

Is the action.ini of any need for the plugin, or is just for informational purposes?

I have no problem, if you take over the development of the old DVBViewer plugin with this new one, as I'm not using DVBViewer regularly. So you can modify it directly in the SVN trunk.

Might be better to move the README into the eg.RegisterPlugin(description=...). Since you can use reStructeredText it shouldn't be hard to reformat such text based layout easily.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!

Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: DVBViewer plugin Version 2.xx

Post by Prinz » Thu Apr 30, 2009 7:57 pm

Hi,
Bitmonster wrote:Is the action.ini of any need for the plugin, or is just for informational purposes?
It's only for documentation to see on which version the pugin is based.
Bitmonster wrote:I have no problem, if you take over the development of the old DVBViewer plugin with this new one, as I'm not using DVBViewer regularly. So you can modify it directly in the SVN trunk.
Thanks, then I will do it.
Bitmonster wrote:Might be better to move the README into the eg.RegisterPlugin(description=...). Since you can use reStructeredText it shouldn't be hard to reformat such text based layout easily.
I will think about it. Actual I think, that it will be better to move a part into the plugin description and other parts directly to the description of the command.

After I have done this changes, I will put it onto the SVN trunk.

Best regards
Stefan
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost

Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: DVBViewer plugin Version 2.xx

Post by Prinz » Wed May 06, 2009 8:07 pm

Hi,

you can find the newest checked in version at top of this thread. The README is moved into the plugin description.

Regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost

Dal
Posts: 14
Joined: Tue Mar 24, 2009 7:53 pm

Re: DVBViewer plugin Version 2.xx

Post by Dal » Wed May 06, 2009 8:37 pm

Hello.

I try to use this plugin, but I get this error when trying to add it in EG:

Error while configuring: Plugin: DVBViewer
Traceback (most recent call last):
File "D:\Brukerprogrammer\Media\EventGhost\eg\Classes\MainFrame\__init__.py", line 802, in OnCmdAddPlugin
).switch(self.document, pluginInfo)
File "D:\Brukerprogrammer\Media\EventGhost\eg\Classes\UndoHandler\NewPlugin.py", line 42, in Do
if not eg.UndoHandler.Configure().Do(pluginItem, True):
File "D:\Brukerprogrammer\Media\EventGhost\eg\Classes\UndoHandler\Configure.py", line 57, in Do
newArgs = gr.switch(*item.GetArgs())
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 1508, in Configure
onPasswordChange( wx.CommandEvent() )
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 1270, in onPasswordChange
panel.EnableButtons( p1 == p2 )
File "D:\Brukerprogrammer\Media\EventGhost\eg\Classes\ConfigPanel.py", line 294, in EnableButtons
buttonRow.testButton.Enable(flag)
AttributeError: 'NoneType' object has no attribute 'Enable'

The plugin seems to be added, but no context-folder is added.

I use EG v.0.3.6.1487

Thanks.

Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: DVBViewer plugin Version 2.xx

Post by Prinz » Wed May 06, 2009 9:20 pm

Hi,
Dal wrote:I use EG v.0.3.6.1487
Sorry I forgot, the actual EG version 0.3.7.r918 is necessary.

Regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost

Dal
Posts: 14
Joined: Tue Mar 24, 2009 7:53 pm

Re: DVBViewer plugin Version 2.xx

Post by Dal » Sat May 09, 2009 9:32 pm

Prinz wrote:Hi,
Dal wrote:I use EG v.0.3.6.1487
Sorry I forgot, the actual EG version 0.3.7.r918 is necessary.

Regards
Prinz
Thanks for answering.

But it still doesn't work.
When I try commands from the conext folder, I get this error:

DVBViewer: OSD-Show Timeline
Error in Action: "DVBViewer: OSD-Show Timeline"
Traceback (most recent call last) (918):
File "D:\Brukerprogrammer\Media\EventGhost\eg\Classes\ActionBase.py", line 168, in CallWrapper
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 321, in __call__
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 358, in SendCommandThroughCOM
AttributeError: 'DvbViewerWorkerThread' object has no attribute 'dvbviewer'

Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: DVBViewer plugin Version 2.xx

Post by Prinz » Sun May 10, 2009 7:32 am

Hi,
Dal wrote:DVBViewer: OSD-Show Timeline
Error in Action: "DVBViewer: OSD-Show Timeline"
Traceback (most recent call last) (918):
File "D:\Brukerprogrammer\Media\EventGhost\eg\Classes\ActionBase.py", line 168, in CallWrapper
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 321, in __call__
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 358, in SendCommandThroughCOM
AttributeError: 'DvbViewerWorkerThread' object has no attribute 'dvbviewer'
The line numbers of the error messages doesn't fit to the actual version. Could you check it, that realy the new plugin is located in the directory "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer"?

The new version of the EventGhost contains also this new dvbviewer plugin. Using this new version it's actual not necessary anymore to replace the plugin.

Regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost

Dal
Posts: 14
Joined: Tue Mar 24, 2009 7:53 pm

Re: DVBViewer plugin Version 2.xx

Post by Dal » Sun May 10, 2009 6:23 pm

Prinz wrote:The line numbers of the error messages doesn't fit to the actual version. Could you check it, that realy the new plugin is located in the directory "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer"?

The new version of the EventGhost contains also this new dvbviewer plugin. Using this new version it's actual not necessary anymore to replace the plugin.

Regards
Prinz
Oops, maybe that is the problem.
Will check it out as soon as possible.

Dal
Posts: 14
Joined: Tue Mar 24, 2009 7:53 pm

Re: DVBViewer plugin Version 2.xx

Post by Dal » Sun May 10, 2009 7:14 pm

Did a reinstall of EG 0.3.7.r918 now, and made sure the plugins catalog was emptied, but still errors:

Show Statusbar
DVBViewer: Show Statusbar
Error in Action: "DVBViewer: Show Statusbar"
Traceback (most recent call last) (918):
File "D:\Brukerprogrammer\Media\EventGhost\eg\Classes\ActionBase.py", line 168, in CallWrapper
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 321, in __call__
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 358, in SendCommandThroughCOM
AttributeError: 'DvbViewerWorkerThread' object has no attribute 'dvbviewer'
Fullscreen
DVBViewer: Fullscreen
Error in Action: "DVBViewer: Fullscreen"
Traceback (most recent call last) (918):
File "D:\Brukerprogrammer\Media\EventGhost\eg\Classes\ActionBase.py", line 168, in CallWrapper
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 321, in __call__
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 358, in SendCommandThroughCOM
AttributeError: 'DvbViewerWorkerThread' object has no attribute 'dvbviewer'

Hmm, I forgot to mention I use DVBViewer Pro v4.1

Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: DVBViewer plugin Version 2.xx

Post by Prinz » Sun May 10, 2009 7:39 pm

Hi,
Dal wrote:Did a reinstall of EG 0.3.7.r918 now, and made sure the plugins catalog was emptied, but still errors:
.
.
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 358, in SendCommandThroughCOM
I can't assign this error line numbers to the code of the plugin. Could it be that the plugin file is damaged? The new DVBViewer plugin contains 2673 lines of code. Could you check it?

Could you install the new version (EventGhost_0.3.7.r965_Setup.exe). The new plugin is integrated in this version. In this case, replacement of the plugin is not necessary anymore.

Regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost

Dal
Posts: 14
Joined: Tue Mar 24, 2009 7:53 pm

Re: DVBViewer plugin Version 2.xx

Post by Dal » Sun May 10, 2009 8:22 pm

Tried to install r965 now, but now I cannot open EG at all. I get this error:

Traceback (most recent call last):
File "EventGhost.pyw", line 30, in <module>
File "D:\Brukerprogrammer\Media\EventGhost\eg\__init__.py", line 25, in <module>
import stackless
ImportError: No module named stackless

Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: DVBViewer plugin Version 2.xx

Post by Prinz » Sun May 10, 2009 8:38 pm

Hi,
Dal wrote:Traceback (most recent call last):
File "EventGhost.pyw", line 30, in <module>
File "D:\Brukerprogrammer\Media\EventGhost\eg\__init__.py", line 25, in <module>
import stackless
ImportError: No module named stackless
I have this problem on my installation also, I think it'a a problem of the installation procedure. I solved this problem in following way:
  1. Save the contents of the setting folder into an other directory
  2. Deinstall event ghost (the settings folder will be removed)
  3. Install the new version of EG
  4. Copy the saved files "MyConfig.xml" and "config.py" in the new setting folder
Could you try it in the same way?

Regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost

Dal
Posts: 14
Joined: Tue Mar 24, 2009 7:53 pm

Re: DVBViewer plugin Version 2.xx

Post by Dal » Sun May 10, 2009 8:59 pm

Thank you, that did the trick

But still having problems with the DVBViewer plugin, though :)
This is the error:

OSD-Teletext
DVBViewer: OSD-Teletext
DVBViewer.DVBViewerCouldNotBeConnected
Exception in thread DvbViewerWorkerThread:
Traceback (most recent call last):
File "threading.pyc", line 525, in __bootstrap_inner
File "threading.pyc", line 477, in run
File "D:\Brukerprogrammer\Media\EventGhost\eg\Classes\ThreadWorker.py", line 173, in __MainLoop
File "D:\Brukerprogrammer\Media\EventGhost\plugins\DVBViewer\__init__.py", line 925, in Finish
AttributeError: comObj

Could not connect for some reason.
Could it be because I have another pluging using Com? (Zoom Player). Tried to disable that, didn't help.

Also tried to start DVBViewer via command line. Same error.

Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: DVBViewer plugin Version 2.xx

Post by Prinz » Sun May 10, 2009 9:46 pm

Hi,

could you sent me the files "MyConfig.xml" and "config.py" to my email address. I will sent you the email address by PM.

Regards
Stefan
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost

Post Reply