[Freevo-users] freevo 1.5.x web interface broke??

2006-04-02 Thread Paul Sijben
I touch my freevo box as little as possible and it has been running fine
for quite a while. But recently something apparently changed as the web
interface is broken. (since 25 march according to my log)
Selection of programs in the tv guide results in an exception in the
webserver (see trace 1 below)

I can fix that by changing line 50 in proginfo.rpy from int( to float(
and then I get the popup window again. This allows me to select
favorites again.,

However selecting  shows for recording directly seems to be a bit shaky
(as it sometimes it works and sometimes it does not, see trace 2)

does anyone see method to this madness?
I would appreciate any help to fix this.

Paul

trace 1-

2006/04/02 09:35 CEST [HTTPChannel,0,10.100.0.2] Traceback (most recent
call last):
  File
/usr/lib/python2.3/site-packages/twisted/protocols/basic.py, line 223,
in dataReceived
why = self.lineReceived(line)
  File
/usr/lib/python2.3/site-packages/twisted/protocols/http.py, line 965,
in lineReceived
self.allContentReceived()
  File
/usr/lib/python2.3/site-packages/twisted/protocols/http.py, line 1006,
in allContentReceived
req.requestReceived(command, path, version)
  File
/usr/lib/python2.3/site-packages/twisted/protocols/http.py, line 557,
in requestReceived
self.process()
--- exception caught here ---
  File /usr/lib/python2.3/site-packages/twisted/web/server.py,
line 165, in process
self.render(resrc)
  File /usr/lib/python2.3/site-packages/twisted/web/server.py,
line 172, in render
body = resrc.render(self)
  File
/usr/lib/python2.3/site-packages/freevo/www/web_types.py, line 88, in
render
return self._render(request)
  File /usr/share/freevo/htdocs/proginfo.rpy, line 50, in _render
starttime = int( id[id.find(:)+1:] )
exceptions.ValueError: invalid literal for int(): 1143964800.0

2006/04/02 09:35 CEST [HTTPChannel,0,10.100.0.2] 10.100.0.2 - -
[02/Apr/2006:07:35:55 +] GET /proginfo.rpy?id=1:1143964800.0
HTTP/1.1 500 9028 http://localhost:8080/guide.rpy; Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111
Firefox/1.5.0.1

-
---trace 2-

2006/03/31 20:48 CEST [HTTPChannel,3,10.100.0.2] 10.100.0.2 - -
[31/Mar/2006:18:48:57 +] GET /proginfo.rpy?id=31:1143839700.0
HTTP/1.1 200 1
056 http://localhost:8080/guide.rpy; Mozilla/5.0 (Windows; U; Windows
NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2] Traceback (most recent
call last):
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2]   File
/usr/lib/python2.3/site-packages/freevo/tv/record_client.py, line 107,
in scheduleRecord
ing
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2] (status, message) =
server.scheduleRecording(jellyToXML(prog))
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2]   File
/usr/lib/python2.3/xmlrpclib.py, line 1032, in __call__
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2] return
self.__send(self.__name, args)
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2]   File
/usr/lib/python2.3/xmlrpclib.py, line 1319, in __request
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2] verbose=self.__verbose
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2]   File
/usr/lib/python2.3/xmlrpclib.py, line 1083, in request
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2] return
self._parse_response(h.getfile(), sock)
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2]   File
/usr/lib/python2.3/xmlrpclib.py, line 1222, in _parse_response
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2] return u.close()
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2]   File
/usr/lib/python2.3/xmlrpclib.py, line 745, in close
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2] raise
Fault(**self._stack[0])
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2] Fault: Fault 8002:
'error'
2006/03/31 20:49 CEST [HTTPChannel,4,10.100.0.2] 10.100.0.2 - -
[31/Mar/2006:18:49:00 +] GET
/record.rpy?chan=31start=1143839700.0action=ad
d HTTP/1.1 200 5690 http://localhost:8080/guide.rpy; Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111
Firefox/1.5.0.1

2006/03/31 20:49 CEST [HTTPChannel,3,10.100.0.2] 10.100.0.2 - -
[31/Mar/2006:18:49:22 +] GET /images/tab/bg.gif HTTP/1.1 404 165
http://loc
alhost:8080/styles/main.css Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort, NL  http://www.sijben.net
tel:+31 334557522   fax:+31 33 4557523



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!

R: Re: [Freevo-users] Freevo on FC5

2006-04-02 Thread [EMAIL PROTECTED]
Hi , you are right.

In the file freevo.repo I changed the line
baseurl=http://freevo.sf.net/fedora/$releasever 
with
baseurl=http:
//freevo.sf.net/fedora/4

After, the only packages I have to find with 
rpmfind was python-game and aumix.

Thank you

enrico 

-
Messaggio originale
-Da: [EMAIL PROTECTED]
-Data: 31-mar-2006 11.54 AM
-A: freevo-users@lists.sourceforge.net
-Ogg: Re: [Freevo-users] 
Freevo on FC5
-
-Try replacing $releasever with 4 in the repo line
-
-
FC4 uses python 2.4 same as FC5, therefore it should work with the FC4
-
RPMS installed. by setting the $releasver to 4 you should obtain the
-
RPMS for FC4.
-
-K,
-
-On Fri, 2006-03-31 at 10:46 +0100, 
[EMAIL PROTECTED] wrote:
- Hi to all.
- 
- Someone know if it's 
possible to install freevo on fedora 
- core 5 by yum?
- 
- I tried 
much repository, but I don't obtained big 
- results.
- 
- Thank 
you
- 
- enrico
- 
- 
- 
---
- This SF.Net 
email is sponsored by xPML, a groundbreaking scripting language
- that 
extends applications into web and mobile media. Attend the live webcast
- and join the prime developer group breaking into this new coding 
territory!
- http://sel.as-us.falkag.net/sel?
cmd=lnkkid=110944bid=241720dat=121642
- 
___
- Freevo-users mailing 
list
- Freevo-users@lists.sourceforge.net
- https://lists.sourceforge.
net/lists/listinfo/freevo-users
- 
-
-
-

