DVBViewer

Questions and comments specific to a particular plugin should go here.
QuentinSat
Posts: 8
Joined: Fri Jul 02, 2010 5:59 pm

Re: DVBViewer

Post by QuentinSat » Sun Jul 04, 2010 12:29 pm

Hi, here are the configuration and log files.
Thanks again for your help.
Attachments
Log.txt
(10.06 KiB) Downloaded 312 times
ultrax.xml
(3.58 KiB) Downloaded 283 times

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

Re: DVBViewer

Post by Prinz » Sun Jul 04, 2010 4:05 pm

Hi,
QuentinSat wrote:Hi, here are the configuration and log files.
Thanks again for your help.
It seems to be that the connection to the DVBViewer via the COM interface isn't possible.

The difference between the very old version ist the event handling of the DVBViewer. The old one doesn't support event handling.

Could you remove the directory directory "gen_py" of the configuration folder and could you try it again.

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

QuentinSat
Posts: 8
Joined: Fri Jul 02, 2010 5:59 pm

Re: DVBViewer

Post by QuentinSat » Sun Jul 04, 2010 11:37 pm

The "gen_py" folder was empty, I tried to remove the complete configuration folder but always the same error.
Otherwise, could it be possible to put the old DVBViewer plugin in the latest version of EventGhost ?

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

Re: DVBViewer

Post by Prinz » Mon Jul 05, 2010 5:35 am

Hi,
QuentinSat wrote:The "gen_py" folder was empty,
Does a write permission problem with this directory exists? The folder must contain generated python code build on runtime. If it's empty the COM interface can't work.

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

QuentinSat
Posts: 8
Joined: Fri Jul 02, 2010 5:59 pm

Re: DVBViewer

Post by QuentinSat » Mon Jul 05, 2010 10:58 am

Hi,
Prinz wrote:Does a write permission problem with this directory exists?
I don't think so, there are other files in the Application Data\EventGhost folder (config.py and pluginManager).

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

Re: DVBViewer

Post by Prinz » Mon Jul 05, 2010 12:40 pm

Hi,

The gen_py folder should be generated if the EG is started and a access to the DVBViewer is taken by EG.

Could it be that you haven't try to use the DVBViewer?

After this action, following files must be found in this directory:

Code: Select all

017FD4A8-5E00-4DF8-A388-434B8E592CC4x0x1x1
__init__.py
The folder "017FD4A8-5E00-4DF8-A388-434B8E592CC4x0x1x1" should contain:

Code: Select all

DVBViewer.py
DVBViewerEvents.py
DVBViewerEvents.pyc
IChannelCollection.py
IChannelCollection.pyc
IDVBViewer.py
IDVBViewer.pyc
IDVBViewerEventhelper.py
IDVBViewerEventhelper.pyc
IDVBViewerEvents.py
IDVBViewerEvents.pyc
ITimerCollection.py
ITimerCollection.pyc
__init__.py
__init__.pyc
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

QuentinSat
Posts: 8
Joined: Fri Jul 02, 2010 5:59 pm

Re: DVBViewer

Post by QuentinSat » Mon Jul 05, 2010 6:04 pm

