Re: [Freevo-users] XMLTV & DVBStreamer issue

2009-06-09 Thread Bernard Mentink
Hi Jonathan,

I tried the same TV_CHANNELS format as you ... still no joy.
Yes, I definitely have XMLTV_FILE pointing to my TV.xml.

I am at a loss as to what is wrong. I will show you some of the contents of
my TV.xml to see if there is any thing amiss ... it follows: Thanks.




Maori TV


STRATOS


Parliament TV


CUE


Te Reo


TV3


C4


TV3 PLUS1


Maori TV


TV ONE


TV2


TVNZ 7


TVNZ 6


TV ONE


TV ONE


TV ONE


TS 22 IEPG DATA SERVICE


078c


RNZ National


RNZ Concert


078b


GeorgeFM


BaseFM


History Channel


Language: Toku Reo
Maori language for the new millennium. Toku Reo teaches te
reo to absolute beginners - in the comfort of their own homes. Designed by
Professor John Moorfield, and featuring an interactive website to reinforce
learning.


Children: Korero Ki Nga Kararehe
Animated show for pre-schoolers which looks at different
species of the animal kingdom. (Maori language)


Children: Pukoro
A new series of this fun and educational show for tamariki
featuring songs, stories and a magic pocket full of surprises. (Maori
language)


Children: Rolie Polie Olie
Rolie Polie Olie follows the adventures of a vibrant young
robot-boy named Olie who lives in the sphere-shaped world of Polieville.
(Maori language)


etc etc

On Wed, Jun 10, 2009 at 1:40 PM, Jonathan Isom  wrote:

> 2009/6/9 Bernard Mentink :
> > Thanks, that helps a lot.
> >
> > I ran the script at that link (and after adjusting the delays) got a new
> > TV.xml file
> > that looks a lot better.
> >
> > I ran "freevo tv_grab --query" over it and it produced a better looking
> > channels.conf, it looks like this now:
> >
>
> Make sure that XMLTV_FILE points to your xmltv file.
>
> XMLTV_FILE = '/Path/To/TV.xml'
>
> Also Not sure if nessesary however my TV_CHANNELS
> more looks like this.
>
>  TV_CHANNELS = [
>( '002f.0015.0790', 'BaseFM', '002f.0015.0790' ),
>   ...
>
>  I believe it is ('xmltv data' ,  'Display Name'  , 'Tuner')
>
> However not sure why it doesn't display now.
>
> Later
>
> Jonathan
>
>
> --
>
> ASUS m3a78 mothorboard
> AMD Athlon64 X2 Dual Core Processor 6000+ 3.1Ghz
> 4 Gigabytes of memory
> Gigabyte NVidia 9400gt  Graphics adapter
> Kworld ATSC 110 TV Capture Card
> Kworld ATSC 115 TV Capture Card
>
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] XMLTV & DVBStreamer issue

2009-06-09 Thread Jonathan Isom
2009/6/9 Bernard Mentink :
> Thanks, that helps a lot.
>
> I ran the script at that link (and after adjusting the delays) got a new
> TV.xml file
> that looks a lot better.
>
> I ran "freevo tv_grab --query" over it and it produced a better looking
> channels.conf, it looks like this now:
>

Make sure that XMLTV_FILE points to your xmltv file.

XMLTV_FILE = '/Path/To/TV.xml'

Also Not sure if nessesary however my TV_CHANNELS
more looks like this.

 TV_CHANNELS = [
   ( '002f.0015.0790', 'BaseFM', '002f.0015.0790' ),
   ...

 I believe it is ('xmltv data' ,  'Display Name'  , 'Tuner')

However not sure why it doesn't display now.

Later

Jonathan


-- 

ASUS m3a78 mothorboard
AMD Athlon64 X2 Dual Core Processor 6000+ 3.1Ghz
4 Gigabytes of memory
Gigabyte NVidia 9400gt  Graphics adapter
Kworld ATSC 110 TV Capture Card
Kworld ATSC 115 TV Capture Card

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] XMLTV & DVBStreamer issue

2009-06-09 Thread Bernard Mentink
Thanks, that helps a lot.

