[Freevo-devel] MPlayer OSD brain storming

2004-02-20 Thread Gustavo Sverzut Barbieri
Hello guys,

I started to play with MPlayer OSD plugin (future replacement to bmovl
plugin) and I need some help.
   First my idea: I want it to hold 3 surfaces and display them, but
never at the same time. These surfaces are:
  1) Info: this will be something like our menu, but without the
Listing area. I mean, just View_Area and Info_Area. It will display,
based on skin xml contents, title, plot, rating, ...
  2) Messages: this will display OSD messages. In future it will be
updated to get messages and respect priorities/classes from NotifyQueue
(a plugin I wish to code)
  3) Play time OSD: like MPlayer OSD, but will be skin (xml)
designed.

The problem is how to relate to skin. 

How should I get the Info_Area and View_Area surface and use them (to
use in 1)?

Probably 3 will require new skin functions, I'll handle it later.

Maybe there should be a 4th surface, to hold volume meter.

1 and 3 (probably 2 too) should be general, I mean, used by every other
plugin, like tv.mplayer and (if possible) xine plugins, so we have
common interface in every area. Maybe 2 and 4 (it it exists) could be
used even in audio/image players.

Gustavo

__

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src config.py,1.96,1.97 osd.py,1.141,1.142 playlist.py,1.64,1.65 setup_freevo.py,1.12,1.13

2004-02-20 Thread Michael Ruelle
ok i can confirm its working again. I was working with an IRC user that
noticed the problem today. glad it's fixed.

Mike

On Fri, 2004-02-20 at 22:57, Gustavo Sverzut Barbieri wrote:
>  --- Michael Ruelle <[EMAIL PROTECTED]> escreveu: 
> > This appears broken:
> > 
> > [EMAIL PROTECTED] freevo $ ./freevo setup --help
> > Traceback (most recent call last):
> >   File "/usr/local/freevo/src/setup_freevo.py", line 265, in ?
> > print_usage()
> >   File "/usr/local/freevo/src/setup_freevo.py", line 139, in
> > print_usage
> > print String( usage )
> > NameError: global name 'String' is not defined
> > 
> > 
> > Mike
> 
> Hi Mike,
> 
> Thanks for reporting, as you may see, it's already fixed.
> 
> Gustavo
> 
> __
> 
> Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
> http://br.yahoo.com/info/mail.html
> 
> 
> ---
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src config.py,1.96,1.97 osd.py,1.141,1.142 playlist.py,1.64,1.65 setup_freevo.py,1.12,1.13

2004-02-20 Thread Gustavo Sverzut Barbieri
 --- Michael Ruelle <[EMAIL PROTECTED]> escreveu: 
> This appears broken:
> 
> [EMAIL PROTECTED] freevo $ ./freevo setup --help
> Traceback (most recent call last):
>   File "/usr/local/freevo/src/setup_freevo.py", line 265, in ?
> print_usage()
>   File "/usr/local/freevo/src/setup_freevo.py", line 139, in
> print_usage
> print String( usage )
> NameError: global name 'String' is not defined
> 
> 
> Mike

Hi Mike,

Thanks for reporting, as you may see, it's already fixed.

Gustavo

__

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-wikilog] [Freevo Wiki] Update of "Voodoo3Page"

2004-02-20 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Freevo Wiki" for change 
notification.

The following page has been changed by 68.237.108.162:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/Voodoo3Page

--
@@ -57,7 +57,7 @@
 [...]
 }}}
 
-This will update the bt869 chip just before X loads. Its the last thing it does.
+This will update the bt869 chip just before X loads. 
 
 === Kernel 2.6 ===
 


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-cvslog] freevo/src/audio/plugins mpav.py,1.1,1.2

2004-02-20 Thread gsbarbieri
Update of /cvsroot/freevo/freevo/src/audio/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14434/src/audio/plugins

Modified Files:
mpav.py 
Log Message:
Improvements and bug fixes:
  - now use path from freevo.conf;
  - support for new mpav render plugins;
  - be sure mplayer is playing, just start after 1 second music is playing. 
It's still annoying, but avoids some locks.


Index: mpav.py
===
RCS file: /cvsroot/freevo/freevo/src/audio/plugins/mpav.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mpav.py 19 Feb 2004 04:37:21 -  1.1
--- mpav.py 21 Feb 2004 03:19:54 -  1.2
***
*** 9,12 
--- 9,20 
  #
  # ---
+ # $Log$
+ # Revision 1.2  2004/02/21 03:19:54  gsbarbieri
+ # Improvements and bug fixes:
+ #   - now use path from freevo.conf;
+ #   - support for new mpav render plugins;
+ #   - be sure mplayer is playing, just start after 1 second music is playing.
+ # It's still annoying, but avoids some locks.
+ #
  #
  # ---
***
*** 32,38 
  #endif
  
- mmap_file = '/tmp/mpav'
- app   = '/usr/local/bin/mpav'
- 
  import os
  import childapp   # Handle child applications
--- 40,43 
***
*** 47,50 
--- 52,59 
  from event import *
  
+ mmap_file = '/tmp/mpav'
+ app   = config.CONF.mpav
+ 
+ 
  osd = osd.get_singleton()
  skin = skin.get_singleton()
***
*** 55,59 
  class controlling the in and output from the mpav process
  """
! def __init__( self, app, mplayer, size=None ):
  self.osd  = osd
  self.item = mplayer.item
--- 64,68 
  class controlling the in and output from the mpav process
  """
! def __init__( self, app, mplayer, size=None, rplugin=None ):
  self.osd  = osd
  self.item = mplayer.item
***
*** 61,64 
--- 70,76 
  self.lines= []
  self.messages = []
+ 
+ if rplugin:
+ app += [ "-r", rplugin ]
  childapp.ChildApp2.__init__( self, app )
  
***
*** 139,144 
  To activate it, just add to your local_conf.py:
  
!plugin.activate( 'audio.mpav', args=( ( ,  ), ) )
  
  
  Notice:
--- 151,159 
  To activate it, just add to your local_conf.py:
  
!plugin.activate( 'audio.mpav', args=( ( ,  ), ) 
)
  
+ where:
+ and  are the MPAV window size (or resolution);
+ is the render plugin, it must be in your LD_LIBRARY_PATH or 
you need to give the full path. Usually it's libmpav_goom.so.
  
  Notice:
***
*** 149,161 
  """
  
! def __init__( self, size=None ):
  """
  normal plugin init, but sets _type to 'mplayer_audio'
  """
  plugin.Plugin.__init__( self )
! self.mpav   = None
! self.player = None
! self.size   = size
! self._type  = "mplayer_audio"
  self.osd_view = 0
  self.messages = []
--- 164,178 
  """
  
! def __init__( self, size=None, rplugin=None ):
  """
  normal plugin init, but sets _type to 'mplayer_audio'
  """
  plugin.Plugin.__init__( self )
! self.start= False
! self.mpav = None
! self.player   = None
! self.size = size
! self.rplugin  = rplugin
! self._type= "mplayer_audio"
  self.osd_view = 0
  self.messages = []
***
*** 202,210 
  try:
  if line.find( "[export] Memory mapped to file: "+mmap_file ) == 0:
! self.start_mpav()
  _debug_( "Detected MPlayer 'export' audio filter! Using MPAV." )
- return
  except:
! pass
  # stdout()
  
--- 219,235 
  try:
  if line.find( "[export] Memory mapped to file: "+mmap_file ) == 0:
! self.start = True
  _debug_( "Detected MPlayer 'export' audio filter! Using MPAV." )
  except:
! pass
! 
! # stdout()
! 
! 
! def elapsed( self, elapsed ):
! # Be sure mplayer started playing, it need to setup mmap first.
! if self.start and elapsed > 0:
! self.start_mpav()
! self.start = False
  # stdout()
  
***
*** 213,220 
  """
  start mpav
! """
  if not self.mpav:
  command = [ app, "-s", "-f", mmap_file ]
! self.mpav = MPAV( command, self.player, ( self.size ) )
  
  if self.osd_view == 1:
--- 238,245 
  """
  start mpav
! """
  if not self.mpav:
  command = [ app, "-s", "-

[Freevo-cvslog] freevo/src setup_freevo.py,1.14,1.15

2004-02-20 Thread gsbarbieri
Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14202/src

Modified Files:
setup_freevo.py 
Log Message:
MPAV support


Index: setup_freevo.py
===
RCS file: /cvsroot/freevo/freevo/src/setup_freevo.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** setup_freevo.py 21 Feb 2004 03:09:16 -  1.14
--- setup_freevo.py 21 Feb 2004 03:16:18 -  1.15
***
*** 13,16 
--- 13,19 
  # ---
  # $Log$
+ # Revision 1.15  2004/02/21 03:16:18  gsbarbieri
+ # MPAV support
+ #
  # Revision 1.14  2004/02/21 03:09:16  gsbarbieri
  # This file doesn't use gettext( ... unicode=True ), so we don't need String().
***
*** 109,113 
   ("oggenc","oggenc",0),
   ("renice","renice",0),
!  ("setterm", "setterm", 0))
  
  # Help text
--- 112,117 
   ("oggenc","oggenc",0),
   ("renice","renice",0),
!  ("setterm", "setterm", 0),
!  ("mpav", "mpav", 0))
  
  # Help text



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo/src setup_freevo.py,1.13,1.14

2004-02-20 Thread gsbarbieri
Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12855/src

Modified Files:
setup_freevo.py 
Log Message:
This file doesn't use gettext( ... unicode=True ), so we don't need String().


Index: setup_freevo.py
===
RCS file: /cvsroot/freevo/freevo/src/setup_freevo.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** setup_freevo.py 19 Feb 2004 04:57:56 -  1.13
--- setup_freevo.py 21 Feb 2004 03:09:16 -  1.14
***
*** 13,16 
--- 13,19 
  # ---
  # $Log$
+ # Revision 1.14  2004/02/21 03:09:16  gsbarbieri
+ # This file doesn't use gettext( ... unicode=True ), so we don't need String().
+ #
  # Revision 1.13  2004/02/19 04:57:56  gsbarbieri
  # Support Web Interface i18n.
***
*** 137,141 
  ''')
  
! print String( usage )
  
  
--- 140,144 
  ''')
  
! print usage
  
  
***
*** 214,218 
  
  if verbose:
! print String(_('checking for %-13s')) % (name+'...'),
  
  for dirname in search_dirs:
--- 217,221 
  
  if verbose:
! print _('checking for %-13s') % (name+'...'),
  
  for dirname in search_dirs:
***
*** 227,233 
  print
  print 
