Re: [Freevo-users] first steps

2011-09-27 Thread Adam Charrett
On Mon, 2011-09-26 at 18:26 -0700, Ross Boylan wrote:
> I've installed freevo 1.8.1-3 on Debian Lenny and am trying to set it up
> with HDHomeRun.  hdhomerun_config seems to work.
> 
> I've customized with
> CONFIG_VERSION = 5.24
> plugin.remove('tv.mplayer')
> plugin.activate('tv.livepause')
> TV_VIDEO_GROUPS = [
> VideoGroup(vdev='103289A9:0',
>group_type='hdhomerun',
>desc='Watching Video Group')]
> TV_CHANNELS = [('5.1 KPIX-DT', 'CBS', '5.1')]
> 
> When I try to start I get
> $ freevo
> You are not part of the group 'freevo', you cannot exploit shared resources 
> (such as the cache). Your data will be saved in /home/ross/.freevo 
> Error: VIDEO_SHOW_DATA_DIR not found
> ROM_DRIVES: Auto-detected and added "('/media/cdrom0', '/dev/hda', 'CD-1')"
> WARNING: PyLirc not found, lirc remote control disabled!
> WARNING: PyLirc not found, lirc remote control disabled!
> failed to load plugin tv.livepause
> start 'freevo plugins -l' to get a list of plugins
> Traceback (most recent call last):
>   File "/usr/share/pyshared/freevo/plugin.py", line 557, in __load_plugin__
> p = eval(object)()
>   File "/usr/share/pyshared/freevo/tv/plugins/livepause/__init__.py", line 
> 148, in __init__
> self.livepause = LivePauseController(path, size, players.get_player())
>   File "/usr/share/pyshared/freevo/tv/plugins/livepause/__init__.py", line 
> 194, in __init__
> self.buffer = ChunkBuffer(path, max_size * (1024*1024))
>   File "/usr/share/pyshared/freevo/tv/plugins/livepause/chunk_buffer.py", 
> line 64, in __init__
> self.buffer = RingBuffer(path, (size / RB_CHUNK_SIZE) * RB_CHUNK_SIZE)
>   File "/usr/share/pyshared/freevo/tv/plugins/livepause/ring_buffer.py", line 
> 55, in __init__
> self.buffer_fd = open(path, 'w+b', 0)
> IOError: [Errno 2] No such file or directory: '/tmp/freevo/livepause'

This is the problem, you don't have appear to have created the
directory /tmp/freevo. 

> Freevo 1.8.1 ready
> ERROR: could not open 
> http://sourceforge.net/export/rss2_projnews.php?group_id=46652
> ERROR: could not open 
> http://sourceforge.net/export/rss2_projfiles.php?group_id=46652
> ERROR: could not open 
> http://sourceforge.net/export/rss2_projsummary.php?group_id=46652
> 
> The last few errors were the result of attempting to get some freevo
> news.
> 
> BTW, an excerpt from hdhomerun_config scan looks like this:
> PROGRAM 1: 9.1 KQED-HD
> PROGRAM 2: 9.2 KQEH-DT
> PROGRAM 3: 9.3 WORLD
> PROGRAM 8: 0 (control)
> PROGRAM 9: 0 (control)
> SCANNING: 56300 (us-bcast:29)
> LOCK: 8vsb (ss=94 snq=71 seq=100)
> TSID: 0x017B
> PROGRAM 1: 5.1 KPIX-DT
> SCANNING: 55700 (us-bcast:28)
> LOCK: 8vsb (ss=78 snq=55 seq=100)
> TSID: 0x0FE5
> 
> Should I be using the TSID in my TV_CHANNELS specification?

Its been a long time since I looked at the hdhomerun utilities, but you
want to use what ever the utilities want as their input.

> Any ideas?  For example, if I want to debug where the Errors are coming
> from, how do I do that?  I know python.
> 
> 
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users



--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo with 2 channels? (HDHomeRun)

2011-09-27 Thread Adam Charrett
On Mon, 2011-09-26 at 17:13 -0700, Ross Boylan wrote:
> I just go a SiliconDust HDHomeRun, and am wondering if freevo will work
> well with it.
> 
> In particular, the box can provide two streams at once.  Is there a way
> to record both?
> 

Unfortunately not (yet...), you could watch 1 and record the other.

> Also, any tips or pointers on getting HDHomeRun and freevo working would
> be great.  I saw some earlier posts from someone trying to set it up,
> but it wasn't clear to me how successful that was.

The livepause plugin _should_ support the hdhomerun, but I don't think
its been tested as well as it could have been due to very few people
that use freevo seeming to have them

> I'm on Debian, running lenny (aka oldstable), which has freevo 1.8.1-3.
> I can get 1.9.0-10.1 from unstable in a pinch, and that's the same
> version in stable aka squeeze.

Definitely go for at least 1.9.0 if not try installing the source version.

> Thanks.
> Ross Boylan
> 
> [Previous post was from a non-subscribed edress and didn't show up.]
> 
> 
> 
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users



--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo with 2 channels? (HDHomeRun)

2011-09-27 Thread John Molohan

On 27/09/2011 01:13, Ross Boylan wrote:

I just go a SiliconDust HDHomeRun, and am wondering if freevo will work
well with it.

In particular, the box can provide two streams at once.  Is there a way
to record both?

Also, any tips or pointers on getting HDHomeRun and freevo working would
be great.  I saw some earlier posts from someone trying to set it up,
but it wasn't clear to me how successful that was.

I'm on Debian, running lenny (aka oldstable), which has freevo 1.8.1-3.
I can get 1.9.0-10.1 from unstable in a pinch, and that's the same
version in stable aka squeeze.

Thanks.
Ross Boylan

[Previous post was from a non-subscribed edress and didn't show up.]


I've mentioned in my reply to your other post that I don't know this 
plugin but does this wiki page help?


   
http://doc.freevo.org/ExternalTunerConfig#head-6cf388ccd64df7c836eef9d669a94fbee89af169


John
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] first steps

2011-09-27 Thread John Molohan
On 27/09/2011 02:26, Ross Boylan wrote:
> I've installed freevo 1.8.1-3 on Debian Lenny and am trying to set it up
> with HDHomeRun.  hdhomerun_config seems to work.
I'm afraid I don't have any experience with the hdhomerun plugin so 
can't help here but that's quite an old release. I'd suggest grabbing 
something more recent, either 1.9.0 or if you're comfortable with it 
check out the Freevo-rel-1.9 branch from SVN. It has a lot of bug fixes 
from 1.9.0 and is heading towards another beta release so should be 
reasonably stable. See http://freevo.sourceforge.net/download/freevo.php 
download details for both.
>
> I've customized with
> CONFIG_VERSION = 5.24
> plugin.remove('tv.mplayer')
> plugin.activate('tv.livepause')
> TV_VIDEO_GROUPS = [
>  VideoGroup(vdev='103289A9:0',
> group_type='hdhomerun',
> desc='Watching Video Group')]
> TV_CHANNELS = [('5.1 KPIX-DT', 'CBS', '5.1')]
>
> When I try to start I get
> $ freevo
> You are not part of the group 'freevo', you cannot exploit shared resources 
> (such as the cache). Your data will be saved in /home/ross/.freevo
> Error: VIDEO_SHOW_DATA_DIR not found
> ROM_DRIVES: Auto-detected and added "('/media/cdrom0', '/dev/hda', 'CD-1')"
> WARNING: PyLirc not found, lirc remote control disabled!
> WARNING: PyLirc not found, lirc remote control disabled!
> failed to load plugin tv.livepause
> start 'freevo plugins -l' to get a list of plugins
> Traceback (most recent call last):
>File "/usr/share/pyshared/freevo/plugin.py", line 557, in __load_plugin__
>  p = eval(object)()
>File "/usr/share/pyshared/freevo/tv/plugins/livepause/__init__.py", line 
> 148, in __init__
>  self.livepause = LivePauseController(path, size, players.get_player())
>File "/usr/share/pyshared/freevo/tv/plugins/livepause/__init__.py", line 
> 194, in __init__
>  self.buffer = ChunkBuffer(path, max_size * (1024*1024))
>File "/usr/share/pyshared/freevo/tv/plugins/livepause/chunk_buffer.py", 
> line 64, in __init__
>  self.buffer = RingBuffer(path, (size / RB_CHUNK_SIZE) * RB_CHUNK_SIZE)
>File "/usr/share/pyshared/freevo/tv/plugins/livepause/ring_buffer.py", 
> line 55, in __init__
>  self.buffer_fd = open(path, 'w+b', 0)
> IOError: [Errno 2] No such file or directory: '/tmp/freevo/livepause'
> Freevo 1.8.1 ready
> ERROR: could not open 
> http://sourceforge.net/export/rss2_projnews.php?group_id=46652
> ERROR: could not open 
> http://sourceforge.net/export/rss2_projfiles.php?group_id=46652
> ERROR: could not open 
> http://sourceforge.net/export/rss2_projsummary.php?group_id=46652
>
> The last few errors were the result of attempting to get some freevo
> news.
>
> BTW, an excerpt from hdhomerun_config scan looks like this:
> PROGRAM 1: 9.1 KQED-HD
> PROGRAM 2: 9.2 KQEH-DT
> PROGRAM 3: 9.3 WORLD
> PROGRAM 8: 0 (control)
> PROGRAM 9: 0 (control)
> SCANNING: 56300 (us-bcast:29)
> LOCK: 8vsb (ss=94 snq=71 seq=100)
> TSID: 0x017B
> PROGRAM 1: 5.1 KPIX-DT
> SCANNING: 55700 (us-bcast:28)
> LOCK: 8vsb (ss=78 snq=55 seq=100)
> TSID: 0x0FE5
>
> Should I be using the TSID in my TV_CHANNELS specification?
>
> Any ideas?  For example, if I want to debug where the Errors are coming
> from, how do I do that?  I know python.
>
Check out the troubleshooting page, it should get you going in the right 
direction, http://doc.freevo.org/TroubleShooting. You might also find 
the developers checking the devel list a bit more often so if it's a bug 
or patch you might be better off using that list.

John

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] How should Freevo 2.0 look like?

2011-09-27 Thread Andreas Dick
> You wouldn't need detailed knowledge of Freevo's code. Just enough
> python to parse and write the config file, maybe split it into 
> multiple
> smaller configs each focusing on one area for e.g. TV config, audio,
> games etc. I'm sure the other developers would have some pointers on 
> how
> best to approach this.

 please do not mix machine writable and user editable config files... I 
 propose:
 - a keyword in the today local config file when a parameter is 
 changable by the web server, maybe a selection list or a numeric 
 range...
 - a new config file that is only readable/writable by the web server 
 and usually not edited by the user
 - only if a parameter is marked as "controlled by webserver", it is 
 loaded from that file, then

 Andreas

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users