-This SF.Net 
email is sponsored by xPML, a groundbreaking scripting language
-that 
extends applications into web and mobile media. Attend the live webcast
-and join the prime developer group breaking into this new coding 
territory!
-http://sel.as-us.falkag.net/sel?
cmd=lnkkid=110944bid=241720dat=121642
-
___
-Freevo-users mailing 
list
[EMAIL PROTECTED]
-https://lists.sourceforge.
net/lists/listinfo/freevo-users
-




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Re: graph LCD 128x64

2006-04-02 Thread Lucian Muresan
Marc Leesch wrote:
 Hi,
 does anybody use a graphical LCD with a size of 128x64? Mine has a
 *ks0108*-controler and works good with lcdproc. Lucian Muresan wrote
 that freevo does not support graph. LCDs yet, but there would be a
 possibility to make freevo believe it is a text-LCD. I guess the problem
 is, that I canĀ“t find any suiting fonts for the display. Does anybody
 know wich fonts work with the LCD?
 Marc

I'm using a 128x64 graphical display with LCDproc (CVS). In my
/etc/LCDd.conf, under the [[glcdlib] section, I have:
UseFT2=yes
TextResolution=21x5
FontFile=/usr/share/fonts/corefonts/courbd.ttf
CharEncoding=iso8859-2
MinFontFaceSize=6x12

Whith these wish values I'm getting actually a 18x4 display and the
characters look good. I've said it before, you've got to play with the
values configured in LCDd.conf and see what size you get, and after
that, adopt that size in the lcd.py source of Freevo-1.5.4.

Good luck!
Lucian


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Re: Left/Right Audio Switching

2006-04-02 Thread Lucian Muresan
Ow Mun Heng wrote:
[...]
 
 It's really frustrating that Linux, with all it's multimedia greatness,
 can't even do Left/Right Audio Switching like what can be done on a
 standalone  USD20 DVD/VCD player.

This should have changed with recent xine-lib (I'm using CVS, which
advertises itself as 1.1.2), in which Reinhard Nissl, the vdr-xine
plugin developer got quite some useful patches merged upstream. You
might want to try the audio post-processing plugin upmix_mono. It
should be configurable on which from channel to be upmixed (duplicated)
as two identical Left/Right channels.
He developed this for VDR as there are lots of DVB broadcasts which
either use different languages on the same track as left/right channels,
or just broadcast plain mono (which can't be sent directly to SPDIF, as
most external amps only understand stereo PCM, DD or dts).
I haven't tested the plugin directly myself, as the vdr-plugin hooks
into this automatically, but I've seen in the xine-ui menu that the
upmix_mono plugin has an integer parameter ranging from -1 to 5,
which may actually designate the possible channels from a 5.1 setup,
plus some automatism, maybe. So just try it out.

Lucian



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Re: Left/Right Audio Switching

2006-04-02 Thread Ow Mun Heng
On Sun, 2006-04-02 at 12:46 +0200, Lucian Muresan wrote:
 Ow Mun Heng wrote:
 [...]
  
  It's really frustrating that Linux, with all it's multimedia greatness,
  can't even do Left/Right Audio Switching like what can be done on a
  standalone  USD20 DVD/VCD player.
 
 try the audio post-processing plugin upmix_mono. It
 should be configurable on which from channel to be upmixed (duplicated)
 as two identical Left/Right channels.

Hey.. That works out great. Now, what I need is to figure out if I can
put a keyboard shortcut key for that.
 upmix_mono plugin has an integer parameter ranging from -1 to 5,

In My file.

Left = English = Channel 0
Right = Chinese = Channel 1
Stereo = Eng+Chinese = Channel -1

 which may actually designate the possible channels from a 5.1 setup,
 plus some automatism, maybe. So just try it out.

Yep.. need to find a shortcut key for that.

Thanks again.

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 09:37:13 up 2 days, 11:55, 7 users, load average: 0.63,
0.90, 1.14 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Re: Left/Right Audio Switching

2006-04-02 Thread Lucian Muresan
Ow Mun Heng wrote:
[..]
 
 Hey.. That works out great. Now, what I need is to figure out if I can
 put a keyboard shortcut key for that.
 upmix_mono plugin has an integer parameter ranging from -1 to 5,
[..]

I'm glad it did.

 In My file.
 
 Left = English = Channel 0
 Right = Chinese = Channel 1
 Stereo = Eng+Chinese = Channel -1
 
 which may actually designate the possible channels from a 5.1 setup,
 plus some automatism, maybe. So just try it out.
 
 Yep.. need to find a shortcut key for that.
 
 Thanks again.

You're welcome. For that, you might ask right on the xine-devel list, I
think if there is not yet such a shortcut, it would be useful if the
xine team provides an accepted one. Just remember them of Reinhard Nissl
who is also active on that list, and the upmix_mono audio pp-plugin.
Sorting this thing out, I mean having the ability to switch left/right
language channels on the fly would be of use in Freevo too, I guess. But
maybe there is already anothere triggering mechanism available for that,
if Freevo2 links against the xine library...

Lucian




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users