I have nothing of that :(
Maybe there is anything i forget in the configuration ? I don't remember this window in the old version...
dvbviewer_eg_plugin_set.png

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

Re: DVBViewer

Post by Prinz » Tue Jul 06, 2010 7:24 am

QuentinSat wrote:I have nothing of that :(
Maybe there is anything i forget in the configuration ? I don't remember this window in the old version...
No, it can't be a problem of the setup. The missing files is not a plugin problem. They should be generated automatically by the pythoncom library on the first access to the DVBViewer.

I have checked your setup on my system and it works.

It could be that the path of the generated files is not correct. Could you search for one of the files (e.g. IDVBViewer.py) on your boot partition?

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

QuentinSat
Posts: 8
Joined: Fri Jul 02, 2010 5:59 pm

Re: DVBViewer

Post by QuentinSat » Tue Jul 06, 2010 1:46 pm

Hi, I finally found the problem : my firewall blocked the control of DVBViewer!
I allowed it and all seems to be ok now.

Thanks a lot for your help.

bob_harris
Posts: 1
Joined: Sun Sep 12, 2010 7:43 pm

Re: DVBViewer

Post by bob_harris » Sun Sep 12, 2010 7:53 pm

Is there a way to configure this plugin to only send commands to DVBViewer when it is already running?

For example, I have the "Guide" key on my remote assigned to MediaPortal's EPG. If MediaPortal is not currently running, when I press "Guide" I get a message in the EventGhost log "Application not running!", and nothing happens which is the behavior I want.

If it have the "Guide" key assigned to DVBViewer's OSD EPG, DVBViewer starts up when I press the "Guide" button.

v!rus
Posts: 28
Joined: Thu Dec 23, 2010 9:31 am

Re: DVBViewer

Post by v!rus » Wed Jun 29, 2011 2:58 pm

Hi,

i get the following error message below after my HTPC is waked up for recording.
Any idea what`s the problem?

Best regards,
v!

Code: Select all

16:23:47   Exception in thread DVBViewerWatchDogThread:
16:23:47   Traceback (most recent call last):
16:23:47     File "threading.pyc", line 532, in __bootstrap_inner
16:23:47     File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 1588, in run
16:23:47       plugin.service.UpdateWithLock( UPDATE_ALL )
16:23:47     File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 4337, in UpdateWithLock
16:23:47       res = self.Update( type )
16:23:47     File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 4146, in Update
16:23:47       xmlData = self.GetData( 'timerlist' )
16:23:47     File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 4080, in GetData
16:23:47       pageHandle = urlopen(req)
16:23:47     File "urllib2.pyc", line 126, in urlopen
16:23:47     File "urllib2.pyc", line 391, in open
16:23:47     File "urllib2.pyc", line 409, in _open
16:23:47     File "urllib2.pyc", line 369, in _call_chain
16:23:47     File "urllib2.pyc", line 1161, in http_open
16:23:47     File "urllib2.pyc", line 1134, in do_open
16:23:47     File "httplib.pyc", line 986, in getresponse
16:23:47     File "httplib.pyc", line 391, in begin
16:23:47     File "httplib.pyc", line 355, in _read_status
16:23:47   BadStatusLine
16:23:47   

User avatar
GBWebmaster
Experienced User
Posts: 115
Joined: Wed Sep 24, 2008 5:34 am

Re: DVBViewer

Post by GBWebmaster » Sun Nov 06, 2011 9:40 pm

I have the following problem with the dvbviewer-plugin.

What's the meaning of the following log?

Code: Select all

22:24:22            Error: Lock released to prevent a dead lock
22:24:27            Fehler in Befehl: "DVBViewer: Start DVBViewer"
22:24:27            Traceback (most recent call last) (1544):
22:24:27              File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
22:24:27                return self(*args)
22:24:27              File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 2921, in __call__
22:24:27                self.plugin.Connect( WAIT_CHECK_START_CONNECT, lock = True )
22:24:27              File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 2305, in Connect
22:24:27                self.executionStatusChangeLock.release()
22:24:27              File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 1710, in release
22:24:27                self.lock.release()
22:24:27            error: release unlocked lock
The problem is, that dvbviewer don`t work and the recservice cannot restarted.

Thank you for any help.
Für den, der nie das Rudel anführt,
wird sich die Aussicht nicht ändern.

v!rus
Posts: 28
Joined: Thu Dec 23, 2010 9:31 am

Re: DVBViewer

Post by v!rus » Mon Dec 12, 2011 4:15 pm

Has anyone an idea what went wrong here? Is it something with user rights?

Code: Select all

17:09:10            Error on adding a task scheduler entry
17:09:10            Fehler in Befehl: "DVBViewer: Update Windows task scheduler: False"
17:09:10            Traceback (most recent call last) (1544):
17:09:10              File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
17:09:10                return self(*args)
17:09:10              File "C:\Program Files (x86)\EventGhost\plugins\DVBViewer\__init__.py", line 3908, in __call__
17:09:10                eg.PrintError( Exception, exc )
17:09:10              File "C:\Program Files (x86)\EventGhost\eg\Classes\Log.py", line 156, in PrintError
17:09:10                self._Print(args, **kwargs)
17:09:10              File "C:\Program Files (x86)\EventGhost\eg\Classes\Log.py", line 142, in _Print
17:09:10                self.Write(sep.join(args) + end, icon, source)
17:09:10            TypeError: sequence item 0: expected string, type found
cheers,
v!

No-Nonsense
Posts: 2
Joined: Mon Mar 12, 2012 9:18 am

How-To Retrieve Timer Information

Post by No-Nonsense » Mon Mar 12, 2012 11:50 am

Hello!

First I'd like to thank Prinz for his excellent plugin!

Is it possible to retrieve detailed information about the timer/recording when handling the StartRecord and EndRecord events that the DVBViewer plugin emits?

My goal is to notify myself about recordings using Prowl. I already have a Python script in my EventGhost configuration to notify myself that just sends the event name of the event that triggered the macro. So what i need is information on how to retrieve the recording information for the recording that has started or ended using the DVBViewer plugin.

Thanks in advance, kind regards,
Jens

phlox
Plugin Developer
Posts: 90
Joined: Wed Jan 11, 2012 3:49 pm

Re: How-To Retrieve Timer Information

Post by phlox » Wed Mar 21, 2012 1:47 pm

No-Nonsense wrote: Is it possible to retrieve detailed information about the timer/recording when handling the StartRecord and EndRecord events that the DVBViewer plugin emits?
Hi

what a coincidence, I had the same requirements (and a few more). A few weeks ago I've extended the existing DVBViewer plugin 2.0.0 and now I'm going to publish here a new version 2.1.1.

It implements the following changes:
  • New action 'GetTimerDetails': Returns details of one or all current recording timers
  • New action 'GetChannelDetails': Returns the technical details of one or all DVBViewer channels
  • New action 'TuneChannel': Tunes DVBViewer to an arbitrary channel with the given channelID
  • Changed internal ChannelIDs from 32bit to 64bit
  • Moved HTML documentation into separate file (for easier maintenance)
hth.

(edit: attachment removed since version is outdated. Pls find the newest version of DVBViewer plugin later in this thread)
Last edited by phlox on Wed Apr 04, 2012 8:46 pm, edited 1 time in total.

Post Reply