[Freevo-cvslog] freevo/src/tv record_video.py,1.22,1.23
Update of /cvsroot/freevo/freevo/src/tv In directory sc8-pr-cvs1:/tmp/cvs-serv22352/src/tv Modified Files: record_video.py Log Message: Fix the gap for consecutive recordings. Only timecode formats were getting the buffer time before, now both timecode and seconds type recording get the 10 second buffer. Index: record_video.py === RCS file: /cvsroot/freevo/freevo/src/tv/record_video.py,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** record_video.py 11 Jul 2003 20:21:15 - 1.22 --- record_video.py 12 Jul 2003 06:23:44 - 1.23 *** *** 10,13 --- 10,18 # --- # $Log$ + # Revision 1.23 2003/07/12 06:23:44 outlyer + # Fix the gap for consecutive recordings. Only timecode formats were getting + # the buffer time before, now both timecode and seconds type recording get the + # 10 second buffer. + # # Revision 1.22 2003/07/11 20:21:15 outlyer # Actually, 10 seconds makes more sense than 60. *** *** 324,327 --- 329,333 # Length in seconds len_secs = int(recinfo.length.selected) * 60 + len_secs = len_secs-10 # Recording filename *** *** 339,346 # Calculate timecode for mp1e and similar encoders ! temp = len_secs - 10 ! hour = int(temp/3600) ! minu = int(temp/60) ! seco = int(temp%60) timecode_format = '%0.2i:%0.2i:%0.2i' % (hour,minu,seco) --- 345,351 # Calculate timecode for mp1e and similar encoders ! hour = int(len_secs/3600) ! minu = int(len_secs/60) ! seco = int(len_secs%60) timecode_format = '%0.2i:%0.2i:%0.2i' % (hour,minu,seco) --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/helpers tvgrep.py,1.7,1.8
Update of /cvsroot/freevo/freevo/helpers In directory sc8-pr-cvs1:/tmp/cvs-serv22352/helpers Modified Files: tvgrep.py Log Message: Fix the gap for consecutive recordings. Only timecode formats were getting the buffer time before, now both timecode and seconds type recording get the 10 second buffer. Index: tvgrep.py === RCS file: /cvsroot/freevo/freevo/helpers/tvgrep.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** tvgrep.py 30 Jun 2003 20:53:28 - 1.7 --- tvgrep.py 12 Jul 2003 06:23:44 - 1.8 *** *** 57,61 len_secs = int(b.stop-b.start) ! temp = len_secs - 1 hour = int(temp/3600) minu = int(temp/60) --- 57,62 len_secs = int(b.stop-b.start) ! len_secs = len_secs - 10 ! temp = len_secs hour = int(temp/3600) minu = int(temp/60) --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src menu.py,1.52,1.53
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv15413 Modified Files: menu.py Log Message: Load skin singleton only when needed and make events global Index: menu.py === RCS file: /cvsroot/freevo/freevo/src/menu.py,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** menu.py 1 Jul 2003 02:58:17 - 1.52 --- menu.py 12 Jul 2003 10:05:04 - 1.53 *** *** 10,64 # --- # $Log$ # Revision 1.52 2003/07/01 02:58:17 outlyer # Added lame/cdparanoia and defaults for the cdbackup plugin # Removed some messages from src/main and src/menu # - # Revision 1.51 2003/06/29 19:52:58 dischi - # small fix - # # Revision 1.50 2003/06/07 11:30:27 dischi # support for MENU_CALL_ITEM_ACTION # - # Revision 1.49 2003/06/07 04:36:18 outlyer - # Prevent a crash. - # - # Revision 1.48 2003/05/30 00:53:19 rshortt - # Various event bugfixes. - # - # Revision 1.47 2003/05/27 17:53:33 dischi - # Added new event handler module - # - # Revision 1.46 2003/04/28 18:07:45 dischi - # restore the correct item - # - # Revision 1.45 2003/04/26 15:08:51 dischi - # o better mount/umount, also for directories who are no rom drive. - # o added list_usb_devices to util - # - # Revision 1.44 2003/04/24 19:55:48 dischi - # comment cleanup for 1.3.2-pre4 - # - # Revision 1.43 2003/04/24 19:13:27 dischi - # bugfix - # - # Revision 1.42 2003/04/21 12:59:35 dischi - # better plugin event handling - # - # Revision 1.41 2003/04/20 12:43:32 dischi - # make the rc events global in rc.py to avoid get_singleton. There is now - # a function app() to get/set the app. Also the events should be passed to - # the daemon plugins when there is no handler for them before. Please test - # it, especialy the mixer functions. - # - # Revision 1.40 2003/04/20 11:44:45 dischi - # add item plugins - # - # Revision 1.39 2003/04/20 10:55:40 dischi - # mixer is now a plugin, too - # - # Revision 1.38 2003/04/19 21:28:39 dischi - # identifymedia.py is now a plugin and handles everything related to - # rom drives (init, autostarter, items in menus) - # # --- # Freevo - A Home Theater PC framework --- 10,23 # --- # $Log$ + # Revision 1.53 2003/07/12 10:05:04 dischi + # Load skin singleton only when needed and make events global + # # Revision 1.52 2003/07/01 02:58:17 outlyer # Added lame/cdparanoia and defaults for the cdbackup plugin # Removed some messages from src/main and src/menu # # Revision 1.50 2003/06/07 11:30:27 dischi # support for MENU_CALL_ITEM_ACTION # # --- # Freevo - A Home Theater PC framework *** *** 81,91 # - import traceback - - # Configuration file. Determines where to look for AVI/MP3 files, etc - import config - import plugin - from item import Item --- 40,44 *** *** 96,107 import skin ! import event as em from gui.GUIObject import * from gui.AlertBox import AlertBox - TRUE = 1 - FALSE = 0 ! skin = skin.get_singleton() # Crate the skin object. # Module variable that contains an initialized MenuWidget() object --- 49,58 import skin ! from event import * from gui.GUIObject import * from gui.AlertBox import AlertBox ! # Module variable that contains an initialized MenuWidget() object *** *** 162,168 self.previous_page_start.append(0) self.umount_all = umount_all# umount all ROM drives on display? ! if xml_file: ! self.skin_settings = skin.LoadSettings(xml_file) else: self.skin_settings = None --- 113,119 self.previous_page_start.append(0) self.umount_all = umount_all# umount all ROM drives on display? ! self.skin = skin.get_singleton() if xml_file: ! self.skin_settings = self.skin.LoadSettings(xml_file) else: self.skin_settings = None *** *** 178,182 self.item_types = item_types self.force_skin_layout = force_skin_layout ! self.display_style = skin.GetDisplayStyle(self) --- 129,133 self.item_types = item_types self.force_skin_layout = force_skin_layout ! self.display_style = self.skin.GetDisplayStyle(self) *** *** 197,201 def items_per_page(self): ! return skin.items_per_page(('menu', self)) --- 148,152 def items_per_page(self): ! return self.skin.items_per_page(('menu', self)) *** *** 229,232 ---
[Freevo-cvslog] freevo/src skin.py,1.2,1.3
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv15689 Modified Files: skin.py Log Message: load skin only when needed Index: skin.py === RCS file: /cvsroot/freevo/freevo/src/skin.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** skin.py 24 Apr 2003 19:55:55 - 1.2 --- skin.py 12 Jul 2003 10:08:11 - 1.3 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.3 2003/07/12 10:08:11 dischi + # load skin only when needed + # # Revision 1.2 2003/04/24 19:55:55 dischi # comment cleanup for 1.3.2-pre4 *** *** 61,71 DEBUG = config.DEBUG - # Loads the skin implementation defined in freevo_config.py - sys.path += [os.path.dirname(config.OSD_SKIN)] - modname = os.path.basename(config.OSD_SKIN)[:-3] - exec('import ' + modname + ' as skinimpl') - - if DEBUG: print 'Imported skin %s' % config.OSD_SKIN - _singleton = None --- 64,67 *** *** 77,80 --- 73,83 global _singleton if _singleton == None: + # Loads the skin implementation defined in freevo_config.py + sys.path += [os.path.dirname(config.OSD_SKIN)] + modname = os.path.basename(config.OSD_SKIN)[:-3] + exec('import ' + modname + ' as skinimpl') + + if DEBUG: print 'Imported skin %s' % config.OSD_SKIN + _singleton = skinimpl.Skin() --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src rc.py,1.18,1.19
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv15906 Modified Files: rc.py Log Message: load osd only when needed Index: rc.py === RCS file: /cvsroot/freevo/freevo/src/rc.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** rc.py 11 Jul 2003 02:01:11 - 1.18 --- rc.py 12 Jul 2003 10:10:56 - 1.19 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.19 2003/07/12 10:10:56 dischi + # load osd only when needed + # # Revision 1.18 2003/07/11 02:01:11 rshortt # Stop freevo from getting double events in some cases. *** *** 91,96 import osd - osd = osd.get_singleton() - PYLIRC = 1 try: --- 94,97 *** *** 144,147 --- 145,149 def __init__(self, port=config.REMOTE_CONTROL_PORT): self.pylirc = PYLIRC + self.osd= osd.get_singleton() if self.pylirc: try: *** *** 207,211 return ret ! e = self.key_event_mapper(osd._cb()) if e: return e --- 209,213 return ret ! e = self.key_event_mapper(self.osd._cb()) if e: return e *** *** 216,220 for code in list: e = self.key_event_mapper(code) ! if not e: e = self.key_event_mapper(osd._cb) if e: return e --- 218,222 for code in list: e = self.key_event_mapper(code) ! if not e: e = self.key_event_mapper(self.osd._cb) if e: return e --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src/gui ZIndexRenderer.py,1.8,1.9
Update of /cvsroot/freevo/freevo/src/gui In directory sc8-pr-cvs1:/tmp/cvs-serv15970 Modified Files: ZIndexRenderer.py Log Message: load osd only when needed Index: ZIndexRenderer.py === RCS file: /cvsroot/freevo/freevo/src/gui/ZIndexRenderer.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ZIndexRenderer.py 25 Jun 2003 02:27:39 - 1.8 --- ZIndexRenderer.py 12 Jul 2003 10:11:34 - 1.9 *** *** 7,10 --- 7,13 #--- # $Log$ + # Revision 1.9 2003/07/12 10:11:34 dischi + # load osd only when needed + # # Revision 1.8 2003/06/25 02:27:39 rshortt # Allow 'frame' containers to grow verticly to hold all contents. Also *** *** 98,102 import pygame - osd = osd.get_singleton() DEBUG = 0 --- 101,104 *** *** 212,216 pygame.image.save( o.bg_image, iname ) iname = '/tmp/last-screen.bmp' ! pygame.image.save( osd.screen.convert(), iname ) --- 214,218 pygame.image.save( o.bg_image, iname ) iname = '/tmp/last-screen.bmp' ! pygame.image.save( osd.get_singleton().screen.convert(), iname ) --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src/video/plugins imdb.py,1.15,1.16
Update of /cvsroot/freevo/freevo/src/video/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv22902 Modified Files: imdb.py Log Message: switch to new imdb helper Index: imdb.py === RCS file: /cvsroot/freevo/freevo/src/video/plugins/imdb.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** imdb.py 8 Jul 2003 20:02:27 - 1.15 --- imdb.py 12 Jul 2003 11:20:14 - 1.16 *** *** 16,49 # --- # $Log$ ! # Revision 1.15 2003/07/08 20:02:27 dischi ! # small bugfix ! # ! # Revision 1.14 2003/07/05 17:04:57 dischi ! # catch exceptions ! # ! # Revision 1.13 2003/06/29 20:43:30 dischi ! # o mmpython support ! # o mplayer is now a plugin ! # ! # Revision 1.12 2003/06/27 11:34:09 dischi ! # some small fixes for movies on rom drive ! # ! # Revision 1.11 2003/06/26 13:23:21 dischi ! # remove 'the' and 'a' from the imdb search string (add more in local_conf.py ! # if you like) because they mess up the results. Also fixed the filename ! # included in the fxd ! # ! # Revision 1.10 2003/06/24 18:39:42 dischi ! # some small fixes ! # ! # Revision 1.9 2003/06/23 19:52:55 dischi ! # change event key to imdb_search_or_cover_search ! # ! # Revision 1.8 2003/06/09 14:45:16 dischi ! # add support for DVD/VCD ! # ! # Revision 1.7 2003/06/07 11:32:48 dischi ! # reactivated the plugin # # # --- --- 16,24 # --- # $Log$ ! # Revision 1.16 2003/07/12 11:20:14 dischi ! # switch to new imdb helper # + # Revision 1.16 2003/07/10 15:00:00 den_RDC + # rewrite to use fxdimdb # # --- *** *** 75,91 import plugin import re from gui.PopupBox import PopupBox ! ! def point_maker(matching): ! ! small help function to split a movie name into parts ! ! return '%s.%s' % (matching.groups()[0], matching.groups()[1]) ! ! class PluginInterface(plugin.ItemPlugin): def imdb_get_disc_searchstring(self, item): name = item.media.label --- 50,63 import plugin import re + import time + from video.fxdimdb import FxdImdb, makeVideo, makePart, point_maker from gui.PopupBox import PopupBox ! FALSE = 0 ! TRUE = 1 class PluginInterface(plugin.ItemPlugin): + def imdb_get_disc_searchstring(self, item): name = item.media.label *** *** 93,100 name = re.sub('([a-zA-Z])([0-9])', point_maker, name) name = re.sub('([0-9])([a-zA-Z])', point_maker, name.lower()) - for r in config.IMDB_REMOVE_FROM_LABEL: name = re.sub(r, '', name) - parts = re.split('[\._ -]', name) --- 65,70 *** *** 107,215 else: return '' - def actions(self, item): self.item = item if item.type == 'video' and not hasattr(item, 'fxd_file'): - print item.mode if item.mode == 'file': ! return [ ( self.imdb_search_file, 'Search IMDB for this file', 'imdb_search_or_cover_search') ] if item.mode in ('dvd', 'vcd'): s = self.imdb_get_disc_searchstring(self.item) - print s if s: ! return [ ( self.imdb_search_disc, 'Search IMDB for [%s]' % s, 'imdb_search_or_cover_search') ] return [] - - def imdb_search_disc(self, arg=None, menuw=None): - - search imdb for this disc item - - import helpers.imdb - - box = PopupBox(text='searching IMDB...') - box.show() - - name = self.imdb_get_disc_searchstring(self.item) - items = [] - try: - for id,name,year,type in helpers.imdb.search(name): - items += [ menu.MenuItem('%s (%s, %s)' % (name, year, type), - self.imdb_create_fxd_disc, (id, year)) ] - moviemenu = menu.Menu('IMDB QUERY', items) - except: - box.destroy() - box = PopupBox(text='Unknown error while connecting to IMDB') - box.show() - time.sleep(2) - box.destroy() - return - - box.destroy() - menuw.pushmenu(moviemenu) - - - def imdb_create_fxd_disc(self, arg=None, menuw=None): - - create fxd file for the disc item - - import helpers.imdb - - box = PopupBox(text='getting data...') - box.show() - - filename = os.path.join(config.MOVIE_DATA_DIR, self.item.media.id) -
[Freevo-cvslog] freevo/skins/fonts Vera.ttf,NONE,1.1 VeraBI.ttf,NONE,1.1 VeraBd.ttf,NONE,1.1 VeraIt.ttf,NONE,1.1 VeraMoBI.ttf,NONE,1.1 VeraMoBd.ttf,NONE,1.1 VeraMoIt.ttf,NONE,1.1 VeraMono.ttf,NONE,1.1 VeraSe.ttf,NONE,1.1 VeraSeBd.ttf,NONE,1.1
Update of /cvsroot/freevo/freevo/skins/fonts In directory sc8-pr-cvs1:/tmp/cvs-serv10328 Added Files: Vera.ttf VeraBI.ttf VeraBd.ttf VeraIt.ttf VeraMoBI.ttf VeraMoBd.ttf VeraMoIt.ttf VeraMono.ttf VeraSe.ttf VeraSeBd.ttf Log Message: Added Bitstream Vera fonts. --- NEW FILE: Vera.ttf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: VeraBI.ttf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: VeraBd.ttf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: VeraIt.ttf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: VeraMoBI.ttf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: VeraMoBd.ttf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: VeraMoIt.ttf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: VeraMono.ttf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: VeraSe.ttf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: VeraSeBd.ttf --- (This appears to be a binary file; contents omitted.) --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo freevo_config.py,1.210,1.211
Update of /cvsroot/freevo/freevo In directory sc8-pr-cvs1:/tmp/cvs-serv12215 Modified Files: freevo_config.py Log Message: Replaced fonts with Bistream Vera; there may be minor cosmetic issues because the old fonts didn't have proper sizes so I'll be checking for that. Index: freevo_config.py === RCS file: /cvsroot/freevo/freevo/freevo_config.py,v retrieving revision 1.210 retrieving revision 1.211 diff -C2 -d -r1.210 -r1.211 *** freevo_config.py11 Jul 2003 16:50:10 - 1.210 --- freevo_config.py12 Jul 2003 14:28:52 - 1.211 *** *** 548,557 # OSD default font. It is only used for debug/error stuff, not regular skinning. # ! OSD_DEFAULT_FONTNAME = 'skins/fonts/bluehigh.ttf' OSD_DEFAULT_FONTSIZE = 18 # Font aliases, all names must be lowercase! # All alternate fonts must be in './skins/fonts/' ! OSD_FONT_ALIASES = { 'arial_bold.ttf' : 'kimberly_alt.ttf' } OSD_SDL_EXEC_AFTER_STARTUP = --- 548,557 # OSD default font. It is only used for debug/error stuff, not regular skinning. # ! OSD_DEFAULT_FONTNAME = 'skins/fonts/Vera.ttf' OSD_DEFAULT_FONTSIZE = 18 # Font aliases, all names must be lowercase! # All alternate fonts must be in './skins/fonts/' ! OSD_FONT_ALIASES = { 'arial_bold.ttf' : 'VeraBd.ttf' } OSD_SDL_EXEC_AFTER_STARTUP = --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/skins/xml/example barbieri.fxd,1.1,1.2 blue2.fxd,1.1,1.2
Update of /cvsroot/freevo/freevo/skins/xml/example In directory sc8-pr-cvs1:/tmp/cvs-serv12215/skins/xml/example Modified Files: barbieri.fxd blue2.fxd Log Message: Replaced fonts with Bistream Vera; there may be minor cosmetic issues because the old fonts didn't have proper sizes so I'll be checking for that. Index: barbieri.fxd === RCS file: /cvsroot/freevo/freevo/skins/xml/example/barbieri.fxd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** barbieri.fxd10 Jul 2003 20:37:49 - 1.1 --- barbieri.fxd12 Jul 2003 14:28:53 - 1.2 *** *** 669,685 ! font label=grey name=Arial_Bold size=16 color=0xdd/ ! font label=white name=Arial_Bold size=16 color=0xff/ ! font label=grey big name=Arial_Bold size=18 color=0xdd/ ! font label=white big name=Arial_Bold size=18 color=0xff/ ! font label=info title name=impact size=24 color=0xff shadow x=2 y=2 color=0x00 visible=yes / /font ! font label=info plotname=timesbd size=16 color=0xff / ! font label=info tagline name=Arial_Bold size=16 color=0xff / ! font label=info description name=Arial_Bold size=14 color=0xaa / ! font label=info label name=Arial_Bold size=14 color=0xff / ! font label=info value name=Arial_Bold size=14 color=0xaa / /skin /freevo --- 669,685 ! font label=grey name=VeraBd size=16 color=0xdd/ ! font label=white name=VeraBd size=16 color=0xff/ ! font label=grey big name=VeraBd size=18 color=0xdd/ ! font label=white big name=VeraBd size=18 color=0xff/ ! font label=info title name=VeraBd size=24 color=0xff shadow x=2 y=2 color=0x00 visible=yes / /font ! font label=info plotname=VeraSeBd size=16 color=0xff / ! font label=info tagline name=VeraBd size=16 color=0xff / ! font label=info description name=VeraBd size=14 color=0xaa / ! font label=info label name=VeraBd size=14 color=0xff / ! font label=info value name=VeraBd size=14 color=0xaa / /skin /freevo Index: blue2.fxd === RCS file: /cvsroot/freevo/freevo/skins/xml/example/blue2.fxd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** blue2.fxd 10 Jul 2003 20:37:49 - 1.1 --- blue2.fxd 12 Jul 2003 14:28:53 - 1.2 *** *** 102,106 /layout ! font label=title small name=Arial_Bold size=22 color=0xff/ !-- listing area for audio with images -- --- 102,106 /layout ! font label=title small name=VeraBd size=22 color=0xff/ !-- listing area for audio with images -- --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/skins/xml/type1 blue.fxd,1.3,1.4 blue_round1.fxd,1.2,1.3 info.fxd,1.3,1.4 noia.fxd,1.1,1.2
Update of /cvsroot/freevo/freevo/skins/xml/type1 In directory sc8-pr-cvs1:/tmp/cvs-serv12215/skins/xml/type1 Modified Files: blue.fxd blue_round1.fxd info.fxd noia.fxd Log Message: Replaced fonts with Bistream Vera; there may be minor cosmetic issues because the old fonts didn't have proper sizes so I'll be checking for that. Index: blue.fxd === RCS file: /cvsroot/freevo/freevo/skins/xml/type1/blue.fxd,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** blue.fxd11 Jul 2003 20:25:45 - 1.3 --- blue.fxd12 Jul 2003 14:28:53 - 1.4 *** *** 142,151 !-- font and colors used in this layouts -- ! font label=title name=kimberly_alt size=30 color=0xff/ ! font label=item name=kimberly_alt size=16 color=0xdd/ ! font label=selected name=kimberly_alt size=16 color=0xff/ ! font label=main name=kimberly_alt size=30 color=0xdd/ ! font label=main selected name=kimberly_alt size=30 color=0xff/ ! font label=default name=kimberly_alt size=16 color=0xff/ color label=selection value=0xa000/ --- 142,151 !-- font and colors used in this layouts -- ! font label=title name=VeraBD.ttf size=30 color=0xff/ ! font label=item name=VeraBD.ttf size=16 color=0xdd/ ! font label=selected name=VeraBD.ttf size=16 color=0xff/ ! font label=main name=VeraBD.ttf size=30 color=0xdd/ ! font label=main selected name=VeraBD.ttf size=30 color=0xff/ ! font label=default name=VeraBD.ttf size=16 color=0xff/ color label=selection value=0xa000/ *** *** 292,299 !-- font used in the info area -- ! font label=info plotname=kimberly_alt size=16 color=0xff/ ! font label=info tagline name=kimberly_alt size=18 color=0xff/ ! font label=info label name=kimberly_alt size=14 color=0xff/ ! font label=info value name=kimberly_alt size=14 color=0xaa/ --- 292,299 !-- font used in the info area -- ! font label=info plotname=VeraBD.ttf size=16 color=0xff/ ! font label=info tagline name=VeraBD.ttf size=18 color=0xff/ ! font label=info label name=VeraBD.ttf size=14 color=0xff/ ! font label=info value name=VeraBD.ttf size=14 color=0xaa/ *** *** 320,325 /layout ! font label=widget name=kimberly_alt size=16 color=0xff/ ! font label=selected widget name=kimberly_alt size=16 color=0x164668/ color label=widget text value=0xff/ --- 320,325 /layout ! font label=widget name=VeraBD.ttf size=16 color=0xff/ ! font label=selected widget name=VeraBD.ttf size=16 color=0x164668/ color label=widget text value=0xff/ *** *** 405,413 /layout ! font label=player title name=kimberly_alt size=24 color=0xff shadow x=2 y=2 color=0x00 visible=yes/ /font ! font label=player artist name=kimberly_alt size=18 color=0xff/ ! font label=player info name=kimberly_alt size=14 color=0xaa/ color label=player mask value=0x8000/ --- 405,413 /layout ! font label=player title name=VeraBD.ttf size=24 color=0xff shadow x=2 y=2 color=0x00 visible=yes/ /font ! font label=player artist name=VeraBD.ttf size=18 color=0xff/ ! font label=player info name=VeraBD.ttf size=14 color=0xaa/ color label=player mask value=0x8000/ *** *** 486,495 ! font label=tv name=kimberly_alt size=16 color=0xff/ ! font label=tv selected name=kimberly_alt size=16 color=0x66 shadow visible=yes color=0x00 x=1 y=1/ /font ! font label=tv time name=kimberly_alt size=14 color=0xaa/ ! font label=tv title name=kimberly_alt size=24 color=0xff shadow x=2 y=2 color=0x00 visible=yes/ /font --- 486,495 ! font label=tv name=VeraBD.ttf size=16 color=0xff/ ! font label=tv selected name=VeraBD.ttf size=16 color=0x66 shadow visible=yes color=0x00 x=1 y=1/ /font ! font label=tv time name=VeraBD.ttf size=14 color=0xaa/ ! font label=tv title name=VeraBD.ttf size=24 color=0xff shadow x=2 y=2 color=0x00 visible=yes/ /font Index: blue_round1.fxd === RCS file: /cvsroot/freevo/freevo/skins/xml/type1/blue_round1.fxd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** blue_round1.fxd 10 Jul 2003 20:41:38 - 1.2 --- blue_round1.fxd 12 Jul 2003 14:28:53 - 1.3 *** *** 78,95 !-- FONT DEFINITIONS -- ! font label=white shadow1 name=bluehigh color=0xff size=20 shadow visible=yes color=0x x=1 y=1/
[Freevo-cvslog] freevo/src osd.py,1.65,1.66
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv12463 Modified Files: osd.py Log Message: Changed to Vera for default font. Index: osd.py === RCS file: /cvsroot/freevo/freevo/src/osd.py,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** osd.py 11 Jul 2003 20:35:58 - 1.65 --- osd.py 12 Jul 2003 14:30:14 - 1.66 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.66 2003/07/12 14:30:14 outlyer + # Changed to Vera for default font. + # # Revision 1.65 2003/07/11 20:35:58 dischi # fixed some height problems in drawstringframed *** *** 1097,1101 print '%s %s %s %s' % (ks, cmd, x, y) ! fname = 'skins/fonts/bluehigh.ttf' if ks: self.drawstring(ks, x, y, font=fname, ptsize=14) if cmd: self.drawstring(cmd, x+80, y, font=fname, ptsize=14) --- 1100,1104 print '%s %s %s %s' % (ks, cmd, x, y) ! fname = 'skins/fonts/Vera.ttf' if ks: self.drawstring(ks, x, y, font=fname, ptsize=14) if cmd: self.drawstring(cmd, x+80, y, font=fname, ptsize=14) --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo ChangeLog,1.69,1.70
Update of /cvsroot/freevo/freevo In directory sc8-pr-cvs1:/tmp/cvs-serv13163 Modified Files: ChangeLog Log Message: ... Index: ChangeLog === RCS file: /cvsroot/freevo/freevo/ChangeLog,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** ChangeLog 7 Jul 2003 20:22:35 - 1.69 --- ChangeLog 12 Jul 2003 14:35:39 - 1.70 *** *** 13,16 --- 13,17 * New skin 'info' which uses the new info area * Major speed enhancements in the skin drawing code + * Replaced fonts with Bitstream Vera fonts. --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-devel] Re: fonts we ship
Done... made a ton of small changes, so please give it a try... everything seems ok on my end. On Sat, Jul 12, 2003 at 11:29:06AM +0200, Dirk Meyer wrote: Aubin Paul wrote: Are there any fonts in there that we *want* to keep for some reason? There are a few different Vera fonts (serif, sans serif, etc.) so I think we cover all the standard font styles. The only issue is if someone is depending on a stylized font. Delete the old stuff. I make a copy of them here on my hd, we can readd them later. And we should include a link to the old font archive to know where to find more fonts. Dischi -- The Second Law of Thermodynamics: If you think things are in a mess now, just wait! -- Jim Warner --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-cvslog] freevo/src osd.py,1.66,1.67
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv24585 Modified Files: osd.py Log Message: get alignment size from rendered layer Index: osd.py === RCS file: /cvsroot/freevo/freevo/src/osd.py,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** osd.py 12 Jul 2003 14:30:14 - 1.66 --- osd.py 12 Jul 2003 15:50:46 - 1.67 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.67 2003/07/12 15:50:46 dischi + # get alignment size from rendered layer + # # Revision 1.66 2003/07/12 14:30:14 outlyer # Changed to Vera for default font. *** *** 801,814 if not l: continue - if align_h == 'left' or align_h == 'justified' or not align_h: - x0 = x - elif align_h == 'right': - x0 = x + (width - w) - elif align_h == 'center': - x0 = x + int((width-w)/2) - else: - #print 'what align_h is that: %s' % align_h - x0 = x if layer != '': try: --- 804,809 if not l: continue + x0 = x if layer != '': try: *** *** 818,822 # redraws changed areas, it doesn't matter and saves the time # when searching the cache ! layer.blit(font.font.render(l, 1, self._sdlcol(fgcolor)), (x0, y0)) except: print Render failed, skipping... --- 813,822 # redraws changed areas, it doesn't matter and saves the time # when searching the cache ! render = font.font.render(l, 1, self._sdlcol(fgcolor)) ! if align_h == 'right': ! x0 = x + width - render.get_size()[0] ! elif align_h == 'center': ! x0 = x + int((width - render.get_size()[0]) / 2) ! layer.blit(render, (x0, y0)) except: print Render failed, skipping... --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/skins/xml/type1 info.fxd,1.5,1.6
Update of /cvsroot/freevo/freevo/skins/xml/type1 In directory sc8-pr-cvs1:/tmp/cvs-serv25880 Modified Files: info.fxd Log Message: make background for non selected item Index: info.fxd === RCS file: /cvsroot/freevo/freevo/skins/xml/type1/info.fxd,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** info.fxd12 Jul 2003 15:52:18 - 1.5 --- info.fxd12 Jul 2003 16:01:33 - 1.6 *** *** 146,150 layout label=audio list content type=image spacing=-2 ! item type=default width=100 height=100 align=center valign=center/ item type=selected width=110 height=110 align=center valign=center rectangle bgcolor=selection size=0 x=-5 y=-5 width=max+10 --- 146,153 layout label=audio list content type=image spacing=-2 ! item type=default width=100 height=100 align=center valign=center ! rectangle bgcolor=0xd000 size=0 x=0 y=0 width=max ! height=max/ ! /item item type=selected width=110 height=110 align=center valign=center rectangle bgcolor=selection size=0 x=-5 y=-5 width=max+10 *** *** 157,161 layout label=video list content type=image spacing=-2 ! item type=default width=80 height=112 align=center valign=center/ item type=selected width=87 height=122 align=center valign=center rectangle bgcolor=selection size=0 x=-5 y=-5 width=max+10 --- 160,167 layout label=video list content type=image spacing=-2 ! item type=default width=80 height=112 align=center valign=center ! rectangle bgcolor=0xd000 size=0 x=0 y=0 width=max ! height=max/ ! /item item type=selected width=87 height=122 align=center valign=center rectangle bgcolor=selection size=0 x=-5 y=-5 width=max+10 *** *** 169,173 content type=image spacing=-2 item type=default width=140 height=115 align=center ! valign=center/ item type=selected width=154 height=131 align=center valign=center --- 175,182 content type=image spacing=-2 item type=default width=140 height=115 align=center ! valign=center ! rectangle bgcolor=0xd000 size=0 x=0 y=0 width=max ! height=max/ ! /item item type=selected width=154 height=131 align=center valign=center --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src/plugins idlebar.py,1.18,1.19
Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv7040 Modified Files: idlebar.py Log Message: moved idlebar to a skin plugin Index: idlebar.py === RCS file: /cvsroot/freevo/freevo/src/plugins/idlebar.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** idlebar.py 5 Jul 2003 14:57:07 - 1.18 --- idlebar.py 12 Jul 2003 17:17:27 - 1.19 *** *** 23,26 --- 23,29 # --- # $Log$ + # Revision 1.19 2003/07/12 17:17:27 dischi + # moved idlebar to a skin plugin + # # Revision 1.18 2003/07/05 14:57:07 dischi # the idlebar registers itself as idlebar to the plugin interface *** *** 121,127 import pymetar - import osd - osd = osd.get_singleton() - TRUE = 1 FALSE = 0 --- 124,127 *** *** 132,158 plugin.DaemonPlugin.__init__(self) self.poll_interval = 300 - self.toolbar_surface = None self.plugins = None plugin.register(self, 'idlebar') self.visible = TRUE ! def draw(self, (type, object)): ! if not self.toolbar_surface: ! osd.drawbox(0,0,osd.width,75,color=0x8000,width=-1) ! self.toolbar_surface = osd.getsurface(0,0,osd.width,75) if not self.plugins: self.plugins = plugin.get('idlebar') ! ! osd.putsurface(self.toolbar_surface,0,0) for p in self.plugins: ! p.draw((type, object)) ! rect = (0,0,osd.width,75) ! osd.update(rect) def poll(self): # XXX This probably shouldn't be None,None, but at least it doesn't crash ! self.draw((None,None)) ! class IdleBarPlugin(plugin.Plugin): --- 132,154 plugin.DaemonPlugin.__init__(self) self.poll_interval = 300 self.plugins = None plugin.register(self, 'idlebar') self.visible = TRUE ! def draw(self, (type, object), osd): ! osd.drawroundbox(0, 0, osd.width, osd.y + 60, (0x8000, 0, 0, 0)) if not self.plugins: self.plugins = plugin.get('idlebar') ! x = osd.x for p in self.plugins: ! add_x = p.draw((type, object), x, osd) ! if add_x: ! x += add_x + 20 def poll(self): # XXX This probably shouldn't be None,None, but at least it doesn't crash ! # self.draw((None,None)) ! pass class IdleBarPlugin(plugin.Plugin): *** *** 161,165 self._type = 'idlebar' ! def draw(self, (type, object)): return --- 157,161 self._type = 'idlebar' ! def draw(self, (type, object), x, osd): return *** *** 168,180 def __init__(self): IdleBarPlugin.__init__(self) - self.CLOCKFONT = 'skins/fonts/Trebuchet_MS.ttf' - if not os.path.isfile(self.CLOCKFONT): - # XXX Get this from the skin, but for now this will allow it to work - self.CLOCKFONT = config.OSD_DEFAULT_FONTNAME ! def draw(self, (type, object)): clock = time.strftime('%a %I:%M %P') ! osd.drawstring(clock,580,40,fgcolor=0xff,font=self.CLOCKFONT,ptsize=12) ! class cdstatus(IdleBarPlugin): --- 164,175 def __init__(self): IdleBarPlugin.__init__(self) ! def draw(self, (type, object), x, osd): clock = time.strftime('%a %I:%M %P') ! font = osd.get_font('clock') ! osd.write_text(clock, font, None, osd.x + osd.width-200, osd.y + 10, 190, !40, 'right', 'center') ! return 0 ! class cdstatus(IdleBarPlugin): *** *** 190,194 self.cdimages ['mixed'] = 'skins/images/status/cd_mixed.png' ! def draw(self, (type, object)): image = self.cdimages['empty_cdrom'] for media in config.REMOVABLE_MEDIA: --- 185,189 self.cdimages ['mixed'] = 'skins/images/status/cd_mixed.png' ! def draw(self, (type, object), x, osd): image = self.cdimages['empty_cdrom'] for media in config.REMOVABLE_MEDIA: *** *** 198,202 elif media.info.handle_type: image = self.cdimages[media.info.handle_type] ! osd.drawbitmap(image,220,30) class mail(IdleBarPlugin): --- 193,198 elif media.info.handle_type: image = self.cdimages[media.info.handle_type] ! return osd.draw_image(image, (x, osd.y + 15, -1, -1))[0] ! class mail(IdleBarPlugin): *** *** 221,229 return 0 ! def draw(self, (type, object)): if self.checkmail() 0: !
[Freevo-cvslog] freevo/src plugin.py,1.22,1.23
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv7138 Modified Files: plugin.py Log Message: update doc Index: plugin.py === RCS file: /cvsroot/freevo/freevo/src/plugin.py,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** plugin.py 9 Jul 2003 19:12:57 - 1.22 --- plugin.py 12 Jul 2003 17:17:45 - 1.23 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.23 2003/07/12 17:17:45 dischi + # update doc + # # Revision 1.22 2003/07/09 19:12:57 dischi # A plugin can now inherit from more than one basic plugin type. Basic *** *** 107,112 def poll(self): this function will be called every poll_intervall*0.1 seconds ! def draw(self): ! this function will be caleed to update the screen def eventhandler(self, event): events no one else wants will be passed to this functions --- 110,115 def poll(self): this function will be called every poll_intervall*0.1 seconds ! def draw(self(type, object), osd): ! this function will be called to update the screen def eventhandler(self, event): events no one else wants will be passed to this functions --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/skins/main1 skin_main1.py,1.106,1.107
Update of /cvsroot/freevo/freevo/skins/main1 In directory sc8-pr-cvs1:/tmp/cvs-serv8427 Modified Files: skin_main1.py Log Message: added redraw() to force a redraw (plugins may need this) Index: skin_main1.py === RCS file: /cvsroot/freevo/freevo/skins/main1/skin_main1.py,v retrieving revision 1.106 retrieving revision 1.107 diff -C2 -d -r1.106 -r1.107 *** skin_main1.py 12 Jul 2003 17:16:30 - 1.106 --- skin_main1.py 12 Jul 2003 17:29:33 - 1.107 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.107 2003/07/12 17:29:33 dischi + # added redraw() to force a redraw (plugins may need this) + # # Revision 1.106 2003/07/12 17:16:30 dischi # created a special area for plugins to draw *** *** 269,273 self.display_style = config.SKIN_START_LAYOUT self.force_redraw = TRUE ! self.last_draw = None self.screen = Screen() self.xml_cache = objectcache.ObjectCache(3, desc='xmlskin') --- 272,276 self.display_style = config.SKIN_START_LAYOUT self.force_redraw = TRUE ! self.last_draw = None, None self.screen = Screen() self.xml_cache = objectcache.ObjectCache(3, desc='xmlskin') *** *** 495,498 --- 498,509 + def redraw(self): + + redraw the current screen + + if self.last_draw[0] and self.last_draw[1]: + self.draw(self.last_draw) + + def draw(self, (type, object)): *** *** 551,562 style = self.GetDisplayStyle(menu) ! if self.last_draw != type: self.force_redraw = TRUE ! self.last_draw = type self.screen.clear() for a in all_areas: ! a.draw(settings, object, style, self.last_draw, self.force_redraw) self.screen.show(self.force_redraw) --- 562,573 style = self.GetDisplayStyle(menu) ! if self.last_draw[0] != type: self.force_redraw = TRUE ! self.last_draw = type, object self.screen.clear() for a in all_areas: ! a.draw(settings, object, style, type, self.force_redraw) self.screen.show(self.force_redraw) --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src/plugins idlebar.py,1.19,1.20
Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv8458 Modified Files: idlebar.py Log Message: redraw when polling Index: idlebar.py === RCS file: /cvsroot/freevo/freevo/src/plugins/idlebar.py,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** idlebar.py 12 Jul 2003 17:17:27 - 1.19 --- idlebar.py 12 Jul 2003 17:29:58 - 1.20 *** *** 23,26 --- 23,29 # --- # $Log$ + # Revision 1.20 2003/07/12 17:29:58 dischi + # redraw when polling + # # Revision 1.19 2003/07/12 17:17:27 dischi # moved idlebar to a skin plugin *** *** 119,122 --- 122,126 import string import mailbox + import skin import plugin *** *** 140,144 if not self.plugins: self.plugins = plugin.get('idlebar') ! x = osd.x for p in self.plugins: add_x = p.draw((type, object), x, osd) --- 144,148 if not self.plugins: self.plugins = plugin.get('idlebar') ! x = osd.x + 10 for p in self.plugins: add_x = p.draw((type, object), x, osd) *** *** 148,154 def poll(self): ! # XXX This probably shouldn't be None,None, but at least it doesn't crash ! # self.draw((None,None)) ! pass class IdleBarPlugin(plugin.Plugin): --- 152,157 def poll(self): ! skin.get_singleton().redraw() ! class IdleBarPlugin(plugin.Plugin): --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-devel] idlebar update
Hi, I create a special skin area 'plugin' where plugisn are allowed to draw. This area covers the whole screen and you can't activate or deactivate this area in the xml file. A plugin with a draw() function (like idlebar) now gets this area as parameter in it's draw() function. I called it osd in the idlebar, but it's not osd.OSD, it's the area (so you must use the areas draw functions). By that the idlebar always redraws all the stuff (even the background) and the skin takes care if this object has to be redrawn or not. All the idlebar plugins are also updated. They are drawn based on the 'level' in plugin.activate. By changing the levels, you can rearrange the items in the bar (and you don't get a hole when you don't load a plugin). Exception: the clock always draws itself at the right side, you can't change that. Limitations: some stuff is still hardcoded, e.g. the sizes. If you have a small resolution, there is space for fewer items. Some items need fonts (clock, wheater). They take the font 'weather' and 'clock' from the skin. If they are not defined (like now), they take the deafult font. Dischi -- Bad spellers of the world Untie! --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-cvslog] freevo/src/games mame_cache.py,1.10,1.11
Update of /cvsroot/freevo/freevo/src/games In directory sc8-pr-cvs1:/tmp/cvs-serv16384/src/games Modified Files: mame_cache.py Log Message: xmame should run through runapp. Index: mame_cache.py === RCS file: /cvsroot/freevo/freevo/src/games/mame_cache.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** mame_cache.py 11 Jul 2003 19:49:23 - 1.10 --- mame_cache.py 12 Jul 2003 18:34:35 - 1.11 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.11 2003/07/12 18:34:35 rshortt + # xmame should run through runapp. + # # Revision 1.10 2003/07/11 19:49:23 dischi # use pickle wrapper *** *** 144,148 try: ! listinfo = os.popen(config.MAME_CMD + ' --listinfo', 'r') except: print 'Unable to get mame listinfo.' --- 147,151 try: ! listinfo = os.popen('./runapp ' + config.MAME_CMD + ' --listinfo', 'r') except: print 'Unable to get mame listinfo.' --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src/plugins idlebar.py,1.20,1.21
Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv18366 Modified Files: idlebar.py Log Message: fixed overscan bug Index: idlebar.py === RCS file: /cvsroot/freevo/freevo/src/plugins/idlebar.py,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** idlebar.py 12 Jul 2003 17:29:58 - 1.20 --- idlebar.py 12 Jul 2003 18:52:22 - 1.21 *** *** 23,26 --- 23,29 # --- # $Log$ + # Revision 1.21 2003/07/12 18:52:22 dischi + # fixed overscan bug + # # Revision 1.20 2003/07/12 17:29:58 dischi # redraw when polling *** *** 141,145 def draw(self, (type, object), osd): ! osd.drawroundbox(0, 0, osd.width, osd.y + 60, (0x8000, 0, 0, 0)) if not self.plugins: self.plugins = plugin.get('idlebar') --- 144,148 def draw(self, (type, object), osd): ! osd.drawroundbox(0, 0, osd.width + 2 * osd.x, osd.y + 60, (0x8000, 0, 0, 0)) if not self.plugins: self.plugins = plugin.get('idlebar') --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src plugin.py,1.23,1.24
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv21101/src Modified Files: plugin.py Log Message: Need to set the plugin level in the plugin object. Index: plugin.py === RCS file: /cvsroot/freevo/freevo/src/plugin.py,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** plugin.py 12 Jul 2003 17:17:45 - 1.23 --- plugin.py 12 Jul 2003 19:13:25 - 1.24 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.24 2003/07/12 19:13:25 rshortt + # Need to set the plugin level in the plugin object. + # # Revision 1.23 2003/07/12 17:17:45 dischi # update doc *** *** 328,331 --- 331,335 p._number = number + p._level = level if type: --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-devel] Re: idlebar update
[EMAIL PROTECTED] wrote: Has the idlebar ever been tested on a 640x480 system? I really like this feature, and am using with with my current setup (running in 640x480). However, no mater what skin I choose: blurr, blue_round2, or the default (forget the name), the idlebar always blocks the top of the TV Guide. Is there something I can do to fix this problem? Thanks! I just tested it with the new idlebar, it works (with all skins) Dischi -- Real programmers don't comment their code. It was hard to write, it should be hard to understand. --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-cvslog] freevo/src event.py,1.13,1.14
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv27287/src Modified Files: event.py Log Message: Fix for when event arg is 0, like with INPUT_0. Index: event.py === RCS file: /cvsroot/freevo/freevo/src/event.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** event.py24 Jun 2003 17:41:09 - 1.13 --- event.py12 Jul 2003 19:56:18 - 1.14 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.14 2003/07/12 19:56:18 rshortt + # Fix for when event arg is 0, like with INPUT_0. + # # Revision 1.13 2003/06/24 17:41:09 dischi # added mixer keys *** *** 86,90 self.context = None ! if arg: self.arg = arg --- 89,93 self.context = None ! if arg or arg == 0: self.arg = arg --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/boot freevo,1.14,1.15
Update of /cvsroot/freevo/freevo/boot In directory sc8-pr-cvs1:/tmp/cvs-serv32375 Modified Files: freevo Log Message: Some minor convenience changes I've been using; the sysctl one is especially beneficial for mplayer and tvtime. Index: freevo === RCS file: /cvsroot/freevo/freevo/boot/freevo,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** freevo 14 Feb 2003 04:22:11 - 1.14 --- freevo 12 Jul 2003 20:29:54 - 1.15 *** *** 20,25 --- 20,29 case $1 in start) + echo -n Setting up RTC: + sysctl -w dev.rtc.max-user-freq=1024 /dev/null + echo sysctl. echo -n Starting $DESC: export SDL_NOKEYBOARD=true + export SDL_NOMOUSE=true export SDL_VIDEODRIVER=fbcon (cd /tmp $DAEMON $FREEVO_LOG 21 ) *** *** 39,42 --- 43,49 $VTRELEASE echo vtrelease + echo -n Hard kill to be sure: + ps aux | grep python | grep main.py | awk '{ print kill -9 $2 }' | sh + echo kill. ;; #reload) --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-devel] pylame
Turns out there are Python bindings for liblame, so we can actually do mp3 encoding directly inside of the code. This is probably better than forking a binary and we don't have to parse the information since it's already there. I don't have too much time to work on it right now, but after my tests I should be able to see what I can do with it. Aubin --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-cvslog] freevo/src/plugins rom_drives.py,1.14,1.15
Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv8755a Modified Files: rom_drives.py Log Message: sort list before checkin Index: rom_drives.py === RCS file: /cvsroot/freevo/freevo/src/plugins/rom_drives.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** rom_drives.py 5 Jul 2003 09:09:47 - 1.14 --- rom_drives.py 12 Jul 2003 21:24:19 - 1.15 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.15 2003/07/12 21:24:19 dischi + # sort list before checkin + # # Revision 1.14 2003/07/05 09:09:47 dischi # fixed eject problems *** *** 498,501 --- 501,507 start_ep = 0 end_ep = 0 + + mplayer_files.sort(lambda l, o: cmp(l.upper(), o.upper())) + for movie in mplayer_files: if config.TV_SHOW_REGEXP_MATCH(movie): *** *** 536,540 if not xml_file: xml_file = tvinfo[3] ! elif not show_name: if os.path.isfile(config.COVER_DIR+\ --- 542,546 if not xml_file: xml_file = tvinfo[3] ! elif not show_name: if os.path.isfile(config.COVER_DIR+\ --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/skins/xml/type1 blue.fxd,1.5,1.6 info.fxd,1.6,1.7
Update of /cvsroot/freevo/freevo/skins/xml/type1 In directory sc8-pr-cvs1:/tmp/cvs-serv8799 Modified Files: blue.fxd info.fxd Log Message: better directory handling in info area Index: blue.fxd === RCS file: /cvsroot/freevo/freevo/skins/xml/type1/blue.fxd,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** blue.fxd12 Jul 2003 15:52:18 - 1.5 --- blue.fxd12 Jul 2003 21:24:55 - 1.6 *** *** 270,275 item type=dir ! text font=info labelDirectory/text newline/ /item --- 270,286 item type=dir ! text font=info label expression=type/ newline/ + goto_pos y=20 mode=relative/ + if expression=tagline + text font=info tagline width=max expression=tagline/ + newline/ + goto_pos y=10 mode=relative/ + /if + if expression=plot + text font=info plot height=max mode=soft + align=justified expression=plot/ + newline/ + /if /item Index: info.fxd === RCS file: /cvsroot/freevo/freevo/skins/xml/type1/info.fxd,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** info.fxd12 Jul 2003 16:01:33 - 1.6 --- info.fxd12 Jul 2003 21:24:55 - 1.7 *** *** 263,268 item type=dir ! text font=info labelDirectory/text newline/ /item --- 263,279 item type=dir ! text font=info label expression=type/ newline/ + goto_pos y=20 mode=relative/ + if expression=tagline + text font=info tagline width=max expression=tagline/ + newline/ + goto_pos y=10 mode=relative/ + /if + if expression=plot + text font=info plot height=max mode=soft + align=justified expression=plot/ + newline/ + /if /item --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/skins/main1 area.py,1.15,1.16
Update of /cvsroot/freevo/freevo/skins/main1 In directory sc8-pr-cvs1:/tmp/cvs-serv8899 Modified Files: area.py Log Message: better skin_force_text_view Index: area.py === RCS file: /cvsroot/freevo/freevo/skins/main1/area.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** area.py 12 Jul 2003 17:16:30 - 1.15 --- area.py 12 Jul 2003 21:25:54 - 1.16 *** *** 28,31 --- 28,34 # --- # $Log$ + # Revision 1.16 2003/07/12 21:25:54 dischi + # better skin_force_text_view + # # Revision 1.15 2003/07/12 17:16:30 dischi # created a special area for plugins to draw *** *** 482,488 except: pass ! menu.skin_force_text_view = FALSE ! self.use_text_view = FALSE return for i in menu.choices: if i.type == 'dir': --- 485,505 except: pass ! ! for i in menu.choices: ! if i.type == 'dir': ! # directory with few items and folder: ! self.use_text_view = FALSE ! return ! ! if image and i.image != image: ! menu.skin_force_text_view = FALSE ! self.use_text_view = FALSE ! return ! image = i.image ! ! menu.skin_force_text_view = TRUE ! self.use_text_view = TRUE return + for i in menu.choices: if i.type == 'dir': --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
Re: [Freevo-devel] [PLUGIN] run arbitrary commands from freevo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nice plugin. Thanks a lot ! I'd like to make a few remarks: Currently the files in COMMANDS_DIR seemed to be mixed up when listed in freevo...Is there a way to change the sorting of the files - e.g sorted by name ? How can I add an icon to Commands in main menu ? Is it possible to show one entry, e.g. System (instead of Commands and Shutdown) in main menu which offers three submenus when choosen: 1. Commands - shows personal script directory when choosen 2. Shutdown Freevo 3. Shutdown system - if enabled in local_config IMO this would improve clarity of the main menu. Georg - -- Mein oeffentlicher Schluessel fuer PGP/GPG - Verschluesselung: pub 1024D/63EB55CA 2002-11-27 Georg Kuenzel [EMAIL PROTECTED] Key fingerprint = 8DA9 55C6 91FA D92D 89C3 7C22 0A1D 790C 63EB 55CA -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/EIKJCh15DGPrVcoRAsLcAJ9NiY7dD6N3MxONr5mxgFifcysPrQCglq2g V1XbcFmGqLc5Fgseh7DNh0Y= =H3dl -END PGP SIGNATURE- --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Small suggestions in DGA mode
Hi all. Due to the fact that the TVout for my RAGE 128 card is not supported, i must use the DGA mode in XFree86. As it is said in mplayer documentation (http://www.mplayerhq.hu/DOCS/video.html#dga), some drivers simply fail to switch back to normal resolution (and this is my case). So my small suggestion is to add some code in the 'stop' functions of all the mplayer objects, in order to force the switch back to the correct resolution. Something like this, i guess : ... if config.CONF.display == 'dga' : osd.toggle_fullscreen() ... Please give me your opinion. Regards, Sylvain. --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] [PLUGIN] run arbitrary commands from freevo
On Sat, 2003-07-12 at 17:49, Georg Knzel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nice plugin. Thanks a lot ! I'd like to make a few remarks: thanks. Currently the files in COMMANDS_DIR seemed to be mixed up when listed in freevo...Is there a way to change the sorting of the files - e.g sorted by name ? I don't do any sorting. it can be added. How can I add an icon to Commands in main menu ? I didn't add a icon or image because i am not sure how to try except around not having one available from the skin. Is it possible to show one entry, e.g. System (instead of Commands and Shutdown) in main menu which offers three submenus when choosen: 1. Commands - shows personal script directory when choosen 2. Shutdown Freevo 3. Shutdown system - if enabled in local_config IMO this would improve clarity of the main menu. I am not sure that is possible. -- Mike Ruelle [EMAIL PROTECTED] http://world.std.com/~mruelle/ --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel