[Freevo-devel] Re: [Freevo-cvslog] freevo/share/skins/main blurr2.fxd,1.49,1.50

2004-02-24 Thread Dirk Meyer
Rob Shortt wrote:
 I have to figure out why changing the height here has no effect.  Any
 suggestions?

 -Rob

 + menuset label=text with favorite info style inherits=text with info 
 style
 + screen layout=tv screen visible=yes/
 + info layout=tv favorite info x=50 y=100 width=700 
 height=100/
 + view visible=no/
 + /menuset

height should now be 100. But it's only the height of the area, the
text inside it still is one line for an expression. The let the text
use more than one line, set height for the text in the area layout. 

Dischi

-- 
Time passed, which, basically, is its job. 
  -- Terry Pratchett (in: Equal Rites)


---
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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-cvslog] freevo/src/games snesitem.py,1.16,1.17

2004-02-24 Thread mikeruelle
Update of /cvsroot/freevo/freevo/src/games
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15102

Modified Files:
snesitem.py 
Log Message:
contributed patch from Andraes Leitner. i changed the values used to legit ones but 
this patch allows some broken roms to play

Index: snesitem.py
===
RCS file: /cvsroot/freevo/freevo/src/games/snesitem.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** snesitem.py 19 Jan 2004 21:33:02 -  1.16
--- snesitem.py 24 Feb 2004 16:03:11 -  1.17
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.17  2004/02/24 16:03:11  mikeruelle
+ # contributed patch from Andraes Leitner. i changed the values used to legit ones 
but this patch allows some broken roms to play
+ #
  # Revision 1.16  2004/01/19 21:33:02  mikeruelle
  #  a patch from Sylvian to use the new set_url stuff
***
*** 240,244 
  snesFile.seek(offset)
  romHeader = snesFile.read(32)
! 
(romName,romHL,romMem,romROM,romSRAM,romCountry,romLic,romVer,romICHK,romCHK) = 
unpack('21scccHH', romHeader)
  # Break now if CHECKSUM is OK
  if (romICHK | romCHK) == 0x:
--- 243,253 
  snesFile.seek(offset)
  romHeader = snesFile.read(32)
!   try:
! 
(romName,romHL,romMem,romROM,romSRAM,romCountry,romLic,romVer,romICHK,romCHK) = 
unpack('21scccHH', romHeader)
! except:
!   romCountry = chr(255)
!   romLic = chr(51)
!   romName = unknown
!   break
  # Break now if CHECKSUM is OK
  if (romICHK | romCHK) == 0x:
***
*** 250,254 
  snesFile.seek(offset)
  romHeader = snesFile.read(32)
! 
(romName,romHL,romMem,romROM,romSRAM,romCountry,romLic,romVer,romICHK,romCHK) = 
unpack('21scccHH', romHeader)
  # Some times, the ROM is OK, but the checksum is incorrect, so we do 
a very dummy ASCII detection
  if match('[a-zA-Z0-9 ]{4}', romName[0:4]) != None:
--- 259,269 
  snesFile.seek(offset)
  romHeader = snesFile.read(32)
!   try:
! 
(romName,romHL,romMem,romROM,romSRAM,romCountry,romLic,romVer,romICHK,romCHK) = 
unpack('21scccHH', romHeader)
! except:
!   romCountry = chr(255)
!   romLic = chr(51)
!   romName = unknown
!   break
  # Some times, the ROM is OK, but the checksum is incorrect, so we do 
a very dummy ASCII detection
  if match('[a-zA-Z0-9 ]{4}', romName[0:4]) != None:



---
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=1356alloc_id=3438op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-devel] scrollbar for long lines

2004-02-24 Thread Bastian Winkler
hi freevo-developers,

i started writing an ItemPlugin to query allmusic.com for artist and
album information. the received information (like the artist biography)
is drawn to screen by the same way as used in headlines.py.
this way is working, but the most time the string is too long and it's
cut at the end of the page. it would be nice to have a way to scroll
this text.
i already recognized RegionScroller and Scrollbar, but i don't know
where to start because i'm not familar with pygame and the freevo
skin-engine :-(
any hints?

:wq buz

ps: my current code (early state) is attached for all who are interested.
would be fine to get some feedback...
--
There are two major products to come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence.

GnuPG Fingerprint: 2FFF FC48 C7DF 1EA0 00A0  FD53 8C35 FD2E 6908 7B82
?xml version=1.0 ?
freevo
  skin geometry=800x600

amginfo
  screen layout=screen x=0 y=0 width=800 height=600/
  title visible=not idlebar layout=title x=10 y=10 width=780 
height=80/
  info layout=amginfo x=5 y=80 width=780 height=480/
/amginfo

layout label=amginfo
  content x=0 y=0 height=max width=max type=text spacing=10
item type=default
  text font=player artist expression=artist/
  newline/
  goto_pos y=10 mode=relative/
  if expression=formed
text font=player infoFormed:/text
goto_pos x=44 mode=relative/
text font=player info expression=formed/
newline/
  /if
  if expression=disbanded
text font=player infoDisbanded:/text
goto_pos x=10 mode=relative/
text font=player info expression=disbanded/
newline/
  /if
  if expression=genre
text font=player infoGenre:/text
goto_pos x=63 mode=relative/
text font=player info expression=genre/
newline/
  /if
  if expression=styles
text font=player infoStyles:/text
goto_pos x=60 mode=relative/
text font=player info expression=styles mode=soft/
newline/
  /if
  if expression=labels
text font=player infoLabels:/text
goto_pos x=58 mode=relative/
text font=player info expression=labels height=max mode=soft/
newline/
  /if
  if expression=tones
text font=player infoTones:/text
goto_pos x=63 mode=relative/
text font=player info expression=tones height=max mode=soft/
newline/
  /if
/item

item type=biography
  if expression=biography
text font=player artistBiography for /text
text font=player artist expression=artist/
newline/
goto_pos y=10 mode=relative/
text font=player info expression=biography height=max mode=soft/
  /if
/item

item type=albuminfo
  if expression=albumartist
text font=player infoArtist:/text
goto_pos x=130 mode=relative/
text font=player info expression=albumartist/
newline/
  /if
  if expression=albumtitle
text font=player infoAlbumtitle:/text
goto_pos x=75 mode=relative/
text font=player info expression=albumtitle/
newline/
  /if
  if expression=release
text font=player infoDate of Release:/text
goto_pos x=10 mode=relative/
text font=player info expression=release/
newline/
  /if
  if expression=rating
text font=player infoRating:/text
goto_pos x=120 mode=relative/
text font=player info expression=rating/
newline/
  /if
/item
item type=review
  if expression=review
text font=player artistReview for /text
text font=player artist expression=albumartist/
text font=player artist - /text
text font=player artist expression=albumtitle/
newline/
text font=player info expression=review height=max mode=soft/
  /if
/item
  /content
/layout
  /skin
/freevo


amginfo.py
Description: application/python


pgp0.pgp
Description: PGP signature


[Freevo-cvslog] freevo/src/games mame_cache.py,1.16,1.17 mameitem.py,1.17,1.18 snesitem.py,1.17,1.18

2004-02-24 Thread mikeruelle
Update of /cvsroot/freevo/freevo/src/games
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29047

Modified Files:
mame_cache.py mameitem.py snesitem.py 
Log Message:
Add some info to the info area where we have it

Index: mame_cache.py
===
RCS file: /cvsroot/freevo/freevo/src/games/mame_cache.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** mame_cache.py   28 Nov 2003 19:26:37 -  1.16
--- mame_cache.py   24 Feb 2004 17:04:39 -  1.17
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.17  2004/02/24 17:04:39  mikeruelle
+ # Add some info to the info area where we have it
+ #
  # Revision 1.16  2003/11/28 19:26:37  dischi
  # renamed some config variables
***
*** 179,183 
  return (mame_files, [])
  
- 
  mameRomList = getMameRomList()
  roms = mameRomList.getMameRoms()
--- 182,185 
***
*** 191,192 
--- 193,207 
  
  return (rm_files, items)
+ 
+ 
+ def getMameItemInfo(mame_file):
+ if not os.path.isfile(config.GAMES_MAME_CACHE):
+ return
+ mameRomList = getMameRomList()
+ roms = mameRomList.getMameRoms()
+ key = os.path.splitext(os.path.basename(mame_file))[0]
+ if roms.has_key(key):
+ return roms[key]
+ else:
+ return
+ 

Index: mameitem.py
===
RCS file: /cvsroot/freevo/freevo/src/games/mameitem.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** mameitem.py 19 Jan 2004 21:33:02 -  1.17
--- mameitem.py 24 Feb 2004 17:04:39 -  1.18
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.18  2004/02/24 17:04:39  mikeruelle
+ # Add some info to the info area where we have it
+ #
  # Revision 1.17  2004/01/19 21:33:02  mikeruelle
  #  a patch from Sylvian to use the new set_url stuff
***
*** 72,75 
--- 75,79 
  import time
  import copy
+ import mame_cache
  
  from item import Item
***
*** 115,118 
--- 119,127 
  
  self.game_player = game.get_singleton()
+   rominfo = mame_cache.getMameItemInfo(file)
+   if rominfo:
+   self.info = { 'description' : '%s - %s - %s' % 
(rominfo.description,rominfo.manufacturer,rominfo.year) }
+   else:
+   self.info = { 'description' : 'No ROM information' }
  
  

Index: snesitem.py
===
RCS file: /cvsroot/freevo/freevo/src/games/snesitem.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** snesitem.py 24 Feb 2004 16:03:11 -  1.17
--- snesitem.py 24 Feb 2004 17:04:39 -  1.18
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.18  2004/02/24 17:04:39  mikeruelle
+ # Add some info to the info area where we have it
+ #
  # Revision 1.17  2004/02/24 16:03:11  mikeruelle
  # contributed patch from Andraes Leitner. i changed the values used to legit ones 
but this patch allows some broken roms to play
***
*** 288,294 
  romCountryTxt = 'Unknown'
  if match('[a-zA-Z0-9 ]{4}', romName[0:4]) == None:
! self.name = os.path.splitext(os.path.basename(file))[0]  + ' (' + 
romCountryTxt + ' - ' + romLicTxt + ')'
  else:
! self.name = capwords(romName) + ' (' + romCountryTxt + ' - ' + romLicTxt 
+ ')'
  self.parent = parent
  
--- 291,297 
  romCountryTxt = 'Unknown'
  if match('[a-zA-Z0-9 ]{4}', romName[0:4]) == None:
! self.name = os.path.splitext(os.path.basename(file))[0]
  else:
! self.name = capwords(romName)
  self.parent = parent
  
***
*** 312,315 
--- 315,319 
  
  self.game_player = game.get_singleton()
+   self.info = {'description' :  romCountryTxt + ' - ' + romLicTxt }
  
  



---
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=1356alloc_id=3438op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


Re: [Freevo-devel] Sending OSD events to Freevo's tiny_xosd plugin from remote applications

2004-02-24 Thread Aubin Paul

I added a plugin to support YAC to CVS... it's a simple TCP-based
protocol that accepts messages and shows them on the screen. YAC was
made to show Caller ID on a TIVO, but it can show any 300 characters
of text. 

Look at plugins/yac.py in CVS.

I suppose it could have been done in remote, but I wanted to support
this particular protocol, so I kept it seperate.

Aubin

On Tue, Feb 24, 2004 at 04:35:14PM +0100, Robert Rozman wrote:
 From network or from another application on same machine. I combine Freevo,
 Mythtv and Misterhouse as home automation backend and latter could send OSD
 messages to all clients (Freevos) in the house - something like Washer is
 finished, there is someone at the front door and in better scenario also
 to control more features like switching video player to front door webcam
 when this happens. But that's probably another story...
 
 For easiest way, if I undestand right, there is rc.py that accepts events
 over tcp port (or udp?) but only for remote buttons. That could be extended
 to all events and some API definition to connect and control Freevo (or some
 of it parts like displaying osd messages) from another app.
 
 Regards,
 
 Robert.
 
 - Original Message - 
 From: Aubin Paul [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, February 24, 2004 12:06 AM
 Subject: Re: [Freevo-devel] Sending OSD events to Freevo's tiny_xosd plugin
 from remote applications
 
 
  Remote like over the network?
 
  On Mon, Feb 23, 2004 at 07:50:50PM +0100, Robert Rozman wrote:
   Hi,
  
   I'm curious if it's possible to trigger xosd messages from remote
   applications ?
  
   There seems like rc.py is something similar, but it handles only remote
   events, or am I wrong ?
  
   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=1356alloc_id=3438op=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=1356alloc_id=3438op=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=1356alloc_id=3438op=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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-cvslog] freevo/WIP/Ruelle TODO,1.9,1.10

2004-02-24 Thread mikeruelle
Update of /cvsroot/freevo/freevo/WIP/Ruelle
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30787

Modified Files:
TODO 
Log Message:
wooho removing things\!

Index: TODO
===
RCS file: /cvsroot/freevo/freevo/WIP/Ruelle/TODO,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** TODO22 Jan 2004 04:29:37 -  1.9
--- TODO24 Feb 2004 17:10:57 -  1.10
***
*** 6,12 
  - add to tvtime plugin:
* active channel support using info from TV_CHANNELS if provided
-   * vcr mode support
* figure a way to make North American users happy by having the
  channel numbers matchup with channel index we use.
  - create a security camera plugin
* allow use of a channel on tv being a building cam
--- 6,14 
  - add to tvtime plugin:
* active channel support using info from TV_CHANNELS if provided
* figure a way to make North American users happy by having the
  channel numbers matchup with channel index we use.
+   * find a better way to keep track of chan index. we lose it now
+ when we input numbers. this leads to bad things when more than
+   one video group is specified
  - create a security camera plugin
* allow use of a channel on tv being a building cam
***
*** 15,19 
* use a locking mech to not grab a snap when watching
  - add to shoppingcart plugin:
-   * Directories, allowing tagging of a whole dir
* Idlebar plugin to display number of tagged files/dirs and total size
* save play-list of Tagged Files
--- 17,20 



---
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=1356alloc_id=3438op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


Re: [Freevo-devel] Re: cvsfreevocachecrash

2004-02-24 Thread Robert Winder

Sunday, February 22, 2004, 9:24:49 PM, Dirk wrote:

 Robert Winder wrote:

 creating audio metadata...
 Traceback (most recent call last):
   File /usr/local/freevocvs/src/helpers/cache.py, line 490, in ?
 create_metadata()
   File /usr/local/freevocvs/src/helpers/cache.py, line 287, in create_metadata
 util.extendedmeta.AudioParser(dir[1], rescan=True)
   File /usr/local/freevocvs/src/util/extendedmeta.py, line 207, in __init__
 d = AudioParser(subdir, force=True, rescan=rescan)
   File /usr/local/freevocvs/src/util/extendedmeta.py, line 219, in __init__
 setattr(self, type, self.strcmp(getattr(self, type), data[type]))
   File /usr/local/freevocvs/src/util/extendedmeta.py, line 249, in strcmp
 if s1.replace(' ', '').lower() == s2.replace(' ', '').lower():
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in
 position 0: ordinal not in range(128)

 Arg, damn unicode. Fixed now (I hope)

Sorry. Checked out cvs, but still somewhat same prob with ./freevo cache.

creating audio metadata...
Traceback (most recent call last):
  File /usr/local/freevocvs/src/helpers/cache.py, line 490, in ?
create_metadata()
  File /usr/local/freevocvs/src/helpers/cache.py, line 287, in create_metadata
util.extendedmeta.AudioParser(dir[1], rescan=True)
  File /usr/local/freevocvs/src/util/extendedmeta.py, line 210, in __init__
d = AudioParser(subdir, force=True, rescan=rescan)
  File /usr/local/freevocvs/src/util/extendedmeta.py, line 222, in __init__
setattr(self, type, self.strcmp(getattr(self, type), data[type]))
  File /usr/local/freevocvs/src/util/extendedmeta.py, line 252, in strcmp
if s1.replace(u' ', u'').lower() == s2.replace(u' ', u'').lower():
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position
3: ordinal not in range(128)

Just letting you all know.

/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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-cvslog] freevo/WIP/Ruelle TODO,1.10,1.11

2004-02-24 Thread mikeruelle
Update of /cvsroot/freevo/freevo/WIP/Ruelle
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5250

Modified Files:
TODO 
Log Message:
check out audio.playlist instead

Index: TODO
===
RCS file: /cvsroot/freevo/freevo/WIP/Ruelle/TODO,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** TODO24 Feb 2004 17:10:57 -  1.10
--- TODO24 Feb 2004 17:40:41 -  1.11
***
*** 18,22 
  - add to shoppingcart plugin:
* Idlebar plugin to display number of tagged files/dirs and total size
-   * save play-list of Tagged Files
* Symbol or Font Style change to show Tagged status
  
--- 18,21 



---
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=1356alloc_id=3438op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo/src/games __init__.py,1.16,1.17 mame_cache.py,1.17,1.18 mameitem.py,1.18,1.19

2004-02-24 Thread mikeruelle
Update of /cvsroot/freevo/freevo/src/games
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12206

Modified Files:
__init__.py mame_cache.py mameitem.py 
Log Message:
make the info retreival a lot better

Index: __init__.py
===
RCS file: /cvsroot/freevo/freevo/src/games/__init__.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** __init__.py 11 Jan 2004 18:34:02 -  1.16
--- __init__.py 24 Feb 2004 18:05:19 -  1.17
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.17  2004/02/24 18:05:19  mikeruelle
+ # make the info retreival a lot better
+ #
  # Revision 1.16  2004/01/11 18:34:02  mikeruelle
  # oops forgot this for zipped roms
***
*** 112,116 
  files.remove(rm_file)
  for ml in mame_list:
! items += [ MameItem(ml[0], ml[1], ml[2], cmd, args, imgpath, parent) 
]
  elif gtype == 'SNES':
  for file in util.find_matches(files, snesromExtensions + [ 'zip' ]):
--- 115,119 
  files.remove(rm_file)
  for ml in mame_list:
! items += [ MameItem(ml[0], ml[1], ml[2], cmd, args, imgpath, parent, 
ml[3]) ]
  elif gtype == 'SNES':
  for file in util.find_matches(files, snesromExtensions + [ 'zip' ]):

Index: mame_cache.py
===
RCS file: /cvsroot/freevo/freevo/src/games/mame_cache.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** mame_cache.py   24 Feb 2004 17:04:39 -  1.17
--- mame_cache.py   24 Feb 2004 18:05:19 -  1.18
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.18  2004/02/24 18:05:19  mikeruelle
+ # make the info retreival a lot better
+ #
  # Revision 1.17  2004/02/24 17:04:39  mikeruelle
  # Add some info to the info area where we have it
***
*** 189,193 
  if roms.has_key(key):
  rom = roms[key]
! items += [(rom.description, romfile, None)]
  rm_files.append(romfile)
  
--- 192,202 
  if roms.has_key(key):
  rom = roms[key]
!   info = { 'manufacturer': rom.manufacturer,
!'name': rom.name,
!'description': rom.description,
!'year': rom.year,
!'cloneof': rom.cloneof,
!'romof': rom.romof } 
! items += [(rom.description, romfile, None, info)]
  rm_files.append(romfile)
  

Index: mameitem.py
===
RCS file: /cvsroot/freevo/freevo/src/games/mameitem.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** mameitem.py 24 Feb 2004 17:04:39 -  1.18
--- mameitem.py 24 Feb 2004 18:05:19 -  1.19
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.19  2004/02/24 18:05:19  mikeruelle
+ # make the info retreival a lot better
+ #
  # Revision 1.18  2004/02/24 17:04:39  mikeruelle
  # Add some info to the info area where we have it
***
*** 81,85 
  
  class MameItem(Item):
! def __init__(self, title, file, image = None, cmd = None, args = None, imgpath = 
None, parent = None):
  Item.__init__(self, parent)
  self.type  = 'mame'# fix value
--- 84,88 
  
  class MameItem(Item):
! def __init__(self, title, file, image = None, cmd = None, args = None, imgpath = 
None, parent = None, info = None):
  Item.__init__(self, parent)
  self.type  = 'mame'# fix value
***
*** 119,125 
  
  self.game_player = game.get_singleton()
!   rominfo = mame_cache.getMameItemInfo(file)
!   if rominfo:
!   self.info = { 'description' : '%s - %s - %s' % 
(rominfo.description,rominfo.manufacturer,rominfo.year) }
else:
self.info = { 'description' : 'No ROM information' }
--- 122,127 
  
  self.game_player = game.get_singleton()
!   if info:
!   self.info = { 'description' : '%s - %s - %s' % 
(info['description'],info['manufacturer'],info['year']) }
else:
self.info = { 'description' : 'No ROM information' }



---
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=1356alloc_id=3438op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]

[Freevo-devel] Re: CVS Crashing when attempting to play a second video

2004-02-24 Thread Dirk Meyer
Wayne Hogue wrote:
 Dirk Meyer wrote:

Wayne Hogue wrote:

Here is a log.   BTW, gui/debug.py is missing from the CVS and setting
DEBUG=1 make freevo stop with an error about debug missing.  I copyed
a copy I had from older cvs to get this dump.

Anyways, the first time I play a file its fine.  after exiting the
video, playing any video crashes freevo.  Dump attached.


Fixed.

Dischi


 Still crashing new log attached

Update again please. 

   File 
 /usr/local/myFreevo/lib/python2.3/site-packages/freevo/video/plugins/mplayer.py, 
 line 572, in stop_event
 print String(_( 'ERROR' )) + ': ' + String(self.exit_type) + \
 TypeError: cannot concatenate 'str' and 'NoneType' objects
 mediainfo.py (107): save cache 
 /usr/local/myFreevo/var/cache/share/mm/Video/BB/freevo.cache

line 572 doesn't contain this anymore. mplayer.py should have the id
1.65 or higher. 


Dischi

-- 
Error #152 - Windows not found: (C)heer (P)arty (D)ance.


---
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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-cvslog] freevo/share/skins/main blurr2.fxd,1.50,1.51

2004-02-24 Thread dischi
Update of /cvsroot/freevo/freevo/share/skins/main
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22598

Modified Files:
blurr2.fxd 
Log Message:
Sort tags so you can find something in this file. Also changed the tv
program listing (when pressing record)


Index: blurr2.fxd
===
RCS file: /cvsroot/freevo/freevo/share/skins/main/blurr2.fxd,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** blurr2.fxd  24 Feb 2004 05:08:49 -  1.50
--- blurr2.fxd  24 Feb 2004 18:49:51 -  1.51
***
*** 3,20 
  
  skin include=basic geometry=800x600
  iconset theme=blurr/
- main imagedir=gant
- item label=tv name=Watch TV/
- item label=video name=Watch a Movie image=gant/movie.png/
- item label=audio name=Listen to Music image=gant/music.png/
- item label=image name=Look at Pictures/
- item label=games name=Play a Game/
- item label=weather name=Weather Forecast/
[...1143 lines suppressed...]
- font label=tv name=Arial_Bold size=14 color=0xff/
- font label=tv selected name=Arial_Bold size=14 color=0x164668
- shadow visible=no color=0x00 border=yes/
- /font
- font label=tv time name=Arial_Bold size=14 color=0xff/
- font label=tv title name=Arial_Bold size=16 color=0xff/
  font label=clock   name=Arial_Bold size=16 color=0xff/
  
--- 845,848 
***
*** 870,871 
--- 895,902 
  /skin
  /freevo
+ !-- Keep this comment at the end of the file
+ Local variables:
+ mode: xml
+ sgml-indent-step:4
+ End:
+ --



---
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=1356alloc_id=3438op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo/src/util extendedmeta.py,1.10,1.11

2004-02-24 Thread dischi
Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23981

Modified Files:
extendedmeta.py 
Log Message:
unicode fix

Index: extendedmeta.py
===
RCS file: /cvsroot/freevo/freevo/src/util/extendedmeta.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** extendedmeta.py 22 Feb 2004 20:20:06 -  1.10
--- extendedmeta.py 24 Feb 2004 18:55:38 -  1.11
***
*** 11,14 
--- 11,17 
  # ---
  # $Log$
+ # Revision 1.11  2004/02/24 18:55:38  dischi
+ # unicode fix
+ #
  # Revision 1.10  2004/02/22 20:20:06  dischi
  # unicode fix again
***
*** 158,162 
  # Audio Information
  
! various = '__various__'
  
  class AudioParser:
--- 161,165 
  # Audio Information
  
! various = u'__various__'
  
  class AudioParser:



---
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=1356alloc_id=3438op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-devel] Freevo Traceback

2004-02-24 Thread David Irvine
Hello,

Checked out the latest CVS today,

When I select TV guide for the first time after i start freevo it
crashes, but from then on there are no problems. 




**
Exception: 'NoneType' object has no attribute 'surface'
Please report the following lines to the freevo mailing list
or with the subject '[Freevo-Bugreport\] GUI' to
[EMAIL PROTECTED]
 
Traceback (most recent call last):
  File /root/freevo/src/main.py, line 442, in ?
app.eventhandler(event)
  File /root/freevo/src/menu.py, line 582, in eventhandler
action( arg=arg, menuw=self )
  File /root/freevo/src/menu.py, line 125, in select
self.function(arg=self.arg, menuw=menuw)
  File /root/freevo/src/tv/tvmenu.py, line 179, in start_tvguide
TVGuide(self.get_start_time(), start_tv, menuw)
  File /root/freevo/src/tv/tvguide.py, line 118, in __init__
guide = epg_xmltv.get_guide(PopupBox(text=_('Preparing the program
guide')))
  File /root/freevo/src/tv/epg_xmltv.py, line 146, in get_guide
popup.show()
  File /root/freevo/src/gui/GUIObject.py, line 206, in show
self.draw()
  File /root/freevo/src/gui/GUIObject.py, line 274, in draw
self._draw()
  File /root/freevo/src/gui/Window.py, line 166, in _draw
self.content.surface = self.content.get_surface()
  File /root/freevo/src/gui/GUIObject.py, line 354, in get_surface
print 'wanted %s for %s' % (self.get_rect(), self.parent.surface)
AttributeError: 'NoneType' object has no attribute 'surface'




---
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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: cvsfreevocachecrash

2004-02-24 Thread Dirk Meyer
Robert Winder wrote:
 Sorry. Checked out cvs, but still somewhat same prob with ./freevo cache.

 creating audio metadata...
 Traceback (most recent call last):
   File /usr/local/freevocvs/src/helpers/cache.py, line 490, in ?
 create_metadata()
   File /usr/local/freevocvs/src/helpers/cache.py, line 287, in create_metadata
 util.extendedmeta.AudioParser(dir[1], rescan=True)
   File /usr/local/freevocvs/src/util/extendedmeta.py, line 210, in __init__
 d = AudioParser(subdir, force=True, rescan=rescan)
   File /usr/local/freevocvs/src/util/extendedmeta.py, line 222, in __init__
 setattr(self, type, self.strcmp(getattr(self, type), data[type]))
   File /usr/local/freevocvs/src/util/extendedmeta.py, line 252, in strcmp
 if s1.replace(u' ', u'').lower() == s2.replace(u' ', u'').lower():
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position
 3: ordinal not in range(128)

That's very strange, this shouldn't happen. Can you add a
print s1
print s2

before that line to find out which audio files that are and send them
to me please? Not the list, to me directly.


Dischi

-- 
He didn't look mad, but they never did.
-- (Terry Pratchett, Strata)


---
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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: [PATCH] makes imdb helper honor the MMPYTHON_CREATE_MD5_ID configuration flag

2004-02-24 Thread Dirk Meyer
Wayne Hogue wrote:
 Nope,  freevo imdb --rom-drive=/dev/cdrom 123456 /tmp/test test.avi

 Still produces a media-id the old way.

Which version of mediainfo.py d you have?

Dischi

-- 
Real stupidity beats artificial intelligence every time.

  -- Bursar 1 - Hex 0 (Terry Pratchett, Hogfather)


---
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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: Some questions about drawing on the screen

2004-02-24 Thread Dirk Meyer
Craig McLean wrote:
 Hello.

 I've been trying to create a screen for a test plugin I am creating
 with little luck.  What I want to do is create a menu, which I have
 done.  However the menu is fairly short and there is some space left
 at the bottom of the screen.  In that space I would like to write
 some text.  This text would be static and last for the duration of
 the time the screen is displayed, i.e it won't change with which
 menu item is selected.  How would I do that.  I notice that in the
 headlines plugin something similar to what I want is happening, but
 I just don't understand what is going on there.

Take a look at the weather plugin on the freevo add ons page, maybe
this helps. It defines a new area to do stuff. But you need cvs. A
simpler version is just to create an item with item.description and
set infoitem in the new generated menu to this item.

HTH

Dischi

-- 
Early to rise, early to bed, makes a man healthy, wealthy and dead.
-- Terry Pratchett, The Light Fantastic


---
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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: Running out of place in idlebar - suggestion for extension

2004-02-24 Thread Dirk Meyer
Robert Rozman wrote:
 Hi,

 I'm using idelbar quite extensively and when I detach audio I get out of
 space in idlebar. Is it possible to extend idlebar to bottom, left and right
 side of screen (configurable from local_conf.py), so user can activate as
 much idlebar space as he needs.

No, the skins need to know that they shouldn't draw at the idlebar
position. If we allow too much bars, the real informations for other
may shrink. But the audio detach should draw itself somewere else if
not enough space is there.


Dischi

-- 
Hard work never killed anyone, but why give it a chance?


---
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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: scrollbar for long lines

2004-02-24 Thread Dirk Meyer
Bastian Winkler wrote:
 hi freevo-developers,

 i started writing an ItemPlugin to query allmusic.com for artist and
 album information. the received information (like the artist biography)
 is drawn to screen by the same way as used in headlines.py.
 this way is working, but the most time the string is too long and it's
 cut at the end of the page. it would be nice to have a way to scroll
 this text.
 i already recognized RegionScroller and Scrollbar, but i don't know
 where to start because i'm not familar with pygame and the freevo
 skin-engine :-(
 any hints?

You can't scroll a normal menu, sorry. But you can add the long name
as item.description and it should be shown in the info area.


Dischi

-- 
Microsoft is to operating systems  security 
   what McDonalds is to gourmet cooking


---
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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-cvslog] freevo/src/skins/main listing_area.py,1.24,1.25

2004-02-24 Thread dischi
Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25076

Modified Files:
listing_area.py 
Log Message:
unicode fix

Index: listing_area.py
===
RCS file: /cvsroot/freevo/freevo/src/skins/main/listing_area.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** listing_area.py 4 Feb 2004 19:05:36 -   1.24
--- listing_area.py 24 Feb 2004 21:20:30 -  1.25
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.25  2004/02/24 21:20:30  dischi
+ # unicode fix
+ #
  # Revision 1.24  2004/02/04 19:05:36  dischi
  # remove bad log message
***
*** 403,407 
  x_mod, table_text[i] = text_or_icon(settings, 
table_text[i],
  table_x, table_w, 
val.font)
! if not isinstance(table_text[i], str):
  self.drawimage(table_text[i], (table_x + x_mod, y0 + 
vskip))
  table_text[i] = ''
--- 406,411 
  x_mod, table_text[i] = text_or_icon(settings, 
table_text[i],
  table_x, table_w, 
val.font)
! if not (isinstance(table_text[i], str) or
! isinstance(table_text[i], unicode)):
  self.drawimage(table_text[i], (table_x + x_mod, y0 + 
vskip))
  table_text[i] = ''



---
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=1356alloc_id=3438op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


Re: [Freevo-devel] Freevo Traceback

2004-02-24 Thread Michael Ruelle
remove your /var/cache/freevo/TV.xml.pickled and then try again.

Mike

On Tue, 2004-02-24 at 15:37, David Irvine wrote:
 Hello,
 
 Checked out the latest CVS today,
 
 When I select TV guide for the first time after i start freevo it
 crashes, but from then on there are no problems. 
 
 
 
 
 **
 Exception: 'NoneType' object has no attribute 'surface'
 Please report the following lines to the freevo mailing list
 or with the subject '[Freevo-Bugreport\] GUI' to
 [EMAIL PROTECTED]
  
 Traceback (most recent call last):
   File /root/freevo/src/main.py, line 442, in ?
 app.eventhandler(event)
   File /root/freevo/src/menu.py, line 582, in eventhandler
 action( arg=arg, menuw=self )
   File /root/freevo/src/menu.py, line 125, in select
 self.function(arg=self.arg, menuw=menuw)
   File /root/freevo/src/tv/tvmenu.py, line 179, in start_tvguide
 TVGuide(self.get_start_time(), start_tv, menuw)
   File /root/freevo/src/tv/tvguide.py, line 118, in __init__
 guide = epg_xmltv.get_guide(PopupBox(text=_('Preparing the program
 guide')))
   File /root/freevo/src/tv/epg_xmltv.py, line 146, in get_guide
 popup.show()
   File /root/freevo/src/gui/GUIObject.py, line 206, in show
 self.draw()
   File /root/freevo/src/gui/GUIObject.py, line 274, in draw
 self._draw()
   File /root/freevo/src/gui/Window.py, line 166, in _draw
 self.content.surface = self.content.get_surface()
   File /root/freevo/src/gui/GUIObject.py, line 354, in get_surface
 print 'wanted %s for %s' % (self.get_rect(), self.parent.surface)
 AttributeError: 'NoneType' object has no attribute 'surface'
 
 
 
 
 ---
 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=1356alloc_id=3438op=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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage

2004-02-24 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 24.128.246.209:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage

--
@@ -488,7 +488,7 @@
 === XMMS for playing music ===
  
 Normally MPlayer is used for playing both music and movies, but XMMS can be used for
-music instead. Please see the XmmsPlayer page for more info. Because of some code 
rewrite, the current CVS version has no XMMS support.
+music instead. Currently this is only in Freevo CVS or =1.5. For info on Freevo 
1.3.4. Please see the XmmsPlayer page for more info. Because of a code rewrite, the 
freevo 1.4 and 1.4.1 have no XMMS support.
  
 === Recompiling the Linux kernel ===
  


---
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=1356alloc_id=3438op=click
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of XmmsPlayer

2004-02-24 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 24.128.246.209:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/XmmsPlayer

--
@@ -1,11 +1,10 @@
 == XMMS Player Setup ==
 
-xmms comes with a multitude of cool visualization plugins. Running Freevo with xmms 
instead of the standard audio player (Mplayer) you can tap into this wealth. Instead 
of displaying song information and a
-progress bar when playing audio files, Freevo will display the visualization of your 
choice.
+Xmms can be used instead of freevo as a music player. It has some advantages for 
users including a cleaner mp3 playing.
+Setup is a very easy, but depends on the version of freevo you are using. Also you 
must have XWindows installed and be using it
+to run freevo. You cannot use xmms with a framebuffer only setup.
 
-Setup is a very easy. 
-
-=== Setup ===
+=== Freevo 1.3.4 ===
 
 1) Install xmms.  Verify it operates correctly.
 
@@ -30,6 +29,38 @@
 }}}

 
-=== Notes ===
-Of course you need to run Freevo under XFree86 to use Xmms.
+=== Freevo 1.4 and Freevo 1.4.1 ===
+
+Due to changes in these releases they cannot run xmms as the music player.
+
+=== Freevo =1.5 ===
+
+1) Install xmms.  Verify it operates correctly.
+
+2) Install pyxmms.
+[[BR]]
+   Instructions, source and debian packs available at [http://www.via.ecp.fr/~flo/ 
http://www.via.ecp.fr/~flo/][[BR]]
+   '''Note:''' Make sure that you install pyxmms under the same version of python you 
use to run Freevo.
+
+3) general setup, add this to local_conf.py
+{{{
+plugin.activate('audio.fxmms')
+FXMMS_CMD = '/usr/bin/xmms'
+}}}
+
+4) additional setup (optional):
+{{{
 
+# Tell freevo to prefer fxmms for playing most audio
+# generally most people who want fxmms also want this, but it is not required.
+# Not setting this will force fxmms to take a back seat to audio.mplayer if it is 
active
+# generally i set this and still keep mplayer active since it supports net radio 
streams and many more formats.
+AUDIO_PREFERED_PLAYER = 'fxmms'
+
+# an optional parameter to tell freevo not to use FXMMS to play netradio (it doesn't 
support most of the formats)
+FXMMS_NETRADIO = 0
+
+# an optional parameter, tells freevo that FXMMS can play the following files with 
those extensions. below is the
+# default but you can simply add more if you have xmms plugins that play other 
formats.
+FXMMS_SUFFIX = ['mp3','wav','ogg', 'mod']
+}}}


---
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=1356alloc_id=3438op=click
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


Re: [Freevo-devel] program, favorites, search, manual record

2004-02-24 Thread Gustavo Sverzut Barbieri
 --- Aubin Paul [EMAIL PROTECTED] escreveu: 
 On Mon, Feb 23, 2004 at 04:12:38AM -0300, Gustavo Sverzut Barbieri
 wrote:
   I'm not exactly anxious to do an update right now, because
 everything
   looks pretty broken and ugly right now with the unicode stuff
 going
   in.
  
  Please, do update.
  It's much more stable right now. Even the web interface should work
  i18n and with non-ascii stuff.
  
  If you don't use non-ascii chars, you'll experience no problems. If
 you
  use and experience problems, please let me know so I can fix it
 ASAP.
 This unicode stuff is something nebulous, even more with python
  since we cannot enforce function parameters to be of a certain
 type, so
  problems may be hide until someone trigger it :(
 
 What about high ascii ( = 129) characters. FXD files from imdb can
 contain, for example, the '1/2' character. 

It should fail too. ascii is  0-128 AFAIK :( We need unicode there too.
Also, xml parser returns unicode AFAIK, since valid XML requires the
encoding at the top (?xml ... ), it's possible to convert to unicode.

 
  Great idea. I really like input using numbers on the remote, it's
 way
  faster than using Up/Down keys.
 
 Definitely... and it's one of the places where the remote is well
 suited. Text input is trickier, but number input is dead simple.

There we could have that 2d input, it's way faster than 1d (up/down).

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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] program, favorites, search, manual record

2004-02-24 Thread Aubin Paul
On Wed, Feb 25, 2004 at 12:43:28AM -0300, Gustavo Sverzut Barbieri wrote:
  What about high ascii ( = 129) characters. FXD files from imdb can
  contain, for example, the '1/2' character. 
 
 It should fail too. ascii is  0-128 AFAIK :( We need unicode there too.
 Also, xml parser returns unicode AFAIK, since valid XML requires the
 encoding at the top (?xml ... ), it's possible to convert to unicode.

I don't know if it 'should' fail. Both ID3 tags and imdb information
may contain high ascii, and we can't just crash because of that. 

The ID3 specifications say that any character from 0x20 to 0xFF should
be fine in ISO-8859-1 encoded frames, and 16-bit unicode is also
supported. 

Even if that wasn't the case, those characters are used frequently in
web sites and id3 tags so we can't ignore that.



---
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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: i18n

2004-02-24 Thread Gustavo Sverzut Barbieri
 --- Dirk Meyer [EMAIL PROTECTED] escreveu: 
 Gustavo Sverzut Barbieri wrote:
 We're not in string freeze yet, things may change before we came
  with pre-releases, but if you have some time to help now, send your
  work!
 
 About that: I vote against using i18n for messages we print with
 'print' or '_debug_'. First of all, we don't need it because the user
 should never see this. Second and more important: I can't read a
 trace
 in a language different from English and German and won't be able to
 find a bug. 

Totally agreed!
This also remove some of the works from i18n teams.

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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] tivoguide and tvguide plugin patch

2004-02-24 Thread Gustavo Sverzut Barbieri

I liked your 1st approach more, but can't help you too much here.
Dischi may.

But I have few cosmetical complaints:
 - don't use tivo name. as I said to you in irc, that may lead to legal
issues in future.
 - have a bit more space between two areas, maybe just the selected
channel must touch the right one.

The last one probably scheduled to later releases together with more
improvements to the guide, maybe you'll need more skin settings to fit
your needs.

Also, maybe we could have some way to define images to make up the
guide? Just as I said to GUI items, have some way to specify
top-left, top, ... but with few aditions, like right-middle (-|),
left-midle (|-), ...

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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src/www/htdocs edit_favorite.rpy,1.12,1.13

2004-02-24 Thread Gustavo Sverzut Barbieri
 --- Aubin Paul [EMAIL PROTECTED] escreveu: 
 On Wed, Feb 25, 2004 at 12:48:38AM -0300, Gustavo Sverzut Barbieri
 wrote:
  BTW, why don't we have an unique page end? There's foot, links,
  searchform, ...
 
 For flexibility; the 'rpy' files are parsed on the fly so they can be
 changed and replaced, but you need to restart the webserver to change
 web_types... I can't say is why they were originally that way, but
 that's why I didn't change it when I went through the code.
 
 Like, if someone wanted to put the search form at the top of the page
 instead, there is no reason to move everything else.

Having one standard is the best option, usability-wise.

Also, we could have the 3 separate ones and one 'standard' or
'default'. So people just need to use it for normal usage.

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=1356alloc_id=3438op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel