Re: [Freevo-users] Trying to load mplayervis

2009-05-27 Thread Duncan Webb
Jim Duda wrote:
 Duncan Webb wrote:
 
 When you upgraded, did you remove the build directory and the
 site-packages/freevo.
 
 I believe I had deleted both of those directories.
 
 I saw the 1.9.0 release notice and just used that one.
 
 Now I just get this:
 
 Traceback (most recent call last):
   File /usr/lib/python2.5/site-packages/freevo/plugins/idlebar/weather.py, 
 line 74, in run
 pr = rp.ParseReport(rep)
   File /usr/lib/python2.5/site-packages/freevo/util/pymetar.py, line 837, 
 in ParseReport
 self.Report.tempf=int(f)
 ValueError: invalid literal for int() with base 10: '53.1'
 ERROR: invalid literal for int() with base 10: '53.1'

Interesting so it look like the data has changed as the code has not
changed for ages.

Index: src/util/pymetar.py
===
--- src/util/pymetar.py (revision 11576)
+++ src/util/pymetar.py (working copy)
@@ -834,7 +834,7 @@

 elif (header == Temperature):
 f,i,c,i=data.split(None,3)
-self.Report.tempf=int(f)
+self.Report.tempf=int(float(f))
 # The string we have split is (NN C), hence the slice
 self.Report.temp=int(c[1:])

 I appear to be up and running okay with 1.9.0
 
 Thanks for all your great work Duncan !!

Pleasure

Duncan

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Trying to load mplayervis

2009-05-27 Thread Jim Duda
Duncan Webb wrote:

 Interesting so it look like the data has changed as the code has not
 changed for ages.
 
 Index: src/util/pymetar.py
 ===
 --- src/util/pymetar.py (revision 11576)
 +++ src/util/pymetar.py (working copy)
 @@ -834,7 +834,7 @@
 
  elif (header == Temperature):
  f,i,c,i=data.split(None,3)
 -self.Report.tempf=int(f)
 +self.Report.tempf=int(float(f))
  # The string we have split is (NN C), hence the slice
  self.Report.temp=int(c[1:])
 

I think we're just peeling the onion here ...

Now I get:get:

Traceback (most recent call last):
  File /usr/lib/python2.5/site-packages/freevo/plugins/idlebar/weather.py, 
line 74, in run
pr = rp.ParseReport(rep)
  File /nfsroot/usr/lib/python2.5/site-packages/freevo/util/pymetar.py, line 
839, in ParseReport
self.Report.temp=int(c[1:])
ValueError: invalid literal for int() with base 10: '10.0'
ERROR: invalid literal for int() with base 10: '10.0'

Jim


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Configuring HD PVR with Freevo 1.90

2009-05-27 Thread Phil Raymond

I just installed Freevo 1.90 on a new machine running Ubuntu 9.04 (Jaunty). I'm 
also using a new capture device, the Hauppauge HD PVR. Since it captures from a 
cable box by creating a h.264 MP4 stream to the computer's hard drive via usb, 
there is no channel configuration. I have the v4l-dvb driver installed for it 
and I have no problem watching live from the cable box using VLC. My question 
is, can Freevo record from this device and if so, how? Myth claims it can, but 
for a variety of good reasons, I'd rather use Freevo.I didn't see any docs on 
this subject on the Freevo wiki, so that's why I'm asking here. DVB streamer 
doesn't seem to support this type of stream, so if Freevo can't do it, are 
there any other ways besides Myth?


  

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users