Re: [Freevo-users] Re: Adding a new Video Player

2006-04-17 Thread Ow Mun Heng
On Thu, 2006-04-13 at 15:21 +0200, Dirk Meyer wrote:
 Ow Mun Heng wrote:
  Hi,
 
  I want to ask, if someone here can tell me how to add a new Video
  player into Freevo. 
 
  Currently, There is xine and mplayer. I would like to add another into
  the mix. (actually, just another copy of xine with a few changes in the
  way it's called to enable upmix_mono)
 
  I've tried just copying the xine.py/mplayer.py file into eg:
  xine1.py/mplayer1.py but when I try to get the video to be played, I
  only see 2 options.
 
  1. PLay
  2. Play with Alternate player
 
  How can I add another option to it?
 
 You can't with 1.5 because 1.5 only expects 2 players. Freevo SVN can
 do that. Or if you prefer 1.5 you can hack videoitem.py

I'm trying to back port some of the items in pre 2.0 into 1.5. Progress
is very slow. (getting distracted with other things)

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 16:01:50 up 5 days, 6:00, 4 users, load average: 0.70, 1.68,
1.74 




---
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] more than 30 days in webserver for manual recording

2006-04-17 Thread corto_
Hello,

There is a little bug with the webserver of freevo. Under Manual Recording, 
you can not
chose 31 for the day, you have only 1 to 30.

I've find the solution of that problem and I post it in the user list (I'm not 
registered for the
dev list).

You have to modify the following file :
/usr/share/freevo/htdocs/manualrecord.rpy

In the #day section, you have to replace ' 31' by '= 31' :
 #day
 dayselect = 'select name=%s %s '
 iter=1
 while iter = 31:
 if curtime[2] == iter:
dayselect = dayselect + 'option selected 
value='+str(iter)+''+str(iter)+\n
 else:
dayselect = dayselect + 'option 
value='+str(iter)+''+str(iter)+\n
 iter = iter + 1
 dayselect = dayselect + /select\n

That all, I hope a dev can correct it for the next release.

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)





---
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=lnkkid0944bid$1720dat1642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users