""
! print String(_('ERROR: can\'t find %s')) % name
! print String(_('Please install the application respectively put it in 
your path.'))
! print String(_('Freevo won\'t work without it.'))
  print 
""
  print
--- 230,236 
  print
  print 
""
! print _('ERROR: can\'t find %s') % name
! print _('Please install the application respectively put it in your 
path.')
! print _('Freevo won\'t work without it.')
  print 
""
  print
***
*** 235,239 
  sys.exit(1)
  elif verbose:
! print String(_('not found (deactivated)'))
  
  
--- 238,242 
  sys.exit(1)
  elif verbose:
! print _('not found (deactivated)')
  
  
***
*** 298,302 
  
  
! print String(_('System path first=%s')) % ( [_('No'), _('Yes')][sysfirst])
  
  for program, valname, needed in EXTERNAL_PROGRAMS:
--- 301,305 
  
  
! print _('System path first=%s') % ( [_('No'), _('Yes')][sysfirst])
  
  for program, valname, needed in EXTERNAL_PROGRAMS:
***
*** 314,318 
  print
  print
! print String(_('Settings:'))
  print '  %20s = %s' % ('geometry', conf.geometry)
  print '  %20s = %s' % ('display', conf.display)
--- 317,321 
  print
  print
! print _('Settings:')
  print '  %20s = %s' % ('geometry', conf.geometry)
  print '  %20s = %s' % ('display', conf.display)



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


Re: [Freevo-devel] Re: Major src/gui update -- developers please read

2004-02-20 Thread Gustavo Sverzut Barbieri
 --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: 
> Gustavo Sverzut Barbieri wrote:
> > How to use subsurfaces?
> 
> In the gui code is a function for all objects get_surface. Basicly it
> takes the parent surface and call a function on it to get a
> subsurface. The subsurfaces shares the data, so no blitting.

Thanks. I'll look.


> > I have some things I wish to implement, this is one of them, but it
> may
> > stand still a little.
> >
> > My TODO list right now:
> >   - Finish MPAV plugin and integrate MPAV in Freevo CVS (if you
> agree
> > it's a good idea)
> 
> Good idea. The Python part should be inside Freevo, the C part should
> get an extra repository. Maybe apps. We could add more apps here
> later. 

Ok. It's in http://gsbarbieri.sytes.net/mpav/, btw there's a new
version 0.0.4 out there, much improved and the render is now
plugin-able. There's still just GOOM plugin, but others may be added.


> >   - Code MPOSD, kind of BMOVL with skin support, using info area
> 
> Cool. I started with some basic bmovl stuff in
> src/video/plugins/bmovl, but it needs much to do.

I already tested yours and I'll use it as base, but I'll start another
plugin, keep yours intact.

 
> >   - Code NoticeQueue, something that get events and handle them
> with
> > classs ('tv' events, 'volume' events, ... IMHO it's better than
> > priorities) and then have MPOSD and tiny_osd to consult this plugin
> for
> > info to be displayed.
> 
> I like to hear more about it. We should all be sure how to handle osd
> stuff befor someone codes something and replace it later. 

I'll send a more formal proposal. And I'll not change anything
existent, first I'll code this plugin, submit, then port things to
consult the queue/handle the queue. Probably my first candidate will be
the images, so it will be possible to remove message when back from the
last item.


> >- Configure freevo using the Remote Control. It's needed but can
> > take a long to implement, will depend on Erik's XML config.
> 
> Same idea here :-)

:)

Gustavo

__

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: [Freevo-cvslog] freevo/src config.py,1.96,1.97 osd.py,1.141,1.142 playlist.py,1.64,1.65 setup_freevo.py,1.12,1.13

2004-02-20 Thread Michael Ruelle
This appears broken:

[EMAIL PROTECTED] freevo $ ./freevo setup --help
Traceback (most recent call last):
  File "/usr/local/freevo/src/setup_freevo.py", line 265, in ?
print_usage()
  File "/usr/local/freevo/src/setup_freevo.py", line 139, in print_usage
print String( usage )
NameError: global name 'String' is not defined


Mike

On Wed, 2004-02-18 at 23:58, [EMAIL PROTECTED] wrote:
> Update of /cvsroot/freevo/freevo/src
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32403/src
> 
> Modified Files:
>   config.py osd.py playlist.py setup_freevo.py 
> Log Message:
> Support Web Interface i18n.
> To use this, I need to get the gettext() translations in unicode, so some changes 
> are required to files that use "print _('string')", need to make them "print 
> String(_('string'))".
> 
> 
> Index: config.py
> ===
> RCS file: /cvsroot/freevo/freevo/src/config.py,v
> retrieving revision 1.96
> retrieving revision 1.97
> diff -C2 -d -r1.96 -r1.97
> *** config.py 8 Feb 2004 19:53:14 -   1.96
> --- config.py 19 Feb 2004 04:57:55 -  1.97
> ***
> *** 23,26 
> --- 23,30 
>   # ---
>   # $Log$
> + # Revision 1.97  2004/02/19 04:57:55  gsbarbieri
> + # Support Web Interface i18n.
> + # To use this, I need to get the gettext() translations in unicode, so some 
> changes are required to files that use "print _('string')", need to make them "print 
> String(_('string'))".
> + #
>   # Revision 1.96  2004/02/08 19:53:14  dischi
>   # create metadata dir
> ***
> *** 97,101 
>   import gettext
>   try:
> ! gettext.install('freevo', os.environ['FREEVO_LOCALE'])
>   except: # unavailable, define '_' for all modules
>   import __builtin__
> --- 101,105 
>   import gettext
>   try:
> ! gettext.install('freevo', os.environ['FREEVO_LOCALE'], True)
>   except: # unavailable, define '_' for all modules
>   import __builtin__
> ***
> *** 302,305 
> --- 306,311 
>   # add the current trace to the string
>   where =  traceback.extract_stack(limit = 2)[0]
> + if isinstance( s, unicode ):
> + s = s.encode(encoding, 'replace')
>   s = '%s (%s): %s' % (where[0][where[0].rfind('/')+1:], where[1], s)
>   # print debug message
> 
> Index: osd.py
> ===
> RCS file: /cvsroot/freevo/freevo/src/osd.py,v
> retrieving revision 1.141
> retrieving revision 1.142
> diff -C2 -d -r1.141 -r1.142
> *** osd.py18 Feb 2004 21:55:44 -  1.141
> --- osd.py19 Feb 2004 04:57:55 -  1.142
> ***
> *** 11,14 
> --- 11,18 
>   # ---
>   # $Log$
> + # Revision 1.142  2004/02/19 04:57:55  gsbarbieri
> + # Support Web Interface i18n.
> + # To use this, I need to get the gettext() translations in unicode, so some 
> changes are required to files that use "print _('string')", need to make them "print 
> String(_('string'))".
> + #
>   # Revision 1.141  2004/02/18 21:55:44  dischi
>   # Some osd updates for new gui code
> ***
> *** 516,520 
>   help += [_('h = Help')]
>   help_str = ''.join(help)
> ! pygame.display.set_caption('Freevo' + ' '*7 + help_str)
>   icon = pygame.image.load(os.path.join(config.ICON_DIR,
> 'misc/freevo_app.png')).convert()
> --- 520,524 
>   help += [_('h = Help')]
>   help_str = ''.join(help)
> ! pygame.display.set_caption('Freevo' + ' '*7 + String( help_str ) )
>   icon = pygame.image.load(os.path.join(config.ICON_DIR,
> 'misc/freevo_app.png')).convert()
> 
> Index: playlist.py
> ===
> RCS file: /cvsroot/freevo/freevo/src/playlist.py,v
> retrieving revision 1.64
> retrieving revision 1.65
> diff -C2 -d -r1.64 -r1.65
> *** playlist.py   13 Feb 2004 18:32:57 -  1.64
> --- playlist.py   19 Feb 2004 04:57:56 -  1.65
> ***
> *** 10,13 
> --- 10,17 
>   # ---
>   # $Log$
> + # Revision 1.65  2004/02/19 04:57:56  gsbarbieri
> + # Support Web Interface i18n.
> + # To use this, I need to get the gettext() translations in unicode, so some 
> changes are required to files that use "print _('string')", need to make them "print 
> String(_('string'))".
> + #
>   # Revision 1.64  2004/02/13 18:32:57  dischi
>   # add event to toggle playlist repeat
> ***
> *** 201,205 
>   lines = util.readfile(plsname)
>   except IOError:
> ! print _('Cannot open file "%s"') % list
>   return 0
>   
> --- 205,209 
> 

[Freevo-devel] Multiple independent instances of Freevo on same machine ?

2004-02-20 Thread Robert Rozman
Hi,

I have normal X and also pvr 350 with tvout as framebuffer device (ivtv-fb).
I'd like to run 2 independent instances of Freevo (one in X and other on pvr
tvout). How can I do that ?

Are there any documents about Freevo running on framebuffer?

Regards,

Robert.



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] [BUG] subsurface rectangle outside surface area

