Re: [Freevo-users] livepause external turner

2010-10-12 Thread Dan Schmidt
Thanks Adam!  Unfortunately, that locked it up.  :-(  Thanks much for
your help! 

The first problem was easy:

  File "/usr/share/pyshared/freevo/tv/plugins/livepause/controllers.py",
line 216, in __init__
COntroller.__init__(self)
NameError: global name 'COntroller' is not defined

That was an easy fix - cApitalization problem.  Next problem:

  File "/usr/share/pyshared/freevo/tv/v4l2.py", line 429, in setinputbyname
(index, name, type, audioset, tuner, std, status) = self.inputs[v_input]
AttributeError: IVTV instance has no attribute 'inputs'

Not as easy.  Still tries to tune twice.  Obviously didn't catch the
exception.

428 try:
429 (index, name, type, audioset, tuner, std, status) =
self.inputs[v_input]
430 self.setinput(index)
431 except KeyError, e:
432 _debug_('setinputbyname failed: %s' % (e), DERROR)
433 _debug_('possible are: %r' % (self.inputs.keys()), DINFO)
434 raise
435 _debug_('setinputbyname: %s->%s set' % (name, index))

d...@dan-desktop:/home/freevo/log$ cat livepause-stdout-112-1286925481.log
!! 0 Mode set to http
!! 0 OK
d...@dan-desktop:/home/freevo/log$

Any suggestions appreciated!

-Dan
On 10/12/2010 02:40 AM, Adam Charrett wrote:
> On Wed, 2010-10-06 at 17:57 -0600, Dan Schmidt wrote:
>   
>> Sorry to take so long to respond - sick days are the only time I get to
>> work on my Freevo box.
>>
>> d...@dan-desktop:/etc/freevo$ cat
>> /home/freevo/log/livepause-stdout-112-1286408602.log
>> !! 0 Mode set to http
>> !! 0 OK
>> !! 0 Started filler udp
>> !! 0 OK
>> !! 0 Started filler udp
>> !! 0 OK
>> !! 0 Started filler udp
>> !! 0 OK
>> d...@dan-desktop:/etc/freevo$
>>
>> I do get a lot of:
>> error: [Errno 111] Connection refused
>> 2010-10-06 17:44:31,102 INFO mplayer.py (164): MPLAYER_ARGS not
>> defined for 'mpeg', using default
>> Traceback (most recent call last):
>>   File "/usr/share/pyshared/freevo/tv/plugins/livepause/controllers.py",
>> line 161, in stop_filling
>> self.manager.disable_output(self.last_device)
>>   File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/manager.py",
>> line 77, in disable_output
>> self.set_mrl(adapter,  'null://')
>>   File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/manager.py",
>> line 94, in set_mrl
>> controller.set_servicefilter_mrl(comms.PRIMARY_SERVICE_FILTER, mrl)
>>   File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/comms.py",
>> line 113, in set_servicefilter_mrl
>> (errcode, errmsg, msg) = self.execute_command('setsfmrl %s %s' %
>> (service_filter, mrl), True)
>>   File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/comms.py",
>> line 67, in execute_command
>> ctrlcon.open()
>>   File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/comms.py",
>> line 256, in open
>> self.socket.connect((self.host, self.adapter + 54197))
>>   File "", line 1, in connect
>> error: [Errno 111] Connection refused
>>
>>
>> Sometimes it comes up with a screen that says "Tuning to channel 4" but
>> it never does.  Also, looking at the IR, it looks like it's trying to
>> tune to the channel twice.  Any ideas much appreciated!
>>
>> plugin.remove('tv.mplayer')
>> plugin.activate('tv.livepause')
>> LIVE_PAUSE2_BUFFER_PATH = "/var/tmp/livepause"
>>
>> TV_VIDEO_GROUPS = [
>> VideoGroup(vdev='0',
>>adev=None,
>>input_type='s-video 1',
>>input_num=1,
>>tuner_type='external',
>>tuner_norm=CONF.tv,
>>tuner_chanlist=CONF.chanlist,
>>group_type='dvb',
>>desc='PVR-350 Video Group'),
>> ]
>>
>> 
> Hi Dan you need to change the group_type to 'ivtv' for it to work, as
> you've got it at the moment it's trying to connect dvbstreamer!
>
> Cheers
>
> Adam
>
>
>   

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] livepause external turner

2010-10-12 Thread Adam Charrett
On Wed, 2010-10-06 at 17:57 -0600, Dan Schmidt wrote:
> Sorry to take so long to respond - sick days are the only time I get to
> work on my Freevo box.
> 
> d...@dan-desktop:/etc/freevo$ cat
> /home/freevo/log/livepause-stdout-112-1286408602.log
> !! 0 Mode set to http
> !! 0 OK
> !! 0 Started filler udp
> !! 0 OK
> !! 0 Started filler udp
> !! 0 OK
> !! 0 Started filler udp
> !! 0 OK
> d...@dan-desktop:/etc/freevo$
> 
> I do get a lot of:
> error: [Errno 111] Connection refused
> 2010-10-06 17:44:31,102 INFO mplayer.py (164): MPLAYER_ARGS not
> defined for 'mpeg', using default
> Traceback (most recent call last):
>   File "/usr/share/pyshared/freevo/tv/plugins/livepause/controllers.py",
> line 161, in stop_filling
> self.manager.disable_output(self.last_device)
>   File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/manager.py",
> line 77, in disable_output
> self.set_mrl(adapter,  'null://')
>   File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/manager.py",
> line 94, in set_mrl
> controller.set_servicefilter_mrl(comms.PRIMARY_SERVICE_FILTER, mrl)
>   File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/comms.py",
> line 113, in set_servicefilter_mrl
> (errcode, errmsg, msg) = self.execute_command('setsfmrl %s %s' %
> (service_filter, mrl), True)
>   File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/comms.py",
> line 67, in execute_command
> ctrlcon.open()
>   File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/comms.py",
> line 256, in open
> self.socket.connect((self.host, self.adapter + 54197))
>   File "", line 1, in connect
> error: [Errno 111] Connection refused
> 
> 
> Sometimes it comes up with a screen that says "Tuning to channel 4" but
> it never does.  Also, looking at the IR, it looks like it's trying to
> tune to the channel twice.  Any ideas much appreciated!
> 
> plugin.remove('tv.mplayer')
> plugin.activate('tv.livepause')
> LIVE_PAUSE2_BUFFER_PATH = "/var/tmp/livepause"
> 
> TV_VIDEO_GROUPS = [
> VideoGroup(vdev='0',
>adev=None,
>input_type='s-video 1',
>input_num=1,
>tuner_type='external',
>tuner_norm=CONF.tv,
>tuner_chanlist=CONF.chanlist,
>group_type='dvb',
>desc='PVR-350 Video Group'),
> ]
> 
Hi Dan you need to change the group_type to 'ivtv' for it to work, as
you've got it at the moment it's trying to connect dvbstreamer!

Cheers

Adam


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] EPG from DVB-S

2010-10-12 Thread Adam Charrett
On Mon, 2010-10-11 at 12:44 +1300, George Hare wrote:
> Are there any plans to provide an alternate to XMLTV for the EPG?
> From what I understand, DVBStreamer decodes the EPG from the DVB
> info.  I am in New Zealand, where the XMLTV backend no longer works.
> I would really like to migrate to Freevo, are there any plans to make
> the EPG on Freevo work the same way?  I guess what I'm asking is, is
> there anyone / Adam out there trying to get a 'DVBStreamer  EPG type'
> plugin to output XMLTV files to make it work??
>  
> Thanks,
>  
> George


Hi George,

DVBStreamer v1.1 should allow you to output an XMLTV file for import
into freevo. DVBStreamer v2 still needs some work to get the EPG capture
working correctly ( there's a new python app to capture and convert the
EPG), I just haven't had time to finish it off recently. 

Cheers

Adam


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users