On Tue, January 19, 2010 12:14 am, Bryan Olmstead wrote:
>
> i'm working through setting up the svn 1.x and have become stuck at being
> able
> to record.  i'll try to explain it, give some information and post some
> info
> from the local_conf.py, but i've tried so many different things, it might
> just
> be better to assume nothing's been tried.  <g>
>
> i'm using a hdhomerun with the latest firmware, and i can watch tv fine
> (it's
> just over-the-air).  the recording can even schedule without a problem, be
> it
> via the guide, or manual.  but, when the recording starts, nothing is
> produced
> and the recording server generates an error:
>
> [snip]
> Record_Thread::run: started recording
> 2010-01-18 10:43:45,504 DEBUG    channels.py (110):
> getVideoGroup(chan='43.3',
> isplayer=False, chan_index=2)
> 2010-01-18 10:43:45,505 DEBUG    manager.py (84): Selecting channel 43.3
> on
> adapter 1018F7DC:1
> 2010-01-18 10:43:45,506 INFO     recordserver.py (1018): RECORD_START Mon
> Jan
> 18 10:44->10:45 (16:00)  I20292.labs.zap2it.com test01
> 2010-01-18 10:43:45,530 DEBUG    fxdimdb.py (927): fetch_image=[]
> Exception in
> thread Thread-1:Traceback (most recent call last):
>    File "/usr/lib64/python2.6/threading.py", line 525, in
> __bootstrap_inner
>      self.run()
>    File
> "/usr/lib64/python2.6/site-packages/freevo/tv/plugins/dvbstreamer/record.py",
> line 169, in run
>      self.manager.select(adapter, prog.tunerid)
>    File
> "/usr/lib64/python2.6/site-packages/freevo/tv/plugins/dvbstreamer/manager.py",
> line 86, in select
>      controller.set_current_service(channel)
>    File
> "/usr/lib64/python2.6/site-packages/freevo/tv/plugins/dvbstreamer/comms.py",
> line 88, in set_current_service
>      (errcode, errmsg, msg) = self.execute_command('select ' + service,
> True)
>    File
> "/usr/lib64/python2.6/site-packages/freevo/tv/plugins/dvbstreamer/comms.py",
> line 67, in execute_command
>      ctrlcon.open()
>    File
> "/usr/lib64/python2.6/site-packages/freevo/tv/plugins/dvbstreamer/comms.py",
> line 256, in open
>      self.socket.connect((self.host, self.adapter + 54197))
>    File "<string>", line 1, in connect gaierror: [Errno -2] Name or
> service not known
>
> 2010-01-18 10:44:45,000 INFO     recordserver.py (902):
> currently_recording=Mon Jan 18 10:44->10:45 (16:00)
> I20292.labs.zap2it.com test01
> 2010-01-18 10:45:44,999 INFO     recordserver.py (902):
> currently_recording=Mon Jan 18 10:44->10:45 (16:00)
> I20292.labs.zap2it.com test01
> 2010-01-18 10:45:44,999 INFO     recordserver.py (970): found a program to
> clean: Mon Jan 18 10:44->10:45 (16:00)  I20292.labs.zap2it.com test01
> [snip]
>
> i have dvbstreamer 1.2 and livepause 1.0 installed.  dvbstreamer may be
> the
> problem(?) as it won't run from the command line.  it just segfaults and
> the log says it wants an adapter.  but, of course, the hdhomerun doesn't
> have anything in /dev/dvb/adapter0...  i've been scratching my head on
> this one and can't find anything anywhere.

For HDHomeRun you don't need dvbstreamer (the app) as they both do the
same thing ie convert the TV signal to network packets. dvbstreamer is
only required when you have a DVB/ATSC card attached to the computer.


> here is the livepause configuration info:
>
>    plugin.remove('tv.mplayer')
>    plugin.activate('tv.livepause')
>
>    # size and location of the livepause buffer (see docs for ram)
>    LIVE_PAUSE2_BUFFER_SIZE= 2048
>    LIVE_PAUSE2_BUFFER_PATH= '/bfd/freevo/tmp/live.buf'
>    LIVE_PAUSE2_PREFERRED_PLAYER = 'mplayer'
>
>
> and the video group:
>
> # 169.254.1.71 id 1018F7DC (or FFFFFFFF works)
> TV_VIDEO_GROUPS = [
>       # Use this group for watching tv
>       VideoGroup(vdev='1018F7DC:0',
>                  group_type='hdhomerun',
>                  desc='Watching Video Group 1',
>                  record_group=1,),
>       VideoGroup(vdev='1018F7DC:1',
>                  group_type='hdhomerun',
>                  desc='Watching Video Group 2',
>                  record_group=2),
> ]

This as you said is fine and works.

> and the record config section:
>
>    # tag:  hdhomerun
>    plugin.remove('tv.generic_record')
>    plugin_record = plugin.activate('tv.dvbstreamer.record')
>    ATV_RECORDFILE_SUFFIX = '.ts'

This bit is wrong, you don't want to be using the tv.dvbstreamer.record
plugin, you probably need to use the tv.generic_record plugin with a home
grown script to change the channel on the HDHomeRun and capture the UDP
packets to disk, perhaps using netcat might be the way to go here.
I've not used the generic_record plugin so I don't know what you will need
here, perhaps the wiki might have some more info on writing the script
(?!).

<snip>

> i'm sure i've left out some information so please let me know if you would
> like
> anything else, or i can just post the whole config file if that would make
> it
> any easier.
>
> a big thanks in advance for the help...
>
> -bryan

Hope this helps and when you get it working any chance you could add a few
words to the wiki to help any one else in the future?

Cheers

Adam





------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to