2004-02-20 Thread den_RDC
I get this traceback (enbdlessly looped) when i try to open one of my video 
folders. This could be fixed already because i am using anoncvs, but i've had 
it for 2-3 days now so i want to make sure somebody knows about this.


Exception: subsurface rectangle outside surface area
wanted (-1, 65, 380, 25) for 
GUIObject stack:
  : (-1, 65, 380, 25)
  : (8, 8, 379, 129)
  : (206, 225, 400, 150)
  : (0, 0, 0, 0)

Traceback (most recent call last):
  File "/home/rdc/projects/freevo/src/main.py", line 455, in ?
app.eventhandler(event)
  File "/home/rdc/projects/freevo/src/menu.py", line 576, in eventhandler
action( arg=arg, menuw=self )
  File "/home/rdc/projects/freevo/src/directory.py", line 517, in cwd
self.check_password_and_build(arg=None, menuw=menuw)
  File "/home/rdc/projects/freevo/src/directory.py", line 571, in 
check_password_and_build
self.build(arg=arg, menuw=menuw)
  File "/home/rdc/projects/freevo/src/directory.py", line 656, in build
pop.show()
  File "/home/rdc/projects/freevo/src/gui/GUIObject.py", line 203, in show
self.draw()
  File "/home/rdc/projects/freevo/src/gui/GUIObject.py", line 271, in draw
self._draw()
  File "/home/rdc/projects/freevo/src/gui/Window.py", line 167, in _draw
self.content.draw()
  File "/home/rdc/projects/freevo/src/gui/GUIObject.py", line 271, in draw
self._draw()
  File "/home/rdc/projects/freevo/src/gui/Container.py", line 138, in _draw
child.draw()
  File "/home/rdc/projects/freevo/src/gui/GUIObject.py", line 271, in draw
self._draw()
  File "/home/rdc/projects/freevo/src/gui/Progressbar.py", line 95, in _draw
self.surface = self.get_surface()
  File "/home/rdc/projects/freevo/src/gui/GUIObject.py", line 344, in 
get_surface
raise Exception, e
ValueError: subsurface rectangle outside surface area
Exception: subsurface rectangle outside surface area
wanted (-1, 65, 380, 25) for 
GUIObject stack:
  : (-1, 65, 380, 25)
  : (8, 8, 379, 129)
  : (206, 225, 400, 150)
  : (0, 0, 0, 0)

Traceback (most recent call last):
  File "/home/rdc/projects/freevo/src/main.py", line 455, in ?
app.eventhandler(event)
  File "/home/rdc/projects/freevo/src/gui/AlertBox.py", line 95, in 