I ran the script at that link (and after adjusting the delays) got a new
TV.xml file
that looks a lot better.

I ran "freevo tv_grab --query" over it and it produced a better looking
channels.conf, it looks like this now:

TV_CHANNELS = [
( '002f.0015.0790', 'BaseFM', '0' ),
( '002f.0015.0781', 'C4', '0' ),
( '002f.0015.0784', 'CUE', '0' ),
( '002f.0015.078f', 'GeorgeFM', '0' ),
( '002f.0016.0401', 'Maori TV', '0' ),
( '002f.0015.0783', 'Parliament TV', '0' ),
( '002f.0015.078a', 'RNZ Concert', '0' ),
( '002f.0015.0789', 'RNZ National', '0' ),
( '002f.0015.0782', 'STRATOS', '0' ),
( '002f.0016.040b', 'TV ONE', '0' ),
( '002f.0016.040c', 'TV2', '0' ),
( '002f.0015.0780', 'TV3', '0' ),
( '002f.0015.0786', 'TV3 PLUS1', '0' ),
( '002f.0016.0770', 'TVNZ 6', '0' ),
( '002f.0016.040e', 'TVNZ 7', '0' ),
( '002f.0015.0785', 'Te Reo', '0' ) ]

I changed my local_conf.py to reflect this and deleted the old *.pickled
file in cache.

However I still don't have any guide data  ... any other suggestions?

Thanks.


On Wed, Jun 10, 2009 at 11:58 AM, Jonathan Isom  wrote:

> 2009/6/9 Bernard Mentink :
> > Hi All,
> >
> > I finally have Freevo 1.9.0 installed and running from SVN. I am now at
> the
> > point of trying to get TV working.
> >
> > I have a working DVBStreamer as I have piped it into VLC and it plays
> fine,
> > and I can change the channels by giving
> > the command "select TV1" etc to DVBStreamer fine .. so my channels.conf
> file
> > is fine.
> >
> > My problem is in Freevo. comming from New Zealand there is not a good way
> to
> > get an XMLTV guide. However I did come across the source to tv_grap_dvb
> > which grabs the guide data in XML format from the currently tuned
> > transponder .. this seems to work fine, and example of the output is:
> >
> > 
> > 
> > 
> >
> >  > stop="2009061606 +1200">
> > Closedown
> > 
> >  > stop="2009061007 +1200">
> > The Short Black with Murray Sweetpants
> > That guy from the breakfast show plays some
> > tunesbefore he starts working. Weird
> >   etc
> >
> > So the entries I placed in TV_CHANNELS in local_conf.py are:
> > TV_CHANNELS = [('1909.dvb.guide', 'TV ONE',  'TV ONE'),
> >('1036.dvb.guide', 'TV2', 'TV2'),
> >('1038.dvb.guide', 'TVNZ 7',  'TVNZ 7'),
> >('1904.dvb.guide', 'TVNZ 6',  'TVNZ 6'),
> >('1025.dvb.guide', 'Maori TV','Maori TV'),
> >('1922.dvb.guide', 'STRATOS', 'STRATOS'),
> >('1923.dvb.guide', 'Parliament TV',   'Parliament TV'),
> >('1925.dvb.guide', 'Te Reo',  'Te Reo'),
> >('1920.dvb.guide', 'TV3', 'TV3'),
> >('1921.dvb.guide', 'C4',  'C4'),
> >('1926.dvb.guide', 'TV3 PLUS1',   'TV3 PLUS1'),
> >('1924.dvb.guide', 'CUE', 'CUE')]
> >
> > Is this correct, the 1st column is the guide data name, the second the
> > screen name and the 3rd the name in channels.conf?
> Hi
>   why not use dvbstreamer for getting data? The link below has
> a script to do this . also I would suggest
> you use "dvbctrl lsservices -- -id" and use the code before the ":"
> it shouldn't change where as th other can.
>
>  dvbctrl lsservices -- -id
> 00bd.0435.0003 : 12-1 WILL-HD
> 00bd.0435.0004 : 12-2 WILLSD1
> 00bd.0435.0005 : 12-3 WILLSD2
>
> Link <
> http://apps.sourceforge.net/mediawiki/dvbstreamer/index.php?title=FAQ>
>
> > For reference my channels.conf is:
> >
> > Maori TV:12483:h:S160.0E:22500:514:652:0:0
> > TV ONE:12483:h:S160.0E:22500:515:653:579:0
> > TV2:12483:h:S160.0E:22500:516:654:580:0
> > TVNZ 7:12483:h:S160.0E:22500:518:656:582:0
> > TVNZ SPORT:12483:h:S160.0E:22500:520:658:0:0
> > TVNZ 6:12483:h:S160.0E:22500:512:650:581:0
> > STRATOS:12456:h:0:22500:514:652:1922
> > Parliament TV:12456:h:0:22500:515:653:1923
> > CUE:12456:h:0:22500:516:654:1924
> > Te Reo:12456:h:0:22500:517:655:1925
> > TV3:12456:h:0:22500:512:650:1920
> > C4:12456:h:0:22500:513:651:1921
> > TV3 PLUS1:12456:h:0:22500:518:656:1926
> >
> > However when I run Freevo and try to look at the guide, all I see is the
> > display name and no data available for the
> > other fields.
> >
> > I tried to run the command "freevo tv_grab --query" but all I get is:
> > TV_CHANNELS = [
> > Traceback (most recent call last):
> >   File
> >
> "/home/bmentink/freevo/lib/python2.6/site-packages/freevo/helpers/tv_grab.py",
> > line 108, in 
> > print '( \'%s\', \'%s\', \'%s\' ) ] ' % chanlist[-1]
> > IndexError: list index out of range
> >
> > It doesn't seem to like my TV.xml file.
> >
> > Anyone have any help on this one?
> >
> > Thanks,
> > Bernie
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> --
> > Crystal Reports - New Free Runtime an

Re: [Freevo-users] XMLTV & DVBStreamer issue

2009-06-09 Thread Jonathan Isom
2009/6/9 Bernard Mentink :
> Hi All,
>
> I finally have Freevo 1.9.0 installed and running from SVN. I am now at the
> point of trying to get TV working.
>
> I have a working DVBStreamer as I have piped it into VLC and it plays fine,
> and I can change the channels by giving
> the command "select TV1" etc to DVBStreamer fine .. so my channels.conf file
> is fine.
>
> My problem is in Freevo. comming from New Zealand there is not a good way to
> get an XMLTV guide. However I did come across the source to tv_grap_dvb
> which grabs the guide data in XML format from the currently tuned
> transponder .. this seems to work fine, and example of the output is:
>
> 
> 
> 
>
>  stop="2009061606 +1200">
>     Closedown
> 
>  stop="2009061007 +1200">
>     The Short Black with Murray Sweetpants
>     That guy from the breakfast show plays some
> tunesbefore he starts working. Weird
>   etc
>
> So the entries I placed in TV_CHANNELS in local_conf.py are:
> TV_CHANNELS = [('1909.dvb.guide', 'TV ONE',  'TV ONE'),
>    ('1036.dvb.guide', 'TV2', 'TV2'),
>    ('1038.dvb.guide', 'TVNZ 7',  'TVNZ 7'),
>    ('1904.dvb.guide', 'TVNZ 6',  'TVNZ 6'),
>    ('1025.dvb.guide', 'Maori TV',    'Maori TV'),
>    ('1922.dvb.guide', 'STRATOS', 'STRATOS'),
>    ('1923.dvb.guide', 'Parliament TV',   'Parliament TV'),
>    ('1925.dvb.guide', 'Te Reo',  'Te Reo'),
>    ('1920.dvb.guide', 'TV3', 'TV3'),
>    ('1921.dvb.guide', 'C4',  'C4'),
>    ('1926.dvb.guide', 'TV3 PLUS1',   'TV3 PLUS1'),
>    ('1924.dvb.guide', 'CUE', 'CUE')]
>
> Is this correct, the 1st column is the guide data name, the second the
> screen name and the 3rd the name in channels.conf?
Hi
   why not use dvbstreamer for getting data? The link below has
a script to do this . also I would suggest
you use "dvbctrl lsservices -- -id" and use the code before the ":"
it shouldn't change where as th other can.

  dvbctrl lsservices -- -id
00bd.0435.0003 : 12-1 WILL-HD
00bd.0435.0004 : 12-2 WILLSD1
00bd.0435.0005 : 12-3 WILLSD2

Link 

> For reference my channels.conf is:
>
> Maori TV:12483:h:S160.0E:22500:514:652:0:0
> TV ONE:12483:h:S160.0E:22500:515:653:579:0
> TV2:12483:h:S160.0E:22500:516:654:580:0
> TVNZ 7:12483:h:S160.0E:22500:518:656:582:0
> TVNZ SPORT:12483:h:S160.0E:22500:520:658:0:0
> TVNZ 6:12483:h:S160.0E:22500:512:650:581:0
> STRATOS:12456:h:0:22500:514:652:1922
> Parliament TV:12456:h:0:22500:515:653:1923
> CUE:12456:h:0:22500:516:654:1924
> Te Reo:12456:h:0:22500:517:655:1925
> TV3:12456:h:0:22500:512:650:1920
> C4:12456:h:0:22500:513:651:1921
> TV3 PLUS1:12456:h:0:22500:518:656:1926
>
> However when I run Freevo and try to look at the guide, all I see is the
> display name and no data available for the
> other fields.
>
> I tried to run the command "freevo tv_grab --query" but all I get is:
> TV_CHANNELS = [
> Traceback (most recent call last):
>   File
> "/home/bmentink/freevo/lib/python2.6/site-packages/freevo/helpers/tv_grab.py",
> line 108, in 
>     print '    ( \'%s\', \'%s\', \'%s\' ) ] ' % chanlist[-1]
> IndexError: list index out of range
>
> It doesn't seem to like my TV.xml file.
>
> Anyone have any help on this one?
>
> Thanks,
> Bernie
>
>
>
>
>
>
>
>
>
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>



-- 

ASUS m3a78 mothorboard
AMD Athlon64 X2 Dual Core Processor 6000+ 3.1Ghz
4 Gigabytes of memory
Gigabyte NVidia 9400gt  Graphics adapter
Kworld ATSC 110 TV Capture Card
Kworld ATSC 115 TV Capture Card

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] XMLTV & DVBStreamer issue

2009-06-09 Thread Bernard Mentink
Hi All,

I finally have Freevo 1.9.0 installed and running from SVN. I am now at the
point of trying to get TV working.

I have a working DVBStreamer as I have piped it into VLC and it plays fine,
and I can change the channels by giving
the command "select TV1" etc to DVBStreamer fine .. so my channels.conf file
is fine.

My problem is in Freevo. comming from New Zealand there is not a good way to
get an XMLTV guide. However I did come across the source to tv_grap_dvb
which grabs the guide data in XML format from the currently tuned
transponder .. this seems to work fine, and example of the output is:






Closedown


The Short Black with Murray Sweetpants
That guy from the breakfast show plays some
tunesbefore he starts working. Weird
  etc

So the entries I placed in TV_CHANNELS in local_conf.py are:
TV_CHANNELS = [('1909.dvb.guide', 'TV ONE',  'TV ONE'),
   ('1036.dvb.guide', 'TV2', 'TV2'),
   ('1038.dvb.guide', 'TVNZ 7',  'TVNZ 7'),
   ('1904.dvb.guide', 'TVNZ 6',  'TVNZ 6'),
   ('1025.dvb.guide', 'Maori TV','Maori TV'),
   ('1922.dvb.guide', 'STRATOS', 'STRATOS'),
   ('1923.dvb.guide', 'Parliament TV',   'Parliament TV'),
   ('1925.dvb.guide', 'Te Reo',  'Te Reo'),
   ('1920.dvb.guide', 'TV3', 'TV3'),
   ('1921.dvb.guide', 'C4',  'C4'),
   ('1926.dvb.guide', 'TV3 PLUS1',   'TV3 PLUS1'),
   ('1924.dvb.guide', 'CUE', 'CUE')]

Is this correct, the 1st column is the guide data name, the second the
screen name and the 3rd the name in channels.conf?

For reference my channels.conf is:

Maori TV:12483:h:S160.0E:22500:514:652:0:0
TV ONE:12483:h:S160.0E:22500:515:653:579:0
TV2:12483:h:S160.0E:22500:516:654:580:0
TVNZ 7:12483:h:S160.0E:22500:518:656:582:0
TVNZ SPORT:12483:h:S160.0E:22500:520:658:0:0
TVNZ 6:12483:h:S160.0E:22500:512:650:581:0
STRATOS:12456:h:0:22500:514:652:1922
Parliament TV:12456:h:0:22500:515:653:1923
CUE:12456:h:0:22500:516:654:1924
Te Reo:12456:h:0:22500:517:655:1925
TV3:12456:h:0:22500:512:650:1920
C4:12456:h:0:22500:513:651:1921
TV3 PLUS1:12456:h:0:22500:518:656:1926

However when I run Freevo and try to look at the guide, all I see is the
display name and no data available for the
other fields.

I tried to run the command "freevo tv_grab --query" but all I get is:
TV_CHANNELS = [
Traceback (most recent call last):
  File
"/home/bmentink/freevo/lib/python2.6/site-packages/freevo/helpers/tv_grab.py",
line 108, in 
print '( \'%s\', \'%s\', \'%s\' ) ] ' % chanlist[-1]
IndexError: list index out of range

It doesn't seem to like my TV.xml file.

Anyone have any help on this one?

Thanks,
Bernie
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo 1.9.0 run error .. help please

2009-06-09 Thread Bernard Mentink
Thanks for that Duncan,

I did find the problem though, I had a typo in the line:
export PYTHONPATH=~/freevo/lib/python2.6/site-packages

I had missed the 's' of the site-packages  my bad :-(

Cheers,
Bernie

2009/6/10 Duncan Webb 

> Jason Tackaberry wrote:
> > On Tue, 2009-06-09 at 09:06 +1200, Bernard Mentink wrote:
> >> Hmmm, well that is not my user experience.
> > [...]
> >>   File "/usr/local/bin/freevo", line 218, in get_python
> >> child.fromchild.close()
> >> AttributeError: 'Popen' object has no attribute 'fromchild'
> >
> > Ah, ok, but this has nothing to with the fact that the popen2 module is
> > deprecated.  Just for the record. :)
> >
> >>From what I can see, the code just looks broken.  Duncan,
> > subprocess.Popen is not API compatible with popen2.Popen3, and it looks
> > like maybe the code is assuming that.  Specifically, subprocess.Popen
> > objects use stdout/stderr and stdin attributes rather than fromchild and
> > tochild.
> >
> > Am I missing something?  If not, this code path must not be very well
> > travelled?  Is there something Bernard can do to workaround?
>
>
> What it means is that freevo has not found the version of Python that is
> installed, it is looking for python, python2 and incorrectly for
> python2.4. So the simple workaround is to link python (or python2) to
> the installed version.
>
> ln -svf python2.5 /usr/bin/python
>
> Attached is a patch that should fix this problem and correct the version
> checking of python.
>
> Duncan
>
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] stream freevo output to a streaming client

2009-06-09 Thread Evan Hisey
On Tue, Jun 9, 2009 at 1:50 PM, Mario Kless wrote:
> Hi,
>
> has anybody an idea how to stream the freevo output (freevo screens +
> mplayer output) from the freevo server to a streaming client? I'd like
> to have a solution where I've got a central media server with clients in
> every room. Control could be done via web interface.
>
> Any thoughts if this is possible?
>
> Bye
> Mario
>
Short Answers:
Freevo 1.9, no

Freevo 2.0, yes

Longer answer:

One of the design differences, is that freevo 2 will have a TV
"server" backend, or at least that was in the plans last time I looked
it over. For freevo 1.9 the closet thing you really have is using a
VLC. Freevo does know how to stream to VLC, but TV takes a bit of
setup. If you just want to control Freevo from the clients then the
Web remote might do what you want.

Evan

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo 1.9.0 run error .. help please

2009-06-09 Thread Duncan Webb
Jason Tackaberry wrote:
> On Tue, 2009-06-09 at 09:06 +1200, Bernard Mentink wrote:
>> Hmmm, well that is not my user experience.
> [...]
>>   File "/usr/local/bin/freevo", line 218, in get_python
>> child.fromchild.close()
>> AttributeError: 'Popen' object has no attribute 'fromchild'
> 
> Ah, ok, but this has nothing to with the fact that the popen2 module is
> deprecated.  Just for the record. :)
> 
>>From what I can see, the code just looks broken.  Duncan,
> subprocess.Popen is not API compatible with popen2.Popen3, and it looks
> like maybe the code is assuming that.  Specifically, subprocess.Popen
> objects use stdout/stderr and stdin attributes rather than fromchild and
> tochild.
> 
> Am I missing something?  If not, this code path must not be very well
> travelled?  Is there something Bernard can do to workaround?


What it means is that freevo has not found the version of Python that is
installed, it is looking for python, python2 and incorrectly for
python2.4. So the simple workaround is to link python (or python2) to
the installed version.

ln -svf python2.5 /usr/bin/python

Attached is a patch that should fix this problem and correct the version
checking of python.

Duncan
Index: freevo
===
--- freevo	(revision 11582)
+++ freevo	(working copy)
@@ -34,6 +34,7 @@
 import sys
 import time
 import pprint
+import re
 
 from subprocess import Popen, PIPE
 from optparse import Option, BadOptionError, OptionValueError, OptionParser, IndentedHelpFormatter
@@ -178,15 +179,15 @@
 get the newest version of python [ with freevo installed ]
 """
 _debug_('version=%r' % (sys.version))
-if sys.hexversion >= 0x0204:
+if sys.hexversion >= 0x0206:
 # python seems to be ok
-search = ('python', 'python2')
-elif sys.hexversion >= 0x0203:
-# try python2.4, else take python
-search = ('python2.4', 'python')
+search = ('python', 'python2.6', 'python2')
+elif sys.hexversion >= 0x0205:
+# try python2.5, else take python
+search = ('python2.5', 'python')
 else:
-# python is too old, try to find python2.4 or python2
-search = ('python2.4', 'python2')
+# python is too old, try to find python2.5 or python2
+search = ('python2.5', 'python2')
 
 for python in search:
 for path in os.environ['PATH'].split(':'):
@@ -215,10 +216,8 @@
 return python, data[:-1]
 
 child.wait()
-child.fromchild.close()
-if child.childerr:
-child.childerr.close()
-child.tochild.close()
+child.stdout.close()
+child.stdin.close()
 
 # nothing found? That's bad!
 if check_freevo:
@@ -364,8 +363,6 @@
 revision = 0
 if os.path.isdir('.svn'):
 try:
-from subprocess import Popen, PIPE
-import re
 os.environ['LC_ALL']='C'
 p = Popen(["svn", "info", "--revision=BASE"], stdout=PIPE, env=os.environ)
 info = p.communicate()[0]
@@ -475,7 +472,7 @@
 #
 # no runtime, get best python version
 #
-python = get_python(0)
+python = get_python(False)
 if not python:
 sys.exit("Can't find python >= 2.5")
 python = [ python ]
@@ -488,7 +485,7 @@
 for path in os.environ['PATH'].split(':'):
 if os.path.isfile(os.path.join(path, freevo_script)):
 freevo_script = os.path.join(path, freevo_script)
-python, freevo_python = get_python(1)
+python, freevo_python = get_python(True)
 if not python:
 sys.exit("Can't find python version with installed freevo")
 
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] stream freevo output to a streaming client

2009-06-09 Thread Mario Kless
Hi,

has anybody an idea how to stream the freevo output (freevo screens + 
mplayer output) from the freevo server to a streaming client? I'd like 
to have a solution where I've got a central media server with clients in 
every room. Control could be done via web interface.

Any thoughts if this is possible?

Bye
Mario

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Configuring HD PVR with Freevo 1.90

2009-06-09 Thread Evan Hisey
On Tue, Jun 9, 2009 at 9:25 AM, Phil Raymond wrote:
>
> Maybe I'm not looking at the right output, but the only error message I can 
> post, is the same one I posted before, but I included what follows, which 
> proves Freevo thinks it has stopped the recording, when it hasn't. here is 
> the most recent one
>
> 2009-06-08 21:40:02,278 WARNING  recordserver.py (1043): 
> event=OS_EVENT_POPEN2 arg=(, 
> 'cat /dev/video1 -c') not handled
> 2009-06-08 21:40:45,002 INFO     recordserver.py (970): found a program to 
> clean: Mon Jun 08 21:37->21:40 (18:00)    N Fox News
> 2009-06-08 21:41:31,262 INFO     recordserver.py (1490): main() finished
>
> Let me know what you think is going on and how to correct it.
>
Simply put, based on the error message, your VCR_POST command is not
working. I really think you need to reread
http://doc.freevo.org/AnalogueTvTypes. The order of events I would
recommend is first figure out what mencoder options need to be used to
record from the command line. Then put these options in the VCR_CMD.
Use the VCR_PRE and VCR_POST to mute and enable sound if needed.
Freevo understands how to start and stop mencoder.

Evan

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Configuring HD PVR with Freevo 1.90

2009-06-09 Thread Phil Raymond

Maybe I'm not looking at the right output, but the only error message I can 
post, is the same one I posted before, but I included what follows, which 
proves Freevo thinks it has stopped the recording, when it hasn't. here is the 
most recent one

2009-06-08 21:40:02,278 WARNING  recordserver.py (1043): event=OS_EVENT_POPEN2 
arg=(, 'cat /dev/video1 -c') 
not handled
2009-06-08 21:40:45,002 INFO recordserver.py (970): found a program to 
clean: Mon Jun 08 21:37->21:40 (18:00)N Fox News
2009-06-08 21:41:31,262 INFO recordserver.py (1490): main() finished

Let me know what you think is going on and how to correct it.

--- On Mon, 6/8/09, Stephen Rowles  wrote:

> From: Stephen Rowles 
> Subject: Re: [Freevo-users] Configuring HD PVR with Freevo 1.90
> To: freevo-users@lists.sourceforge.net
> Date: Monday, June 8, 2009, 1:49 PM
> Phil Raymond wrote:
> > Thanks Stephan, that's what I needed. Now I need help
> with stopping a recording. I read the wiki and used the
> command VCR_POST_REC = ('cat /dev/video1 -c')to stop
> recordings. When Freevo reaches a stop time, the lighted tv
> screen in the corner of the Freevo window goes out, but the
> HDPVR is still lit blue and is in fact, still recording. The
> only way I can stop recording is to pull the usb plug from
> my computer. Is there an alternate command I can use that
> might work to stop a recording? At least it now starts
> recording, so again, thank you.Here's my local conf as it is
> now
> >
> > CONFIG_VERSION = 5.27 
> > TV_RECORD_DIR = '/home/tvphil/Videos'
> > TV_CHANNELS = ('Comcast','Comcast','NA3')
> > VCR_CMD = 'cat /dev/video1> %(filename)s'
> > VCR_POST_REC = ('cat /dev/video1 -c')
> > TV_DEVICE = '/dev/video1'
> > TV_INPUT = 1
> > TV_REC_SIZE = (1920, 1080)
> > TV_RECORD_FILE_SUFFIX = '.mpg'
> > CHILDAPP_DEBUG = 1
> >
> > Here's the warning I get in the terminal when it
> attempts to stop a recording
> > WARNING: event=OS_EVENT_POPEN2
> arg=( 0x276f248>, 'cat /dev/video1 -c') not handled
> >
> >   
> I am confused... when running from the command line how do
> you normally 
> stop the recording? pressing ctrl+c? killing the background
> process?
> 
> If I understand Freevo correctly all it will do is start
> the command you 
> put in VCR_CMD at the appropriate time, and when the time
> comes kill the 
> process that it started. You shouldn't have to do anything
> to make it stop.
> 
> I would recommend switching DEBUG on in your config and
> then posting the 
> output here to see what is going wrong.
> 
> you can enable debug with:
> 
> DEBUG = 5
> DEBUG_CHILDAPP = 1
> 
> in your local_conf.py
> 
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited
> royalty-free distribution of the report engine for
> externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
> 


  

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users