eventhandler
return self.parent.eventhandler(event)
  File "/home/rdc/projects/freevo/src/menu.py", line 639, in eventhandler
if menu.selected.eventhandler(event = event, menuw=self):
  File "/home/rdc/projects/freevo/src/directory.py", line 417, in eventhandler
return Playlist.eventhandler(self, event, menuw)
  File "/home/rdc/projects/freevo/src/playlist.py", line 554, in eventhandler
return Item.eventhandler(self, event, menuw)
  File "/home/rdc/projects/freevo/src/item.py", line 431, in eventhandler
return self.parent.eventhandler(event, menuw)
  File "/home/rdc/projects/freevo/src/plugins/mediamenu.py", line 282, in 
eventhandler
menuw.refresh()
  File "/home/rdc/projects/freevo/src/menu.py", line 341, in refresh
child.draw()
  File "/home/rdc/projects/freevo/src/gui/GUIObject.py", line 271, in draw
self._draw()
  File "/home/rdc/projects/freevo/src/gui/Window.py", line 167, in _draw
self.content.draw()
  File "/home/rdc/projects/freevo/src/gui/GUIObject.py", line 271, in draw
self._draw()
  File "/home/rdc/projects/freevo/src/gui/Container.py", line 138, in _draw
child.draw()
  File "/home/rdc/projects/freevo/src/gui/GUIObject.py", line 271, in draw
self._draw()
  File "/home/rdc/projects/freevo/src/gui/Progressbar.py", line 95, in _draw
self.surface = self.get_surface()
  File "/home/rdc/projects/freevo/src/gui/GUIObject.py", line 344, in 
get_surface
raise Exception, e
ValueError: subsurface rectangle outside surface area
 


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Text Input in Freevo

2004-02-20 Thread Viggo Fredriksen
Hi!

Didn't see this until now.

I moved the phone-input into a seperate class, and should now be usable
for others. It does no drawing of any kind, only handles the input. All
string handling is done in unicode. The key-input list is translatable
with the std. i18n.
For a demo of usage, see the mailwriter.py file in > mail-0.5a.

I'll be gone for the weekend, so I won't be able to reply to any mails
until then.
Regards
Viggo Fredriksen
Gustavo Sverzut Barbieri wrote:
 --- Jan Grewe <[EMAIL PROTECTED]> escreveu: 

Hi craig,
There is a plugin out there, the freevo mailreader, which supports
replying
to a mail via cellphone-style text input, so there _is_ at least a
way of
typing something, let's hope that someone writes a module for other
plugins
(viggo, you hear me? ;->)...
/jan


Rob is working on PyUI integration, it could help a lot.

In mean time, we could have something to, in some plugin/area, remap
every key a-z0-9 to give the input while in one "widget", so people
with wireless keyboards could type things easily. Viggo, could you take
a look at it and try to implement? It should be just a matter of
changing config.EVENTS and then restore it.
   But in meantime, it would be cool to have viggo mini-keyboard
"componentized"
Gustavo

__

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html
---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel
#if 0 /*
# ---
# PhoneInput.py - A class handling multitap input from a remote
# Author: Viggo Fredriksen <[EMAIL PROTECTED]>
# ---
# Freevo - A Home Theater PC framework
# Copyright (C) 2003 Krister Lagerstrom, et al.
# Please see the file freevo/Docs/CREDITS for a complete list of authors.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MER-
# CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# --- */
#endif

import rc, time
from event import *

class PhoneInput:
"""
This class takes care of mobilephone style input.
All characters can be customized by gettext
"""
dInput = {}
KEY= ['','','','','','','','','','']

# default keymap
KEY[1] = _('-|?|!|,|.|:|;|<|=|>|(|)|_|1')
KEY[2] = _('a|b|c|2')
KEY[3] = _('d|e|f|3')
KEY[4] = _('g|h|i|4')
KEY[5] = _('j|k|l|5')
KEY[6] = _('m|n|o|6')
KEY[7] = _('p|q|r|s|7')
KEY[8] = _('t|u|v|8')
KEY[9] = _('w|x|y|z|9')
KEY[0] = _(' |+|&|@|/|\\')

def __init__(self, parent):
rc.app(self)
rc.set_context('input')
self.parent = parent
self._initialize_()

k = 0
for v in self.KEY:
self.dInput[k] = v.split('|')
k += 1

def _initialize_(self):
self.timer = 0
self.timeout   = 1
self.selected  = 0
self.position  = 0
self.text  = ['|']
self.sel_char  = ''
self.last_key  = None
self.caret = '|'
self.uppercase = True

def _getChar_(self, key, index, upper=False):
c = self.dInput.get(key)[index]
if upper: c = c.upper()
return c

def _select_(self, key):
now = time.time()

if self.timer == 0:
self.timer = now

if key != self.last_key:
# move to next char and start new timer
self.last_key = key
self.selected = 0
self.sel_char = self._getChar_(key, 0)

char = self._getChar_(self.last_key, 0, self.uppercase)
self._set_char_(char)

elif ((now-self.timer)>self.timeout):
# move to next char
char = self._getChar_(self.last_key, self.selected, self.uppercase)
self._set_char_(char)

self.last_key = key
self.sel_char = ''
self.selected = 0
else:
  

[Freevo-cvslog] freevo/src/tv/plugins tvtime.py,1.30,1.31

2004-02-20 Thread mikeruelle
Update of /cvsroot/freevo/freevo/src/tv/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv765

Modified Files:
tvtime.py 
Log Message:
initial videogroups support.

Index: tvtime.py
===
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/tvtime.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** tvtime.py   6 Feb 2004 01:15:06 -   1.30
--- tvtime.py   20 Feb 2004 17:41:36 -  1.31
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.31  2004/02/20 17:41:36  mikeruelle
+ # initial videogroups support.
+ #
  # Revision 1.30  2004/02/06 01:15:06  mikeruelle
  # use new events in tv context
***
*** 113,116 
--- 116,120 
  import tv.epg_xmltv as epg # The Electronic Program Guide
  import event as em
+ from tv.channels import FreevoChannels
  
  import plugin
***
*** 232,236 
  tvtimexml = os.path.join(os.environ['HOME'], '.tvtime', 'tvtime.xml')
configcmd = os.path.join(os.path.dirname(config.TVTIME_CMD), 
"tvtime-configure")
! cf_norm, cf_input, cf_clist, cf_device = config.TV_SETTINGS.split()
  s_norm = cf_norm.upper()
daoptions = ''
--- 236,245 
  tvtimexml = os.path.join(os.environ['HOME'], '.tvtime', 'tvtime.xml')
configcmd = os.path.join(os.path.dirname(config.TVTIME_CMD), 
"tvtime-configure")
! #cf_norm, cf_input, cf_clist, cf_device = config.TV_SETTINGS.split()
!   fc = FreevoChannels()
!   vg = fc.getVideoGroup(config.TV_CHANNELS[0][2])
!   cf_norm = vg.tuner_norm
!   cf_input = vg.input_num
!   cf_device = vg.vdev
  s_norm = cf_norm.upper()
daoptions = ''
***
*** 399,403 
  self.tuner_chidx = 0# Current channel, index into config.TV_CHANNELS
  self.app_mode = 'tv'
! 
  
  def TunerSetChannel(self, tuner_channel):
--- 408,413 
  self.tuner_chidx = 0# Current channel, index into config.TV_CHANNELS
  self.app_mode = 'tv'
!   self.fc = FreevoChannels()
! self.current_vg = None
  
  def TunerSetChannel(self, tuner_channel):
***
*** 447,463 
  
  if tuner_channel != None:
- 
  try:
  self.TunerSetChannel(tuner_channel)
  except ValueError:
  pass
  
  #if mode == 'tv' or mode == 'vcr':
  if mode == 'tv':
  
- tuner_channel = self.TunerGetChannel()
- 
  w, h = config.TV_VIEW_SIZE
! cf_norm, cf_input, cf_clist, cf_device = config.TV_SETTINGS.split()
  
  s_norm = cf_norm.upper()
--- 457,477 
  
  if tuner_channel != None:
  try:
  self.TunerSetChannel(tuner_channel)
  except ValueError:
  pass
+ if not tuner_channel:
+ tuner_channel = self.fc.getChannel()
+ vg = self.current_vg = self.fc.getVideoGroup(tuner_channel)
+ 
  
  #if mode == 'tv' or mode == 'vcr':
  if mode == 'tv':
  
  w, h = config.TV_VIEW_SIZE
! #cf_norm, cf_input, cf_clist, cf_device = config.TV_SETTINGS.split()
!   cf_norm = vg.tuner_norm
!   cf_input = vg.input_num
!   cf_device = vg.vdev
  
  s_norm = cf_norm.upper()
***
*** 471,475 
  outputplugin = 'directfb'
  
! command = '%s -D %s -k -I %s -n %s -d %s -f %s -c %s' % 
(config.TVTIME_CMD,
 outputplugin,
 w,
--- 485,489 
  outputplugin = 'directfb'
  
! command = '%s -D %s -k -I %s -n %s -d %s -f %s -c %s -i %s' % 
(config.TVTIME_CMD,
 outputplugin,
 w,
***
*** 477,481 
 cf_device,
 'freevo',
!self.tuner_chidx)
  
  if osd.get_fullscreen() == 1:
--- 491,496 
 cf_device,
 'freevo',
!self.tuner_chidx,
!  cf_input)
  
  if osd.get_fullscreen() == 1:



---
SF.Net is sponsored by: Speed Start Your Linux App

[Freevo-devel] Re: Freevo crashes when playing DVD

2004-02-20 Thread Dirk Meyer
"Albert Yong" wrote:
> Yes with runtime ... My system has Python 2.2, but I ran Freevo with the
> runtime I downloaded from Freevo SF.

Which version? Version 0.3 had a bug which is fixed in 0.3.1

Dischi

-- 
None of the ideas expressed above are actually mine. They are told to
me by Luthor and Ferdinand, the five inch tall space aliens who live
under my desk. In return for these ideas, I have given them permission
to eat any dust bunnies they may find under there.


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-cvslog] freevo/src/video videoitem.py,1.126,1.127

2004-02-20 Thread dischi
Update of /cvsroot/freevo/freevo/src/video
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15251

Modified Files:
videoitem.py 
Log Message:
add parent in dvd menu

Index: videoitem.py
===
RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v
retrieving revision 1.126
retrieving revision 1.127
diff -C2 -d -r1.126 -r1.127
*** videoitem.py19 Feb 2004 04:57:58 -  1.126
--- videoitem.py20 Feb 2004 18:53:23 -  1.127
***
*** 11,17 
  # ---
  # $Log$
  # Revision 1.126  2004/02/19 04:57:58  gsbarbieri
! # Support Web Interface i18n.
! # To use this, I need to get the gettext() translations in unicode, so some changes 
are required to files that use "print _('string')", need to make them "print 
String(_('string'))".
  #
  # Revision 1.125  2004/02/15 15:22:42  dischi
--- 11,19 
  # ---
  # $Log$
+ # Revision 1.127  2004/02/20 18:53:23  dischi
+ # add parent in dvd menu
+ #
  # Revision 1.126  2004/02/19 04:57:58  gsbarbieri
! # Support i18n.
  #
  # Revision 1.125  2004/02/15 15:22:42  dischi
***
*** 555,558 
--- 557,561 
  if len(self.info['tracks']) == 1:
  i=copy.copy(self)
+ i.parent = self
  i.possible_player = []
  i.set_url(self.url + '1', False)



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-devel] Re: Major src/gui update -- developers please read

2004-02-20 Thread Dirk Meyer
Gustavo Sverzut Barbieri wrote:
> How to use subsurfaces?

In the gui code is a function for all objects get_surface. Basicly it
takes the parent surface and call a function on it to get a
subsurface. The subsurfaces shares the data, so no blitting.

> I have some things I wish to implement, this is one of them, but it may
> stand still a little.
>
> My TODO list right now:
>   - Finish MPAV plugin and integrate MPAV in Freevo CVS (if you agree
> it's a good idea)

Good idea. The Python part should be inside Freevo, the C part should
get an extra repository. Maybe apps. We could add more apps here
later. 

>   - Code MPOSD, kind of BMOVL with skin support, using info area

Cool. I started with some basic bmovl stuff in
src/video/plugins/bmovl, but it needs much to do.

>   - Code NoticeQueue, something that get events and handle them with
> classs ('tv' events, 'volume' events, ... IMHO it's better than
> priorities) and then have MPOSD and tiny_osd to consult this plugin for
> info to be displayed.

I like to hear more about it. We should all be sure how to handle osd
stuff befor someone codes something and replace it later. 

>- Configure freevo using the Remote Control. It's needed but can
> take a long to implement, will depend on Erik's XML config.

Same idea here :-)

Dischi

-- 
You might have mail.


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] have the problem, but not the solution

2004-02-20 Thread Gustavo Sverzut Barbieri
 --- jlaska <[EMAIL PROTECTED]> escreveu: 
> Attempting to ensure that the weather plugin is fulling compliant
> with
> the recent cvs GUI changes.  I'm having some issues with what appear
> to
> be unicode related?
> 
> When I pass along a degree character ( "°" = ascii 161 ) the code is
> unhappy.  If I just take out that character, all is fine.  I've
> enclosed
> the string in a util.Unicode( ) call prior to displaying but that
> doesn't change the result:
> 
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position
> 1:
> ordinal not in range(128)
> 
> Not sure I fully understand the problem, that makes it tough for me
> to
> fix.  Any hints/suggestions welcome.
> 
> Thanks,
> jlaska
> 
> UTF-8: 0xC2 0xB0
> Octal escaped UTF-8: \302\260
> Decimal entity reference: °

I fixed that problem with idlebar.weather plugin. Please see: 
http://cvs.sourceforge.net/viewcvs.py/freevo/freevo/src/plugins/idlebar/__init__.py?r1=1.13&r2=1.14

In short: Give it the unicode object:
temp = u'%s\xb0' % temp


Gustavo

__

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src/video/plugins mplayer.py,1.63,1.64 xine.py,1.39,1.40

2004-02-20 Thread Gustavo Sverzut Barbieri
 --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut Barbieri
wrote:
> > Well... it is needed to fix the bug introduced from adding i18n to
> web
> > interface. I thought of commiting src/www separated, but didn't
> since
> > it would break other pieces of code.
> 
> Why? Just check in everything in www with the log message above and
> than check in everything else with a different log message. Freevo
> CVS
> will be only broekn for about 1 or 2 minutes which is ok I guess. I
> always try to check in with matching log messages, some times I
> changed 10 files and checked in every file with a different message. 

Sorry. I'll respect these guidelines next time.

Gustavo

__

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: Major src/gui update -- developers please read

2004-02-20 Thread Gustavo Sverzut Barbieri
 --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut Barbieri
wrote:
> >> I had the same idea, but it will be very complicated and all the
> >> resizing will be slow. And ...
> >
> > Isn't it done in C? Why slow? And there are not too many widgets...
> > Also, we could have it to replicate instead of scale.
> 
> I noticed with my skin enhancement one major problem with pygame:
> creating surfaces is slow, also blittng one surface to another. 
> 
> That's why the skin code tries to reuse as much as possible and only
> blit the needed parts. The gui code also should use subsurface
> instead
> of creating new once.

How to use subsurfaces?

I have some things I wish to implement, this is one of them, but it may
stand still a little.

My TODO list right now:
  - Finish MPAV plugin and integrate MPAV in Freevo CVS (if you agree
it's a good idea)
  - Code MPOSD, kind of BMOVL with skin support, using info area
  - Code NoticeQueue, something that get events and handle them with
classs ('tv' events, 'volume' events, ... IMHO it's better than
priorities) and then have MPOSD and tiny_osd to consult this plugin for
info to be displayed.

Future Ideas (maybe someone like them and start to implement right
now):
   - giFT (p2p) front end. This is a great idea and since giFT have
some web interfaces and freevo is mostly always connected to the
internet (and even better, Freevo generally is used as the router :))
it would be a great thing to have. We don't need advanced features,
just some field to enter the search and then we can use conventional
menu to display results and current transfers. Then we could use a
popup window to display things like # of sources, transfer rate,
comments, ...
   - Configure freevo using the Remote Control. It's needed but can
take a long to implement, will depend on Erik's XML config.

Bye,

Gustavo

__

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] have the problem, but not the solution

2004-02-20 Thread jlaska
Attempting to ensure that the weather plugin is fulling compliant with
the recent cvs GUI changes.  I'm having some issues with what appear to
be unicode related?

When I pass along a degree character ( "Â" = ascii 161 ) the code is
unhappy.  If I just take out that character, all is fine.  I've enclosed
the string in a util.Unicode( ) call prior to displaying but that
doesn't change the result:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 1:
ordinal not in range(128)

Not sure I fully understand the problem, that makes it tough for me to
fix.  Any hints/suggestions welcome.

Thanks,
jlaska

UTF-8: 0xC2 0xB0
Octal escaped UTF-8: \302\260
Decimal entity reference: °

On Thu, 2004-02-19 at 18:51 -0300, Gustavo Sverzut Barbieri wrote:

> Hi Viggo,
> 
> Try using FREEVO_LOCALE and setting it as a pair ., ie:
> de.UTF-8
> 
> Some things you may take care:
>  - If you print something to stdout (using python's "print") and you
> want it i18n (use _()), you must use String() around it. Example:
>  before:
>  print _("ERROR") + _("my message")
>  correct:
>  print String(_("ERROR")) + String(_("my message"))
> 
>  - Try to convert messages to display in interface as Unicode objects.
> You can use Unicode("string"), also from util/__init__.py
> 
> Please test the Web Interface, I'd commited some code to make it
> i18n-able yesterday.
> 
> 
> Gustavo
> 
> __
> 
> Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
> http://br.yahoo.com/info/mail.html
> 
> 
> ---
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


RE: [Freevo-devel] Re: Freevo crashes when playing DVD

2004-02-20 Thread Albert Yong
Yes with runtime ... My system has Python 2.2, but I ran Freevo with the
runtime I downloaded from Freevo SF.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Dirk Meyer
> Sent: Friday, February 20, 2004 10:35 AM
> To: [EMAIL PROTECTED]
> Subject: [Freevo-devel] Re: Freevo crashes when playing DVD
>
>
> "Albert Yong" wrote:
> > Hello,
> >
> > I am running Freevo 1.4.1. All seems fine except when I insert
> a DVD, and
> > navigate from the main page to the disc, and play it, Freevo
> just crashes.
> > Can anyone point me to thr place where freevo stores its commands for
> > Mplayer, or CD player ???
>
> With runtime?
>
> Dischi
>
> --
> No trees were killed in the sending of this message.
> However a large number of electrons were terribly inconvenienced.
>
>
> ---
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: [Freevo-cvslog] freevo/src/video/plugins mplayer.py,1.63,1.64 xine.py,1.39,1.40

2004-02-20 Thread Dirk Meyer
Gustavo Sverzut Barbieri wrote:
> Well... it is needed to fix the bug introduced from adding i18n to web
> interface. I thought of commiting src/www separated, but didn't since
> it would break other pieces of code.

Why? Just check in everything in www with the log message above and
than check in everything else with a different log message. Freevo CVS
will be only broekn for about 1 or 2 minutes which is ok I guess. I
always try to check in with matching log messages, some times I
changed 10 files and checked in every file with a different message. 


Dischi

-- 
Dancing is a vertical expression of a horizontal desire.


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: Freevo crashes when playing DVD

2004-02-20 Thread Dirk Meyer
"Albert Yong" wrote:
> Hello,
>
> I am running Freevo 1.4.1. All seems fine except when I insert a DVD, and
> navigate from the main page to the disc, and play it, Freevo just crashes.
> Can anyone point me to thr place where freevo stores its commands for
> Mplayer, or CD player ???

With runtime? 

Dischi

-- 
No trees were killed in the sending of this message. 
However a large number of electrons were terribly inconvenienced.


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: runtime build help?

2004-02-20 Thread Dirk Meyer
Dave Ladd wrote:
> I'm keeping current with the freevo/mmpython CVS repository on my
> desktop/development box and I'd like to build my own runtime tar file for use
> in my home theater box.
>
> Unfortunately, I am not able to run with a locally built runtime, even though I
> can run without one (i.e. by using the components in /usr)
>
> The error is the often-seen pygame parachute in the display init.

You don't need the runtime. If you can't use freevo with everything
installed, you have a different problem. The runtime is the same
programs, only linked static and everything in one place.

Dischi

-- 
Symbol's function definition is void: signature


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: Major src/gui update -- developers please read

2004-02-20 Thread Dirk Meyer
Gustavo Sverzut Barbieri wrote:
>> I had the same idea, but it will be very complicated and all the
>> resizing will be slow. And ...
>
> Isn't it done in C? Why slow? And there are not too many widgets...
> Also, we could have it to replicate instead of scale.

I noticed with my skin enhancement one major problem with pygame:
creating surfaces is slow, also blittng one surface to another. 

That's why the skin code tries to reuse as much as possible and only
blit the needed parts. The gui code also should use subsurface instead
of creating new once.


Dischi

-- 
Real Men don't make backups.  They upload it via ftp and let the world
mirror it.
-- Linus Torvalds


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] CD playback timestamp not updating at track boundaries

2004-02-20 Thread Albert Yong
Hello,

When I play CDs on the Freevo, if I let the CD play from begining right till
the end, the system does not regconise track boundaries, and continue to
display current track name and keep on extending the elapse time.

When I skip track, it does the trick.

Can anyone tell me is there a fix for it ?

Thanks.

Albert



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Freevo crashes when playing DVD

2004-02-20 Thread Albert Yong
Hello,

I am running Freevo 1.4.1. All seems fine except when I insert a DVD, and
navigate from the main page to the disc, and play it, Freevo just crashes.
Can anyone point me to thr place where freevo stores its commands for
Mplayer, or CD player ???

Thanks.

Albert



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel