[Freevo-cvslog] freevo/src setup_freevo.py,1.7,1.8
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv23268/src Modified Files: setup_freevo.py Log Message: Unify the app finder. Index: setup_freevo.py === RCS file: /cvsroot/freevo/freevo/src/setup_freevo.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** setup_freevo.py 25 Aug 2003 12:08:20 - 1.7 --- setup_freevo.py 25 Aug 2003 14:12:07 - 1.8 *** *** 13,16 --- 13,19 # --- # $Log$ + # Revision 1.8 2003/08/25 14:12:07 outlyer + # Unify the app finder. + # # Revision 1.7 2003/08/25 12:08:20 outlyer # Additional compatibility patches for FreeBSD from Lars Eggert *** *** 61,94 CONFIG_VERSION = 2.1 ! if os.uname()[0] == 'FreeBSD': ! EXTERNAL_PROGRAMS = (("mplayer", "mplayer", 1), ! ("tvtime", "tvtime", 0), ! ("xine", "xine", 0), ! ("fbxine", "fbxine", 0), ! ("jpegtran", "jpegtran", 0), ! ("xmame", "xmame", 0), ! ("snes9x", "snes", 0), ! ("zsnes", "snes", 0 ), ! ("lame", "lame",0), ! ("cdparanoia","cdparanoia",0), ! ("oggenc","oggenc",0), ! ("renice","renice",0), ! ("setterm", "setterm", 0)) ! ! else: ! EXTERNAL_PROGRAMS = (("mplayer", "mplayer", 1), ! ("tvtime", "tvtime", 0), ! ("xine", "xine", 0), ! ("fbxine", "fbxine", 0), ! ("jpegtran", "jpegtran", 0), ! ("xmame.x11", "xmame", 0), ! ("xmame.SDL", "xmame", 0), ! ("ssnes9x", "snes", 0), ! ("zsnes", "snes", 0 ), ! ("lame", "lame",0), ! ("cdparanoia","cdparanoia",0), ! ("oggenc","oggenc",0), ! ("renice","renice",0), ! ("setterm", "setterm", 0)) # Help text --- 64,82 CONFIG_VERSION = 2.1 ! EXTERNAL_PROGRAMS = (("mplayer", "mplayer", 1), ! ("tvtime", "tvtime", 0), ! ("xine", "xine", 0), ! ("fbxine", "fbxine", 0), ! ("jpegtran", "jpegtran", 0), ! ("xmame.x11", "xmame", 0), ! ("xmame.SDL", "xmame", 0), ! ("xmame","xmame",0), ! ("ssnes9x", "snes", 0), ! ("zsnes", "snes", 0 ), ! ("lame", "lame",0), ! ("cdparanoia","cdparanoia",0), ! ("oggenc","oggenc",0), ! ("renice","renice",0), ! ("setterm", "setterm", 0)) # Help text --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src directory.py,1.29,1.30
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv7546 Modified Files: directory.py Log Message: add import to folder.fxd options Index: directory.py === RCS file: /cvsroot/freevo/freevo/src/directory.py,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** directory.py24 Aug 2003 10:39:04 - 1.29 --- directory.py24 Aug 2003 14:08:58 - 1.30 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.30 2003/08/24 14:08:58 dischi + # add import to folder.fxd options + # # Revision 1.29 2003/08/24 10:39:04 dischi # fix a bug that the folder.fxd was not loaded anymore *** *** 68,71 --- 71,76 import image import games + from video.xml_parser import parseMovieFile + import mmpython *** *** 246,249 --- 251,269 pass + try: + import_xml = node.attrs[('', 'import')].encode('latin-1') + if os.path.isfile(os.path.join(self.dir, import_xml + '.fxd')): + info = parseMovieFile(os.path.join(self.dir, import_xml + '.fxd'), + self, []) + if info: + self.name = info[0].name + self.image = info[0].image + self.info_type = info[0].type + for key in info[0].info: + self.info[key] = info[0].info[key] + + except KeyError: + pass + for child in node.children: # set directory variables --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/WIP/Ruelle - New directory
Update of /cvsroot/freevo/freevo/WIP/Ruelle In directory sc8-pr-cvs1:/tmp/cvs-serv24586/Ruelle Log Message: Directory /cvsroot/freevo/freevo/WIP/Ruelle added to the repository --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/WIP/Ruelle radio.py,NONE,1.1
Update of /cvsroot/freevo/freevo/WIP/Ruelle In directory sc8-pr-cvs1:/tmp/cvs-serv24796 Added Files: radio.py Log Message: a first hack of a radio Main Menu plugin --- NEW FILE: radio.py --- #if 0 /* # --- # radio.py - a simple plugin to listen to radio # --- # $Id: radio.py,v 1.1 2003/08/26 03:04:52 mikeruelle Exp $ # # Notes: # Todo: # # --- # $Log: radio.py,v $ # Revision 1.1 2003/08/26 03:04:52 mikeruelle # a first hack of a radio Main Menu plugin # # # --- # Freevo - A Home Theater PC framework # Copyright (C) 2003 Krister Lagerstrom, et al. # Please see the file freevo/Docs/CREDITS for a complete list of authors. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MER- # CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # --- */ #endif #python modules import os, popen2, fcntl, select, time import pygame #freevo modules import config, menu, rc, plugin, skin, util import event as em from item import Item from gui.AlertBox import AlertBox from gui.RegionScroller import RegionScroller from gui.ListBox import ListBox from gui.AlertBox import PopupBox from gui.GUIObject import Align #get the sinfletons so we can add our menu and get skin info skin = skin.get_singleton() menuwidget = menu.get_singleton() TRUE = 1 FALSE = 0 # This is the class that actually runs the commands. Eventually # hope to add actions for different ways of running commands # and for displaying stdout and stderr of last command run. class RadioStationItem(Item): def actions(self): """ return a list of actions for this item """ items = [ ( self.tunestation , 'Listen to Station' ) ] return items def tunestation(self, arg=None, menuw=None): print self.station+" "+str(self.station_index)+" "+self.name if (self.station == 'MUTE'): mixer = plugin.getbyname('MIXER') mixer.setLineinVolume(0) mixer.setIgainVolume(0) mixer.setMicVolume(0) os.system('radio -m') else: mixer = plugin.getbyname('MIXER') mixer.setLineinVolume(config.TV_IN_VOLUME) mixer.setIgainVolume(config.TV_IN_VOLUME) mixer.setMicVolume(config.TV_IN_VOLUME) os.system('radio -qf %s' % self.station) # this is the item for the main menu and creates the list # of commands in a submenu. class RadioMainMenuItem(Item): def actions(self): """ return a list of actions for this item """ items = [ ( self.create_stations_menu , 'stations' ) ] return items def create_stations_menu(self, arg=None, menuw=None): station_items = [] for rstation in config.RADIO_STATIONS: radio_item = RadioStationItem() radio_item.name = rstation[0] radio_item.station = rstation[1] radio_item.station_index = config.RADIO_STATIONS.index(rstation) station_items += [ radio_item ] radio_item = RadioStationItem() radio_item.name = 'MUTE' radio_item.station = 'MUTE' radio_item.station_index = -1 station_items += [ radio_item ] if (len(station_items) == 0): station_items += [menu.MenuItem('No Stations found', menuwidget.goto_prev_page, 0)] station_menu = menu.Menu('Stations', station_items, reload_func=menuwidget.goto_main_menu) rc.app(None) menuwidget.pushmenu(station_menu) menuwidget.refresh() # our plugin wrapper, just creates the main menu item and adds it. class PluginInterface(plugin.MainMenuPlugin): def items(self, parent): menu_items = skin.settings.mainmenu.items item = RadioMainMenuItem() item.name = 'Radio' if menu_items.has_key('radio') and menu_items['radio'].icon: item.icon = os.path.join(skin.settings.icon_dir, menu_items['radio'].icon) if menu_items.has_key('radio') and menu_items['radio'].image: item.image = menu_items['radio'].image item.parent = parent return [ item ]
[Freevo-cvslog] freevo/WIP/Ruelle externaltuner.py,NONE,1.1
Update of /cvsroot/freevo/freevo/WIP/Ruelle In directory sc8-pr-cvs1:/tmp/cvs-serv24887 Added Files: externaltuner.py Log Message: a first hack of an external tv tuner plugin --- NEW FILE: externaltuner.py --- #if 0 /* # --- # externaltuner.py - allow freevo to tune an external tuner # --- # $Id: externaltuner.py,v 1.1 2003/08/26 03:05:30 mikeruelle Exp $ # # Notes: # Todo: # # --- # $Log: externaltuner.py,v $ # Revision 1.1 2003/08/26 03:05:30 mikeruelle # a first hack of an external tv tuner plugin # # # --- # Freevo - A Home Theater PC framework # Copyright (C) 2002 Krister Lagerstrom, et al. # Please see the file freevo/Docs/CREDITS for a complete list of authors. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MER- # CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # --- */ #endif import config import os import plugin import event as em # Set to 1 for debug output DEBUG = config.DEBUG TRUE = 1 FALSE = 0 class PluginInterface(plugin.DaemonPlugin): def __init__(self): plugin.DaemonPlugin.__init__(self) self.plugin_name = 'EXTTUNER' self.event_listener = TRUE def eventhandler(self, event = None, menuw=None, arg=None): """ eventhandler to handle the VOL events """ # Handle volume control if event == em.TV_CHANNEL_UP: channel=plugin.getbyname(plugin.TV).TunerGetChannel() index=plugin.getbyname(plugin.TV).tuner_chidx #figure out new channel print 'sending new channel to tuner: %s index: %s' % (channel, index) #send it with ir blaster return FALSE elif event == em.TV_CHANNEL_DOWN: channel=plugin.getbyname(plugin.TV).TunerGetChannel() index=plugin.getbyname(plugin.TV).tuner_chidx #figure out new channel print 'sending new channel to tuner: %s index: %s' % (channel, index) #send it with ir blaster return FALSE return FALSE --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-devel] Re: pkill and aumix
Lars Eggert wrote: > Hi, > > I just found that freevo depends on pkill and aumix. At least on > FreeBSD, these don't come with the base system. Could/should they be > added to the EXTERNAL_PROGRAMS likst in setup_freevo.py, and thus tested > for? I just checked the current cvs: pgrep is not used anymore, except in the boot script, but this part can be replaced with 'freevo stop' and I guess we need a special script for FreeBSD anyway. About aumix: I also don't have it. But it's only for Soundblaster Live cards. If you don't have one, you don't need it. Dischi -- A user friendly computer first requires a friendly user. --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-wikilog] [Freevo Wiki] Update of "DocumentationPage"
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 -- @@ -769,6 +769,19 @@ plugin.activate( 'idlebar.weather', level=30, args=( 'KOKX', ) ) }}} +Example: New York City Weather in Fahrenheit + +{{{ +plugin.activate( 'idlebar.weather', level=30, args=( 'KOKX', 'F',) ) +}}} + +Example: New York City Weather in Kelvin + +{{{ +plugin.activate( 'idlebar.weather', level=30, args=( 'KOKX', 'K',) ) +}}} + + === Clock === This one put a clock at the right side of the idle bar. It displays in this format: @@ -917,6 +930,24 @@ I have an implicit -F at the end of ICES_OPTIONS and we have an implicit -d ICECAST_CONF_DIR at the end of the icecast invocation. These may not work with icecast2 but i haven't tried them yet. + +== WebRadio == + +To activate webradio you need to add the following to your local_conf.py: +{{{ +plugin.activate('audio.webradio') +}}} + +if you have your own gxine mediamarks file you can use it via: +{{{ +plugin.activate('audio.webradio', args=('/usr/local/freevo_data/gxine-mediamarks',)) +}}} + +The webradio shows up as an option after your own Music Dirs and before your cdroms in the audio menu. + +Many of the stations in the current file are very busy and thus you may not get anything. To be sure +it works try a bunch of stations. At the time of writing this info I was only able to get 15 of the stations. +I had the best luck with 'Heavy Metal Radio' in the 'rock' category. = Extra File Information in XML metafiles = --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-wikilog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-wikilog
Re: [Freevo-devel] Re: [PATCH] third set of FreeBSD patches, alsofor mmpython
Aubin, Aubin Paul wrote: I've applied your Freevo patches, but one of the mmpython-discinfo patches failed, so I haven't made those changes since I don't have a way of testing them here. Can you update them to match the latest CVS? I think discinfo.py in mmpython CVs might have changed since you made your patches. attached. This version also gets the DVD information right on FreeBSD, thanks to Dirk's explanation earlier. For example, for the first "Lord of the Rings" extended DVD: DISCID read label FELLOWSHIP_EXT_D1 DISCID read id 2002082001133700 DISCID is 2002082001133700FELLOWSHIP_EXT_D1 Nice. Minor issue is that if I use the imdb plugin to look up the media information, it doesn't find it (but comes up with a bunch of other unrelated movies.) Not sure if this is significant. Lars -- Lars Eggert <[EMAIL PROTECTED]> USC Information Sciences Institute ? build Index: factory.py === RCS file: /cvsroot/mmpython/mmpython/factory.py,v retrieving revision 1.7 diff -u -r1.7 factory.py --- factory.py 20 Jul 2003 16:37:57 - 1.7 +++ factory.py 26 Aug 2003 02:16:11 - @@ -200,7 +200,7 @@ return self.create_from_url(name) elif not os.path.exists(name): return None -if stat.S_ISBLK(os.stat(name)[stat.ST_MODE]): +if (os.uname()[0] == 'FreeBSD' and stat.S_ISCHR(os.stat(name)[stat.ST_MODE])) or stat.S_ISBLK(os.stat(name)[stat.ST_MODE]): return self.create_from_device(name) return self.create_from_filename(name) Index: setup.py === RCS file: /cvsroot/mmpython/mmpython/setup.py,v retrieving revision 1.4 diff -u -r1.4 setup.py --- setup.py29 Jun 2003 20:59:58 - 1.4 +++ setup.py26 Aug 2003 02:16:11 - @@ -26,7 +26,9 @@ # Description of the modules and packages in the distribution ext_modules = [ Extension('mmpython/disc/ifoparser', ['disc/ifomodule.c'], - libraries=[ 'dvdread' ]), + libraries=[ 'dvdread' ], + library_dirs=['/usr/local/lib'], + include_dirs=['/usr/local/include']), Extension('mmpython/disc/cdrom', ['disc/cdrommodule.c']) ] ) Index: disc/discinfo.py === RCS file: /cvsroot/mmpython/mmpython/disc/discinfo.py,v retrieving revision 1.9 diff -u -r1.9 discinfo.py --- disc/discinfo.py23 Aug 2003 17:54:14 - 1.9 +++ disc/discinfo.py26 Aug 2003 02:16:12 - @@ -67,6 +67,8 @@ import os import re import time +import array +from struct import * try: @@ -86,10 +88,20 @@ CDROM_DISC_STATUS=0x5327 CDS_AUDIO=100 CDS_MIXED=105 - + +# FreeBSD ioctls - there is no CDROM.py +CDIOREADTOCENTRYS = 0xc0086305 +CD_MSF_FORMAT = 2 + try: fd = os.open(device, os.O_RDONLY | os.O_NONBLOCK) -s = ioctl(fd, CDROM_DRIVE_STATUS, CDSL_CURRENT) +if os.uname()[0] == 'FreeBSD': +cd_toc_entry = array.array('c', '\000'*4096) +(address, length) = cd_toc_entry.buffer_info() +buf = pack('BBHP', CD_MSF_FORMAT, 0, length, address) +s = ioctl(fd, CDIOREADTOCENTRYS, buf) +else: +s = ioctl(fd, CDROM_DRIVE_STATUS, CDSL_CURRENT) except: # maybe we need to close the fd if ioctl fails, maybe # open fails and there is no fd, maye we aren't running @@ -100,7 +112,26 @@ pass return 0 -s = ioctl(fd, CDROM_DISC_STATUS) +if os.uname()[0] == 'FreeBSD': +s = 0 +# We already have the TOC from above +for i in range(0, 4096, 8): +control = unpack('B', cd_toc_entry[i+1])[0] & 4 +track = unpack('B', cd_toc_entry[i+2])[0] +if track == 0: +break +if control == 0 and s != CDS_MIXED: +s = CDS_AUDIO +elif control != 0: +if s == CDS_AUDIO: +s = CDS_MIXED +else: +s = 100 + control # ugly, but encodes Linux ioctl returns +elif control == 5: +s = CDS_MIXED + +else: +s = ioctl(fd, CDROM_DISC_STATUS) os.close(fd) if s == CDS_AUDIO or s == CDS_MIXED: return 1 @@ -132,9 +163,21 @@ f = open(device,'rb') f.seek(0x832d) -id = f.read(16) +if os.uname()[0] == 'FreeBSD': +# why doesn't seeking to 0x832d+40 and reading 32 work? +# no idea, do it this way +label = f.read(72); +label = label[40:72] +else: +id = f.read(16) f.seek(32808, 0) -label = f.read(32) +if os.uname()[0] == 'FreeBSD':
Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src/plugins base.py,1.3,1.4 mediamenu.py,1.16,1.17
Sorry for the bad name. outicon == when it's not selecte. Selection box is "out" icon== when it's selected I also will rename to , ok? Image can confuse with which is something totaly different, naming it 'icon' is better. Also, as any skin is using that, it won't break anything. Gustavo --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > [EMAIL PROTECTED] wrote: > > Update of /cvsroot/freevo/freevo/src/plugins > > In directory sc8-pr-cvs1:/tmp/cvs-serv17845/plugins > > > > Modified Files: > > base.py mediamenu.py > > Log Message: > > Partial support for "out" icons in main menu. > > What are "out" icons what is different between them and the normal > icons? > > Dischi > -- > Ever notice how fast Windows runs? Neither did I... > > > --- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single > machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click > here:http://www.vmware.com/wl/offer/358/0 > ___ > Freevo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-devel ___ Desafio AntiZona: participe do jogo de perguntas e respostas que vai dar um Renault Clio, computadores, câmeras digitais, videogames e muito mais! www.cade.com.br/antizona --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-cvslog] freevo freevo_config.py,1.235,1.236
[EMAIL PROTECTED] wrote: > Update of /cvsroot/freevo/freevo > In directory sc8-pr-cvs1:/tmp/cvs-serv19976 > > Modified Files: > freevo_config.py > Log Message: > Added: > * support for different icons in main menu (final part) > * BOX_UNDER_ICON, that is, in text listings, if you have an icon you may > set this to 1 so the selection box () > will be under the icon too. Not changed freevo_config.py version > because I still don't know if it should stay there. > > > Index: freevo_config.py > === > RCS file: /cvsroot/freevo/freevo/freevo_config.py,v > retrieving revision 1.235 > retrieving revision 1.236 > diff -C2 -d -r1.235 -r1.236 > *** freevo_config.py 23 Aug 2003 19:42:45 - 1.235 > --- freevo_config.py 24 Aug 2003 19:12:31 - 1.236 > *** > *** 1163,1164 > --- 1163,1168 > TV_LOGOS = '/tmp/freevo/xmltv/logos' > > + > + # If skin boxes (for example, selection box), should also be under > + # icons or just the text > + SKIN_BOX_UNDER_ICON = 1 Can't you make it a skin option? Or a rectangle option? Dischi -- Microsoft is to operating systems & security what McDonalds is to gourmet cooking --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/share/skins/main blue.fxd,1.4,1.5
Update of /cvsroot/freevo/freevo/share/skins/main In directory sc8-pr-cvs1:/tmp/cvs-serv9256/share/skins/main Modified Files: blue.fxd Log Message: Moved HOURS_PER_PAGE into the skin fxd file, default=2 Index: blue.fxd === RCS file: /cvsroot/freevo/freevo/share/skins/main/blue.fxd,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** blue.fxd24 Aug 2003 16:37:38 - 1.4 --- blue.fxd25 Aug 2003 18:44:31 - 1.5 *** *** 463,467 ! --- 463,467 ! --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
Re: [Freevo-devel] Re: SKIN: box under icon feature
Dischi, we're talking about different things, AGAIN :) Don't you remember this screenshot: http://gsbarbieri.sytes.net/freevo/barbieri/screenshots/box_under_icon-main.jpg ? I liked your patch to be able to show the box just under text... maybe the word "under" is confusing us... Gustavo --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut Barbieri wrote: > > Hello, > > > > I implemented a new feature to skin so it's now possible to choose > if > > you want the selection box (and other boxes --- > > ) to be under the icons or just under the > text, > > like now. > > > > I don't know if everybuddy will like this, so I make it > configurable. > > No, max should be the max over everthing, but ... > > > However where's the best place to put that configuration? > > - In Skin FXD? How? A new tag? As attribute (what tag?) ? > > - in local_conf ? > > > > I thought to add it as an attribute to , like: > > > > > > > > > > But you may do that for every item, and that sucks. Maybe a > per-skin > > setting is better > > ... I made a new variable you can use: font_h. max is the height of > the whole area for the item, font_h the height of the text (0 if you > have image only). So the image is from 0 to max-font_h and the text > is > inside max-font-h to max. I added it to your blue skin in the video > item layout to show it. Does this fit your needs? > > > Dischi > > -- > Reality is for people who lack imagination. > > > --- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single > machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click > here:http://www.vmware.com/wl/offer/358/0 > ___ > Freevo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-devel ___ Desafio AntiZona: participe do jogo de perguntas e respostas que vai dar um Renault Clio, computadores, câmeras digitais, videogames e muito mais! www.cade.com.br/antizona --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-cvslog] freevo/src/skins/main main.py,1.3,1.4 tvlisting_area.py,1.5,1.6 xml_skin.py,1.8,1.9
Update of /cvsroot/freevo/freevo/src/skins/main In directory sc8-pr-cvs1:/tmp/cvs-serv9256/src/skins/main Modified Files: main.py tvlisting_area.py xml_skin.py Log Message: Moved HOURS_PER_PAGE into the skin fxd file, default=2 Index: main.py === RCS file: /cvsroot/freevo/freevo/src/skins/main/main.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** main.py 23 Aug 2003 12:51:43 - 1.3 --- main.py 25 Aug 2003 18:44:31 - 1.4 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.4 2003/08/25 18:44:31 dischi + # Moved HOURS_PER_PAGE into the skin fxd file, default=2 + # # Revision 1.3 2003/08/23 12:51:43 dischi # removed some old CVS log messages *** *** 418,422 if type == 'tv': ! return self.tvlisting.get_items_geometry(self.settings, object)[4] if object.skin_settings: --- 421,426 if type == 'tv': ! info = self.tvlisting.get_items_geometry(self.settings, object) ! return (info[4], info[-1]) if object.skin_settings: Index: tvlisting_area.py === RCS file: /cvsroot/freevo/freevo/src/skins/main/tvlisting_area.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** tvlisting_area.py 24 Aug 2003 16:36:25 - 1.5 --- tvlisting_area.py 25 Aug 2003 18:44:31 - 1.6 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.6 2003/08/25 18:44:31 dischi + # Moved HOURS_PER_PAGE into the skin fxd file, default=2 + # # Revision 1.5 2003/08/24 16:36:25 dischi # add support for y=max-... in listing area arrows *** *** 143,147 self.last_items_geometry = font_h, label_width, label_txt_width, content_y,\ !content_h / item_h, item_h, head_h return self.last_items_geometry --- 146,151 self.last_items_geometry = font_h, label_width, label_txt_width, content_y,\ !content_h / item_h, item_h, head_h, \ !content.hours_per_page return self.last_items_geometry *** *** 167,171 font_h, label_width, label_txt_width, y0, num_rows, item_h, head_h = \ ! self.get_items_geometry(settings, menu) label_val, label_font, head_val, head_font, selected_val, \ --- 171,175 font_h, label_width, label_txt_width, y0, num_rows, item_h, head_h = \ ! self.get_items_geometry(settings, menu)[:-1] label_val, label_font, head_val, head_font, selected_val, \ Index: xml_skin.py === RCS file: /cvsroot/freevo/freevo/src/skins/main/xml_skin.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** xml_skin.py 24 Aug 2003 19:12:31 - 1.8 --- xml_skin.py 25 Aug 2003 18:44:32 - 1.9 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.9 2003/08/25 18:44:32 dischi + # Moved HOURS_PER_PAGE into the skin fxd file, default=2 + # # Revision 1.8 2003/08/24 19:12:31 gsbarbieri # Added: *** *** 286,289 --- 289,293 'height' : ('int', 2), 'spacing' : ('int', 3), + 'hours_per_page': ('int', 3), 'color': ('col', 0), 'bgcolor' : ('col', 0), *** *** 521,527 def __init__(self): XML_data.__init__(self, ('type', 'spacing', 'x', 'y', 'width', ! 'height', 'font', 'align', 'valign', 'color')) self.types = {} self.cdata = '' def parse(self, node, scale, current_dir): --- 525,533 def __init__(self): XML_data.__init__(self, ('type', 'spacing', 'x', 'y', 'width', ! 'height', 'font', 'align', 'valign', 'color', ! 'hours_per_page')) self.types = {} self.cdata = '' + self.hours_per_page = 2 def parse(self, node, scale, current_dir): --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge
[Freevo-cvslog] freevo/src/tv tv.py,1.18,1.19 tvguide.py,1.11,1.12
Update of /cvsroot/freevo/freevo/src/tv In directory sc8-pr-cvs1:/tmp/cvs-serv9256/src/tv Modified Files: tv.py tvguide.py Log Message: Moved HOURS_PER_PAGE into the skin fxd file, default=2 Index: tv.py === RCS file: /cvsroot/freevo/freevo/src/tv/tv.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** tv.py 23 Aug 2003 12:51:43 - 1.18 --- tv.py 25 Aug 2003 18:44:32 - 1.19 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.19 2003/08/25 18:44:32 dischi + # Moved HOURS_PER_PAGE into the skin fxd file, default=2 + # # Revision 1.18 2003/08/23 12:51:43 dischi # removed some old CVS log messages *** *** 60,64 from gui.AlertBox import AlertBox - from gui.PopupBox import PopupBox import record_schedule --- 63,66 *** *** 151,170 return ! guide = epg.get_guide(PopupBox(text='Preparing the program guide')) ! ! start_time = self.get_start_time() ! stop_time = self.get_start_time() + config.TVGUIDE_HOURS_PER_PAGE * 60 * 60 ! ! channels = guide.GetPrograms(start=start_time+1, stop=stop_time-1) ! ! if not channels: ! AlertBox(text='TV Guide is corrupt!').show() ! return ! ! prg = None ! for chan in channels: ! if chan.programs: ! prg = chan.programs[0] ! break ! ! TVGuide(start_time, stop_time, guide.chan_list[0].id, prg, start_tv, menuw) --- 153,155 return ! TVGuide(self.get_start_time(), start_tv, menuw) Index: tvguide.py === RCS file: /cvsroot/freevo/freevo/src/tv/tvguide.py,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** tvguide.py 23 Aug 2003 12:51:43 - 1.11 --- tvguide.py 25 Aug 2003 18:44:32 - 1.12 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.12 2003/08/25 18:44:32 dischi + # Moved HOURS_PER_PAGE into the skin fxd file, default=2 + # # Revision 1.11 2003/08/23 12:51:43 dischi # removed some old CVS log messages *** *** 44,47 --- 47,52 import skin import event as em + import config + # The Electronic Program Guide *** *** 50,53 --- 55,61 import record_video + from gui.PopupBox import PopupBox + from gui.AlertBox import AlertBox + skin = skin.get_singleton() # Create the Skin object *** *** 61,75 class TVGuide(gui.GUIObject): ! def __init__(self, start_time, stop_time, start_channel, selected, player, menuw): gui.GUIObject.__init__(self) self.col_time = 30 # each col represents 30 minutes self.n_cols = (stop_time - start_time) / 60 / self.col_time self.player = player - self.n_items = skin.items_per_page(('tv', self)) self.type = 'tv' self.menuw = menuw ! self.rebuild(start_time, stop_time, start_channel, selected) menuw.pushmenu(self) --- 69,99 class TVGuide(gui.GUIObject): ! def __init__(self, start_time, player, menuw): gui.GUIObject.__init__(self) + + self.n_items, hours_per_page = skin.items_per_page(('tv', self)) + stop_time = start_time + hours_per_page * 60 * 60 + + guide = epg.get_guide(PopupBox(text='Preparing the program guide')) + channels = guide.GetPrograms(start=start_time+1, stop=stop_time-1) + + if not channels: + AlertBox(text='TV Guide is corrupt!').show() + return + + selected = None + for chan in channels: + if chan.programs: + selected = chan.programs[0] + break + self.col_time = 30 # each col represents 30 minutes self.n_cols = (stop_time - start_time) / 60 / self.col_time self.player = player self.type = 'tv' self.menuw = menuw ! self.rebuild(start_time, stop_time, guide.chan_list[0].id, selected) menuw.pushmenu(self) --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo freevo_config.py,1.236,1.237 local_conf.py.example,1.4,1.5
Update of /cvsroot/freevo/freevo In directory sc8-pr-cvs1:/tmp/cvs-serv9256 Modified Files: freevo_config.py local_conf.py.example Log Message: Moved HOURS_PER_PAGE into the skin fxd file, default=2 Index: freevo_config.py === RCS file: /cvsroot/freevo/freevo/freevo_config.py,v retrieving revision 1.236 retrieving revision 1.237 diff -C2 -d -r1.236 -r1.237 *** freevo_config.py24 Aug 2003 19:12:31 - 1.236 --- freevo_config.py25 Aug 2003 18:44:31 - 1.237 *** *** 845,855 # - # Number of hours displayed in the tv guide - # Set this value to 1, 2 or 3. 4 and greater doesn't look good - # - TVGUIDE_HOURS_PER_PAGE = 2 - - - # # XXX Recording is still work in progress. You need to change # XXX the entire string below to fit your local settings. --- 845,848 Index: local_conf.py.example === RCS file: /cvsroot/freevo/freevo/local_conf.py.example,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** local_conf.py.example 23 Aug 2003 19:42:45 - 1.4 --- local_conf.py.example 25 Aug 2003 18:44:31 - 1.5 *** *** 487,497 # - # Number of hours displayed in the tv guide - # Set this value to 1, 2 or 3. 4 and greater doesn't look good - # - # TVGUIDE_HOURS_PER_PAGE = 2 - - - # # XXX Recording is still work in progress. You need to change # XXX the entire string below to fit your local settings. --- 487,490 --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-devel] Re: SKIN: box under icon feature
Gustavo Sverzut Barbieri wrote: > Dischi, we're talking about different things, AGAIN :) > > Don't you remember this screenshot: > http://gsbarbieri.sytes.net/freevo/barbieri/screenshots/box_under_icon-main.jpg > ? I rememeber. Sourceforge is sometimes very late. I wrote the mail before we talked on IRC and you showed me the screenshot. Dischi -- "I don't suffer from insanity. I enjoy every minute of it." --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-cvslog] freevo/src/tv epg_types.py,1.7,1.8
Update of /cvsroot/freevo/freevo/src/tv In directory sc8-pr-cvs1:/tmp/cvs-serv1130 Modified Files: epg_types.py Log Message: added attr date and use config formatstrings Index: epg_types.py === RCS file: /cvsroot/freevo/freevo/src/tv/epg_types.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epg_types.py23 Aug 2003 12:51:43 - 1.7 --- epg_types.py24 Aug 2003 17:08:15 - 1.8 *** *** 11,14 --- 11,17 # --- # $Log$ + # Revision 1.8 2003/08/24 17:08:15 dischi + # added attr date and use config formatstrings + # # Revision 1.7 2003/08/23 12:51:43 dischi # removed some old CVS log messages *** *** 100,109 """ if attr == 'start': ! bt = time.localtime(self.start) # Beginning time tuple ! return '%02d:%02d' % (bt[3], bt[4]) if attr == 'stop': ! et = time.localtime(self.stop) # End time tuple ! return '%02d:%02d' % (et[3], et[4]) ! if hasattr(self, attr): return str(getattr(self,attr)) --- 103,111 """ if attr == 'start': ! return time.strftime(config.TV_TIMEFORMAT, time.localtime(self.start)) if attr == 'stop': ! return time.strftime(config.TV_TIMEFORMAT, time.localtime(self.stop)) ! if attr == 'date': ! return time.strftime(config.TV_DATEFORMAT, time.localtime(self.start)) if hasattr(self, attr): return str(getattr(self,attr)) --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
Re: [Freevo-devel] Re: Installing Freevo into the system - Redhat RPM
On Mon, Aug 25, 2003 at 06:05:14PM +, Jorn A Hansen wrote: > - mp1e (haven't found this one yet) That one is less important; you can use any encoder you want, mp1e is just great for low end computers, and for viewing the stream while it's being recorded. I used to use it myself, and it has very few dependencies, so we could even 'alien' the debian package into an RPM. Aubin --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-cvslog] freevo/src setup_freevo.py,1.8,1.9
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv3191 Modified Files: setup_freevo.py Log Message: Adding FLAC support for the cdbackup plugin Index: setup_freevo.py === RCS file: /cvsroot/freevo/freevo/src/setup_freevo.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** setup_freevo.py 25 Aug 2003 14:12:07 - 1.8 --- setup_freevo.py 26 Aug 2003 18:03:32 - 1.9 *** *** 13,16 --- 13,19 # --- # $Log$ + # Revision 1.9 2003/08/26 18:03:32 outlyer + # Adding FLAC support for the cdbackup plugin + # # Revision 1.8 2003/08/25 14:12:07 outlyer # Unify the app finder. *** *** 75,78 --- 78,82 ("zsnes", "snes", 0 ), ("lame", "lame",0), + ("flac","flac",0), ("cdparanoia","cdparanoia",0), ("oggenc","oggenc",0), --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/WIP/Ruelle radio.py,1.2,1.3 radioplayer.py,1.1,1.2
Update of /cvsroot/freevo/freevo/WIP/Ruelle In directory sc8-pr-cvs1:/tmp/cvs-serv3455 Modified Files: radio.py radioplayer.py Log Message: Now have a working radio player!!! Index: radio.py === RCS file: /cvsroot/freevo/freevo/WIP/Ruelle/radio.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** radio.py26 Aug 2003 17:31:00 - 1.2 --- radio.py26 Aug 2003 18:04:50 - 1.3 *** *** 10,15 # --- # $Log$ ! # Revision 1.2 2003/08/26 17:31:00 mikeruelle ! # more hacks on radio tuner almost done. # # --- 10,15 # --- # $Log$ ! # Revision 1.3 2003/08/26 18:04:50 mikeruelle ! # Now have a working radio player!!! # # *** *** 113,117 if (len(station_items) == 0): station_items += [menu.MenuItem('No Stations found', menuwidget.goto_prev_page, 0)] ! station_menu = menu.Menu('Stations', station_items, reload_func=menuwidget.goto_main_menu) rc.app(None) menuwidget.pushmenu(station_menu) --- 113,117 if (len(station_items) == 0): station_items += [menu.MenuItem('No Stations found', menuwidget.goto_prev_page, 0)] ! station_menu = menu.Menu('Stations', station_items) rc.app(None) menuwidget.pushmenu(station_menu) Index: radioplayer.py === RCS file: /cvsroot/freevo/freevo/WIP/Ruelle/radioplayer.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** radioplayer.py 26 Aug 2003 17:31:01 - 1.1 --- radioplayer.py 26 Aug 2003 18:04:50 - 1.2 *** *** 10,15 # --- # $Log$ ! # Revision 1.1 2003/08/26 17:31:01 mikeruelle ! # more hacks on radio tuner almost done. # # --- 10,15 # --- # $Log$ ! # Revision 1.2 2003/08/26 18:04:50 mikeruelle ! # Now have a working radio player!!! # # *** *** 97,100 --- 97,101 mixer.setMicVolume(0) os.system('radio -m') + rc.post_event( PLAY_END ) *** *** 114,121 print 'Radio Player event handler %s' % event ! if event == AUDIO_PLAY_END: event = PLAY_END ! if event in ( STOP, PLAY_END, USER_END, MENU_BACK_ONE_MENU ): self.playerGUI.stop() return self.item.eventhandler(event) --- 115,122 print 'Radio Player event handler %s' % event ! if event == AUDIO_PLAY_END or event == MENU_BACK_ONE_MENU: event = PLAY_END ! if event in ( STOP, PLAY_END, USER_END ): self.playerGUI.stop() return self.item.eventhandler(event) --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
Re: [Freevo-devel] Re: [PATCH] third set of FreeBSD patches, also for mmpython
On Mon, Aug 25, 2003 at 07:22:06PM -0700, Lars Eggert wrote: > attached. This version also gets the DVD information right on FreeBSD, > thanks to Dirk's explanation earlier. For example, for the first "Lord > of the Rings" extended DVD: > > DISCID read label FELLOWSHIP_EXT_D1 > DISCID read id 2002082001133700 > DISCID is 2002082001133700FELLOWSHIP_EXT_D1 > > Nice. Minor issue is that if I use the imdb plugin to look up the media > information, it doesn't find it (but comes up with a bunch of other > unrelated movies.) Not sure if this is significant. I've applied the patch; as for the IMDB search, the problem is that we're currently passing the 'read id' (the numbers) so IMDB searches on them as well, meaning a lot of matches. We should probably skip that part when searching. --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] mixer volunteer?
There is a standard interface in Python for oss audio, including mixer control, and it's platform independent (at least for platforms using OSS, like Linux and *BSD) The module is called ossaudiodev, and the documentation is here: http://www.python.org/doc/current/lib/module-ossaudiodev.html I don't use the mixer myself, but we should definitely move to something like this since it removes another annoyance from being "our problem" and makes it Python upstreams :) Plus, the current implementation is full of warnings due to the hard coded ioctls, which do not travel well either. It's included with both Linux and FreeBSD versions of Python... Aubin --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: [Freevo-cvslog] freevo freevo_config.py,1.235,1.236
--- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > [EMAIL PROTECTED] wrote: > > + # If skin boxes (for example, selection box), should also be > under > > + # icons or just the text > > + SKIN_BOX_UNDER_ICON = 1 > > Can't you make it a skin option? Or a rectangle option? Yes I can. I already asked by mail where to put it, since nobody anwered, I did the easy way. IMO skin is the best place to put it, since defining it for each rectangle isn't viable. So... where to put it in ? Separate tag? inside ? Also, could you point a better and short name to it? BOX_UNDER_ICON already caused too many mistakes... Gustavo ___ Desafio AntiZona: participe do jogo de perguntas e respostas que vai dar um Renault Clio, computadores, câmeras digitais, videogames e muito mais! www.cade.com.br/antizona --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-cvslog] freevo/src/audio/plugins cdbackup.py,1.13,1.14
Update of /cvsroot/freevo/freevo/src/audio/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv10916/plugins Modified Files: cdbackup.py Log Message: Initial FLAC support (for encoding) Xine is required for playback. Index: cdbackup.py === RCS file: /cvsroot/freevo/freevo/src/audio/plugins/cdbackup.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** cdbackup.py 23 Aug 2003 12:51:42 - 1.13 --- cdbackup.py 26 Aug 2003 18:47:29 - 1.14 *** *** 29,32 --- 29,35 # --- # $Log$ + # Revision 1.14 2003/08/26 18:47:29 outlyer + # Initial FLAC support (for encoding) Xine is required for playback. + # # Revision 1.13 2003/08/23 12:51:42 dischi # removed some old CVS log messages *** *** 88,92 # Set to 1 for debug output ! DEBUG = config.DEBUG TRUE = 1 --- 91,95 # Set to 1 for debug output ! DEBUG = 1 #config.DEBUG TRUE = 1 *** *** 116,119 --- 119,124 elif self.rip_format == 'wav' : self.cd_backup_threaded(self.device, rip_format='wav') + elif self.rip_format == 'flac' : + self.cd_backup_threaded(self.device, rip_format='flac') *** *** 189,193 # If rip_format is mp3 or ogg, then copy the file to /temp/track_being_ripped.wav ! if (string.upper(rip_format) == 'MP3') or (string.upper(rip_format) == 'OGG'): pathname_cdparanoia = '/tmp' path_tail_cdparanoia = '/track_being_ripped' --- 194,199 # If rip_format is mp3 or ogg, then copy the file to /temp/track_being_ripped.wav ! if (string.upper(rip_format) == 'MP3') or (string.upper(rip_format) == 'OGG') or \ ! (string.upper(rip_format) == 'FLAC'): pathname_cdparanoia = '/tmp' path_tail_cdparanoia = '/track_being_ripped' *** *** 246,249 --- 252,270 rm_command = '%s%s.wav' % (pathname_cdparanoia, path_tail_cdparanoia) if os.path.exists (rm_command): os.unlink(rm_command) + + elif string.upper(rip_format) == 'FLAC': + flac_command = \ + '%s %s "%s%s.wav" -o "%s%s.flac"' % \ + ( config.FLAC_CMD, config.FLAC_OPTS, pathname_cdparanoia, + path_tail_cdparanoia, pathname, path_tail) + metaflac_command = \ + 'metaflac --set-vc-field=ARTIST="%s" --set-vc-field=ALBUM="%s" --set-vc-field=TITLE="%s" --set-vc-field=TRACKNUMBER="%s/%s" "%s%s.flac"' % \ + (artist, album, song_names[i], track, len(song_names), pathname, path_tail) + if DEBUG: 'flac_command: %s' % (flac_command) + if DEBUG: 'metaflac: %s' % (metaflac_command) + os.system(flac_command) + os.system(metaflac_command) + rm_command = '%s%s.wav' % (pathname_cdparanoia, path_tail_cdparanoia) + if os.path.exists (rm_command): os.unlink(rm_command) # Flash a popup window indicating copying is done *** *** 373,377 items += [menu.MenuItem('Backup CD to hard drive in Ogg format', self.cd_backup_ogg, arg=arg)] ! items += [menu.MenuItem('Backup CD to hard drive in wav format', self.cd_backup_wav, arg=arg)] --- 394,400 items += [menu.MenuItem('Backup CD to hard drive in Ogg format', self.cd_backup_ogg, arg=arg)] ! if config.FLAC_CMD: ! items += [menu.MenuItem('Backup CD to hard drive in FLAC format', ! self.cd_backup_flac, arg=arg)] items += [menu.MenuItem('Backup CD to hard drive in wav format', self.cd_backup_wav, arg=arg)] *** *** 395,397 rip_thread = main_backup_thread(device=device, rip_format='ogg') rip_thread.start() ! --- 418,424 rip_thread = main_backup_thread(device=device, rip_format='ogg') rip_thread.start() ! ! def cd_backup_flac(self, arg, menuw=None): ! device = arg ! rip_thread = main_backup_thread(device=device, rip_format='flac') ! rip_thread.start() --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offe
[Freevo-cvslog] freevo freevo_config.py,1.237,1.238
Update of /cvsroot/freevo/freevo In directory sc8-pr-cvs1:/tmp/cvs-serv0 Modified Files: freevo_config.py Log Message: Initial FLAC support (for encoding) Xine is required for playback. Index: freevo_config.py === RCS file: /cvsroot/freevo/freevo/freevo_config.py,v retrieving revision 1.237 retrieving revision 1.238 diff -C2 -d -r1.237 -r1.238 *** freevo_config.py25 Aug 2003 18:44:31 - 1.237 --- freevo_config.py26 Aug 2003 18:48:31 - 1.238 *** *** 688,694 --- 688,696 CDPAR_CMD = CONF.cdparanoia OGGENC_CMD = CONF.oggenc + FLAC_CMD = CONF.flac CD_RIP_PN_PREF = '%(artist)s/%(album)s/%(song)s' CD_RIP_LAME_OPTS = '--preset standard' CD_RIP_OGG_OPTS = '-m 128' + FLAC_OPTS = '-8'# Best, but slowest compression # == --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/WIP/Ruelle radioplayer.py,NONE,1.1 player.py,NONE,1.1 plugin.py,NONE,1.1 radio.py,1.1,1.2
Update of /cvsroot/freevo/freevo/WIP/Ruelle In directory sc8-pr-cvs1:/tmp/cvs-serv29496 Modified Files: radio.py Added Files: radioplayer.py player.py plugin.py Log Message: more hacks on radio tuner almost done. --- NEW FILE: radioplayer.py --- #if 0 /* # --- # radioplayer.py - the Freevo Radioplayer plugin for radio # --- # $Id: radioplayer.py,v 1.1 2003/08/26 17:31:01 mikeruelle Exp $ # # Notes: # Todo: # # --- # $Log: radioplayer.py,v $ # Revision 1.1 2003/08/26 17:31:01 mikeruelle # more hacks on radio tuner almost done. # # # # --- # Freevo - A Home Theater PC framework # Copyright (C) 2002 Krister Lagerstrom, et al. # Please see the file freevo/Docs/CREDITS for a complete list of authors. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MER- # CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # --- */ #endif import time, os import string import re import config # Configuration handler. reads config file. import util # Various utilities import rc import plugin from event import * DEBUG = config.DEBUG TRUE = 1 FALSE = 0 class PluginInterface(plugin.Plugin): """ player plugin for the radio player. Use radio player to play all radio stations. """ def __init__(self): # create the mplayer object plugin.Plugin.__init__(self) # register it as the object to play audio plugin.register(self, plugin.RADIO_PLAYER) self.mode = 'idle' def play(self, item, playerGUI): """ play a radioitem with radio player """ self.playerGUI = playerGUI self.item = item print 'RadioPlayer.play() %s' % self.item.station self.mode= 'play' mixer = plugin.getbyname('MIXER') mixer.setLineinVolume(config.TV_IN_VOLUME) mixer.setIgainVolume(config.TV_IN_VOLUME) mixer.setMicVolume(config.TV_IN_VOLUME) os.system('radio -qf %s' % self.item.station) return None def stop(self): """ Stop mplayer and set thread to idle """ print 'Radio Player Stop' self.mode = 'stop' mixer = plugin.getbyname('MIXER') mixer.setLineinVolume(0) mixer.setIgainVolume(0) mixer.setMicVolume(0) os.system('radio -m') def is_playing(self): print 'Radio Player IS PLAYING?' return self.mode == 'play' def refresh(self): print 'Radio Player refresh' self.playerGUI.refresh() def eventhandler(self, event): """ eventhandler for mplayer control. If an event is not bound in this function it will be passed over to the items eventhandler """ print 'Radio Player event handler %s' % event if event == AUDIO_PLAY_END: event = PLAY_END if event in ( STOP, PLAY_END, USER_END, MENU_BACK_ONE_MENU ): self.playerGUI.stop() return self.item.eventhandler(event) else: # everything else: give event to the items eventhandler return self.item.eventhandler(event) --- NEW FILE: player.py --- #if 0 /* # --- # player.py - the Freevo audio player GUI # --- # $Id: player.py,v 1.1 2003/08/26 17:31:01 mikeruelle Exp $ # # Notes: # Todo: # # --- # $Log: player.py,v $ # Revision 1.1 2003/08/26 17:31:01 mikeruelle # more hacks on radio tuner almost done. # # Revision 1.4 2003/04/24 19:56:01 dischi # comment cleanup for 1.3.2-pre4 # # Revision 1.3 2003/04/22 11:56:45 dischi # fixed bug that shows the player again after stopping it # # Revision 1.2 2003/04/21 18:40:32 dischi # use plugin name structure to find the real player # # Revision 1.1 2003/04/21 13:27:48 dischi # o make it possible to hide() the audio player # o mplayer is now a plugin, controlled by the PlayerGUI #
[Freevo-cvslog] freevo/src/plugins ossmixer.py,NONE,1.1
Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv15155 Added Files: ossmixer.py Log Message: Initial (broken) code for using ossaudiodev instead of the other way. --- NEW FILE: ossmixer.py --- #if 0 /* # --- # mixer.py - The mixer interface for freevo. # --- # $Id: ossmixer.py,v 1.1 2003/08/26 19:33:08 outlyer Exp $ # # Notes: # Todo: # # --- # $Log: ossmixer.py,v $ # Revision 1.1 2003/08/26 19:33:08 outlyer # Initial (broken) code for using ossaudiodev instead of the other way. # # Revision 1.5 2003/08/23 12:51:42 dischi # removed some old CVS log messages # # # --- # Freevo - A Home Theater PC framework # Copyright (C) 2002 Krister Lagerstrom, et al. # Please see the file freevo/Docs/CREDITS for a complete list of authors. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MER- # CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # --- */ #endif """For manipulating the mixer. """ import fcntl import struct import config import os import plugin import event as em import ossaudiodev # Set to 1 for debug output DEBUG = config.DEBUG TRUE = 1 FALSE = 0 class PluginInterface(plugin.DaemonPlugin): # These magic numbers were determined by writing a C-program using the # macros in /usr/include/linux/... and printing the values. # They seem to work on my machine. XXX Is there a real python interface? #SOUND_MIXER_WRITE_VOLUME = 0xc0044d00 #SOUND_MIXER_WRITE_PCM = 0xc0044d04 #SOUND_MIXER_WRITE_LINE = 0xc0044d06 #SOUND_MIXER_WRITE_MIC = 0xc0044d07 #SOUND_MIXER_WRITE_RECSRC = 0xc0044dff SOUND_MIXER_LINE = 7 SOUND_MASK_LINE = 64 SOUND_MIXER_WRITE_VOLUME = ossaudiodev.SOUND_MIXER_VOLUME SOUND_MIXER_WRITE_PCM = ossaudiodev.SOUND_MIXER_PCM SOUND_MIXER_WRITE_LINE = ossaudiodev.SOUND_MIXER_LINE SOUND_MIXER_WRITE_MIC = ossaudiodev.SOUND_MIXER_MIC SOUND_MIXER_WRITE_RECSRC = ossaudiodev.SOUND_MIXER_RECLEV def __init__(self): plugin.DaemonPlugin.__init__(self) self.plugin_name = 'MIXER' self.mixfd = None self.muted = 0 # If you're using ALSA or something and you don't set the mixer, why are # we trying to open it? if config.DEV_MIXER: try: self.mixfd = ossaudiodev.openmixer() #open(config.DEV_MIXER, 'r') except IOError: print 'Couldn\'t open mixer %s' % config.DEV_MIXER return if 0: self.mainVolume = 0 self.pcmVolume= 0 self.lineinVolume = 0 self.micVolume= 0 self.igainVolume = 0 # XXX Used on SB Live self.ogainVolume = 0 # XXX Ditto if self.mixfd: data = struct.pack( 'L', self.SOUND_MASK_LINE ) fcntl.ioctl( self.mixfd.fileno(), self.SOUND_MIXER_WRITE_RECSRC, data ) if config.MAJOR_AUDIO_CTRL == 'VOL': self.setMainVolume(config.DEFAULT_VOLUME) if config.CONTROL_ALL_AUDIO: self.setPcmVolume(config.MAX_VOLUME) # XXX This is for SB Live cards should do nothing to others # XXX Please tell if you have problems with this. self.setOgainVolume(config.MAX_VOLUME) elif config.MAJOR_AUDIO_CTRL == 'PCM': self.setPcmVolume(config.DEFAULT_VOLUME) if config.CONTROL_ALL_AUDIO: self.setMainVolume(config.MAX_VOLUME) # XXX This is for SB Live cards should do nothing to others # XXX Please tell if you have problems with this. self.setOgainVolume(config.MAX_VOLUME) else: if DEBUG: print "No appropriate audio channel found for mixer" if config.CONTROL_ALL_AUDIO: self.setLineinVolume(0) self.setMicVolume(0) def eventhandler(self, event = None, menuw=None, arg=None): """ eventhandler to handle the VOL events """ # Handle volume control i
[Freevo-cvslog] freevo/src/plugins ossmixer.py,1.1,1.2
Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv17969 Modified Files: ossmixer.py Log Message: Should be working now; does not require aumix for SBLive control, and will silently ignore any requests to adjust a control that isn't provided by the driver. Please test this, since I have an ALSA setup, which works fine, but we should check if OSS-native works as well. I propose this could replace 'mixer.py' when it's been tested adequately. It should also work unchanged under BSD. Last note, here is the documentation again: http://www.python.org/doc/current/lib/mixer-device-objects.html And to activate: plugin.remove('mixer') plugin.activate('ossmixer') Index: ossmixer.py === RCS file: /cvsroot/freevo/freevo/src/plugins/ossmixer.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ossmixer.py 26 Aug 2003 19:33:08 - 1.1 --- ossmixer.py 26 Aug 2003 19:46:47 - 1.2 *** *** 1,5 #if 0 /* # --- ! # mixer.py - The mixer interface for freevo. # --- # $Id$ --- 1,5 #if 0 /* # --- ! # ossmixer.py - The mixer interface for freevo. # --- # $Id$ *** *** 10,18 # --- # $Log$ ! # Revision 1.1 2003/08/26 19:33:08 outlyer ! # Initial (broken) code for using ossaudiodev instead of the other way. # - # Revision 1.5 2003/08/23 12:51:42 dischi - # removed some old CVS log messages # # --- 10,32 # --- # $Log$ ! # Revision 1.2 2003/08/26 19:46:47 outlyer ! # Should be working now; does not require aumix for SBLive control, and ! # will silently ignore any requests to adjust a control that isn't provided ! # by the driver. ! # ! # Please test this, since I have an ALSA setup, which works fine, but we should ! # check if OSS-native works as well. ! # ! # I propose this could replace 'mixer.py' when it's been tested adequately. It ! # should also work unchanged under BSD. ! # ! # Last note, here is the documentation again: ! # http://www.python.org/doc/current/lib/mixer-device-objects.html ! # ! # And to activate: ! # ! # plugin.remove('mixer') ! # plugin.activate('ossmixer') # # # *** *** 41,45 """ - import fcntl import struct import config --- 55,58 *** *** 58,79 class PluginInterface(plugin.DaemonPlugin): - # These magic numbers were determined by writing a C-program using the - # macros in /usr/include/linux/... and printing the values. - # They seem to work on my machine. XXX Is there a real python interface? - #SOUND_MIXER_WRITE_VOLUME = 0xc0044d00 - #SOUND_MIXER_WRITE_PCM = 0xc0044d04 - #SOUND_MIXER_WRITE_LINE = 0xc0044d06 - #SOUND_MIXER_WRITE_MIC = 0xc0044d07 - #SOUND_MIXER_WRITE_RECSRC = 0xc0044dff SOUND_MIXER_LINE = 7 SOUND_MASK_LINE = 64 - SOUND_MIXER_WRITE_VOLUME = ossaudiodev.SOUND_MIXER_VOLUME - SOUND_MIXER_WRITE_PCM = ossaudiodev.SOUND_MIXER_PCM - SOUND_MIXER_WRITE_LINE = ossaudiodev.SOUND_MIXER_LINE - SOUND_MIXER_WRITE_MIC = ossaudiodev.SOUND_MIXER_MIC - SOUND_MIXER_WRITE_RECSRC = ossaudiodev.SOUND_MIXER_RECLEV - - def __init__(self): plugin.DaemonPlugin.__init__(self) --- 71,77 *** *** 96,105 self.lineinVolume = 0 self.micVolume= 0 ! self.igainVolume = 0 # XXX Used on SB Live ! self.ogainVolume = 0 # XXX Ditto ! ! if self.mixfd: ! data = struct.pack( 'L', self.SOUND_MASK_LINE ) ! fcntl.ioctl( self.mixfd.fileno(), self.SOUND_MIXER_WRITE_RECSRC, data ) if config.MAJOR_AUDIO_CTRL == 'VOL': --- 94,99 self.lineinVolume = 0 self.micVolume= 0 ! self.igainVolume = 0 ! self.ogainVolume = 0 if config.MAJOR_AUDIO_CTRL == 'VOL': *** *** 107,112 if config.CONTROL_ALL_AUDIO: self.setPcmVolume(config.MAX_VOLUME) - # XXX This is for SB Live cards should do nothing to others - # XXX Please tell if you have problems with this. self.setOgainVolume(config.MAX_VOLUME) elif config.MAJOR_AUDIO_CTRL == 'PCM': --- 101,104 *** *** 114,119 if config.CONTROL_ALL_AUDIO: self.setMainVolume(config.MAX_VOLUME) - # XXX This is for SB Live cards should do nothing to others -
[Freevo-cvslog] freevo/src/plugins rom_drives.py,1.25,1.26
Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv19919/src/plugins Modified Files: rom_drives.py Log Message: Quiet another Python 2.4 warning Index: rom_drives.py === RCS file: /cvsroot/freevo/freevo/src/plugins/rom_drives.py,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** rom_drives.py 25 Aug 2003 12:08:20 - 1.25 --- rom_drives.py 26 Aug 2003 19:53:38 - 1.26 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.26 2003/08/26 19:53:38 outlyer + # Quiet another Python 2.4 warning + # # Revision 1.25 2003/08/25 12:08:20 outlyer # Additional compatibility patches for FreeBSD from Lars Eggert *** *** 98,105 import array if os.uname()[0] == 'FreeBSD': ! # FreeBSD ioctls - there is no CDROM.py CDIOCEJECT = 0x20006318 CDIOCCLOSE = 0x2000631c ! CDIOREADTOCENTRYS = 0xc0086305 CD_LBA_FORMAT = 1 CD_MSF_FORMAT = 2 --- 101,108 import array if os.uname()[0] == 'FreeBSD': ! # FreeBSD ioctls - there is no CDROM.py... CDIOCEJECT = 0x20006318 CDIOCCLOSE = 0x2000631c ! CDIOREADTOCENTRYS = 0xc0086305L CD_LBA_FORMAT = 1 CD_MSF_FORMAT = 2 --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
Re: [Freevo-devel] mixer volunteer?
Ok, impatient guy that I am, I've added a very basic version; because ossaudiodev provides most of what we're doing with ioctl and bitshifts using integers, it was pretty simple, and we could probably simplify the mixer code in Freevo substantially (i.e. one function for get/set volume rather than setPCM, setVOL, etc.) On Tue, Aug 26, 2003 at 02:40:00PM -0400, Aubin Paul wrote: > There is a standard interface in Python for oss audio, including mixer > control, and it's platform independent (at least for platforms using > OSS, like Linux and *BSD) > > The module is called ossaudiodev, and the documentation is here: > http://www.python.org/doc/current/lib/module-ossaudiodev.html > > I don't use the mixer myself, but we should definitely move to > something like this since it removes another annoyance from being "our > problem" and makes it Python upstreams :) > > Plus, the current implementation is full of warnings due to the hard > coded ioctls, which do not travel well either. > > It's included with both Linux and FreeBSD versions of Python... > > Aubin > > > --- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > ___ > Freevo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-devel --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-cvslog] freevo/src/gui RegionScroller.py,1.15,1.16
Update of /cvsroot/freevo/freevo/src/gui In directory sc8-pr-cvs1:/tmp/cvs-serv22785 Modified Files: RegionScroller.py Log Message: Another Python warning down. Index: RegionScroller.py === RCS file: /cvsroot/freevo/freevo/src/gui/RegionScroller.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** RegionScroller.py 25 Jun 2003 02:27:39 - 1.15 --- RegionScroller.py 26 Aug 2003 20:06:14 - 1.16 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.16 2003/08/26 20:06:14 outlyer + # Another Python warning down. + # # Revision 1.15 2003/06/25 02:27:39 rshortt # Allow 'frame' containers to grow verticly to hold all contents. Also *** *** 232,237 self.region_surface = surface ! (None, None, self.s_w, self.s_h) = self.region_surface_rect \ ! = self.region_surface.get_rect() self.v_x = 0 --- 235,240 self.region_surface = surface ! (self.s_w, self.s_h) = self.region_surface_rect \ ! = self.region_surface.get_rect()[2:3] self.v_x = 0 --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src objectcache.py,1.3,1.4
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv23203/src Modified Files: objectcache.py Log Message: Declare encoding, remove another warning. Index: objectcache.py === RCS file: /cvsroot/freevo/freevo/src/objectcache.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** objectcache.py 22 Aug 2003 19:22:50 - 1.3 --- objectcache.py 26 Aug 2003 20:07:50 - 1.4 *** *** 1,3 --- 1,4 #if 0 /* + # -*- coding: iso-8859-1 -*- # --- # objectcache.py - A cache for objects identified by a string *** *** 10,13 --- 11,17 # --- # $Log$ + # Revision 1.4 2003/08/26 20:07:50 outlyer + # Declare encoding, remove another warning. + # # Revision 1.3 2003/08/22 19:22:50 dischi # small check to prevent crashes --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src/tv tvguide.py,1.12,1.13
Update of /cvsroot/freevo/freevo/src/tv In directory sc8-pr-cvs1:/tmp/cvs-serv23726/tv Modified Files: tvguide.py Log Message: More warnings fixed by using explicit types Index: tvguide.py === RCS file: /cvsroot/freevo/freevo/src/tv/tvguide.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** tvguide.py 25 Aug 2003 18:44:32 - 1.12 --- tvguide.py 26 Aug 2003 20:10:50 - 1.13 *** *** 10,13 --- 10,16 # --- # $Log$ + # Revision 1.13 2003/08/26 20:10:50 outlyer + # More warnings fixed by using explicit types + # # Revision 1.12 2003/08/25 18:44:32 dischi # Moved HOURS_PER_PAGE into the skin fxd file, default=2 *** *** 178,182 # table header table += [ ['Chan'] ] ! for i in range(self.n_cols): table[0] += [ start_time + self.col_time * i* 60 ] --- 181,185 # table header table += [ ['Chan'] ] ! for i in range(int(self.n_cols)): table[0] += [ start_time + self.col_time * i* 60 ] --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src/gui GUIObject.py,1.25,1.26
Update of /cvsroot/freevo/freevo/src/gui In directory sc8-pr-cvs1:/tmp/cvs-serv23726/gui Modified Files: GUIObject.py Log Message: More warnings fixed by using explicit types Index: GUIObject.py === RCS file: /cvsroot/freevo/freevo/src/gui/GUIObject.py,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** GUIObject.py13 Jul 2003 19:35:44 - 1.25 --- GUIObject.py26 Aug 2003 20:10:50 - 1.26 *** *** 8,11 --- 8,14 #--- # $Log$ + # Revision 1.26 2003/08/26 20:10:50 outlyer + # More warnings fixed by using explicit types + # # Revision 1.25 2003/07/13 19:35:44 rshortt # Change osd.focused_app to a function that returns the last object in *** *** 409,413 if not self.bg_surface: ! self.bg_surface = pygame.Surface((self.width, self.height)) self.bg_surface.blit(p, (0,0), (self.left, self.top, self.width, self.height)) --- 412,416 if not self.bg_surface: ! self.bg_surface = pygame.Surface((int(self.width), int(self.height))) self.bg_surface.blit(p, (0,0), (self.left, self.top, self.width, self.height)) --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src osd.py,1.83,1.84
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv25488 Modified Files: osd.py Log Message: Found the cause of the hang when initializing Freevo; Freevo was hanging on the set_mode call in Pygame, and it turns out it was simply because we didn't do anything to tty0 which is where Freevo was running when called over a remote shell. Index: osd.py === RCS file: /cvsroot/freevo/freevo/src/osd.py,v retrieving revision 1.83 retrieving revision 1.84 diff -C2 -d -r1.83 -r1.84 *** osd.py 24 Aug 2003 10:17:11 - 1.83 --- osd.py 26 Aug 2003 20:19:25 - 1.84 *** *** 11,14 --- 11,20 # --- # $Log$ + # Revision 1.84 2003/08/26 20:19:25 outlyer + # Found the cause of the hang when initializing Freevo; Freevo was hanging + # on the set_mode call in Pygame, and it turns out it was simply because we didn't + # do anything to tty0 which is where Freevo was running when called over a remote + # shell. + # # Revision 1.83 2003/08/24 10:17:11 dischi # fallback to default font when the font is not found (bad but better than crash) *** *** 360,364 # tty so that sdl can use it if config.CONF.display in ('mga', 'fbcon'): ! for i in range(1,7): try: fd = os.open('/dev/tty%s' % i, os.O_RDONLY | os.O_NONBLOCK) --- 366,370 # tty so that sdl can use it if config.CONF.display in ('mga', 'fbcon'): ! for i in range(0,7): try: fd = os.open('/dev/tty%s' % i, os.O_RDONLY | os.O_NONBLOCK) --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src/audio/plugins xine.py,1.2,1.3
Update of /cvsroot/freevo/freevo/src/audio/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv26652 Modified Files: xine.py Log Message: Apparently some files have spaces in them... D'oh :) Index: xine.py === RCS file: /cvsroot/freevo/freevo/src/audio/plugins/xine.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** xine.py 23 Aug 2003 12:51:42 - 1.2 --- xine.py 26 Aug 2003 20:24:07 - 1.3 *** *** 13,16 --- 13,19 # --- # $Log$ + # Revision 1.3 2003/08/26 20:24:07 outlyer + # Apparently some files have spaces in them... D'oh :) + # # Revision 1.2 2003/08/23 12:51:42 dischi # removed some old CVS log messages *** *** 155,159 self.thread.mode= 'play' ! self.thread.command = '%s %s' % (command, filename) self.thread.mode_flag.set() return None --- 158,162 self.thread.mode= 'play' ! self.thread.command = '%s "%s"' % (command, filename) self.thread.mode_flag.set() return None --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo freevo_config.py,1.238,1.239
Update of /cvsroot/freevo/freevo In directory sc8-pr-cvs1:/tmp/cvs-serv27034 Modified Files: freevo_config.py Log Message: Add support for FLAC files to the list of acceptable audio plugins. Index: freevo_config.py === RCS file: /cvsroot/freevo/freevo/freevo_config.py,v retrieving revision 1.238 retrieving revision 1.239 diff -C2 -d -r1.238 -r1.239 *** freevo_config.py26 Aug 2003 18:48:31 - 1.238 --- freevo_config.py26 Aug 2003 20:25:39 - 1.239 *** *** 475,479 # are played as audio. # ! SUFFIX_AUDIO_FILES = [ 'mp3', 'ogg', 'wav','m4a' ,'fxd', 'wma', 'aac'] SUFFIX_AUDIO_PLAYLISTS = [ 'm3u' ] --- 475,479 # are played as audio. # ! SUFFIX_AUDIO_FILES = [ 'mp3', 'ogg', 'wav','m4a' ,'fxd', 'wma', 'aac', 'flac'] SUFFIX_AUDIO_PLAYLISTS = [ 'm3u' ] --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo ChangeLog,1.82,1.83
Update of /cvsroot/freevo/freevo In directory sc8-pr-cvs1:/tmp/cvs-serv27260 Modified Files: ChangeLog Log Message: Added note about FLAC Index: ChangeLog === RCS file: /cvsroot/freevo/freevo/ChangeLog,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -d -r1.82 -r1.83 *** ChangeLog 23 Aug 2003 09:30:33 - 1.82 --- ChangeLog 26 Aug 2003 20:26:45 - 1.83 *** *** 12,15 --- 12,17 * Preliminary FreeBSD support from Lars Eggert * xine support for audio playback (needs xine-ui cvs) + * Support for FLAC encoding, tagging and playback (needs xine) + * Many fixes for Python 2.3 warnings * bugfixes and better error handling --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src main.py,1.65,1.66
Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv27449 Modified Files: main.py Log Message: Black the screen on shutdown Index: main.py === RCS file: /cvsroot/freevo/freevo/src/main.py,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** main.py 23 Aug 2003 12:51:41 - 1.65 --- main.py 26 Aug 2003 20:28:05 - 1.66 *** *** 11,14 --- 11,17 # --- # $Log$ + # Revision 1.66 2003/08/26 20:28:05 outlyer + # Black the screen on shutdown + # # Revision 1.65 2003/08/23 12:51:41 dischi # removed some old CVS log messages *** *** 163,167 # Shutdown any daemon plugins that need it. plugin.shutdown() ! os.system('%s stop' % os.environ['FREEVO_SCRIPT']) --- 166,171 # Shutdown any daemon plugins that need it. plugin.shutdown() ! osd.clearscreen(color=osd.COL_BLACK) ! osd.shutdown() os.system('%s stop' % os.environ['FREEVO_SCRIPT']) --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
[Freevo-cvslog] freevo/src/plugins icecast.py,1.5,1.6
Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv9624 Modified Files: icecast.py Log Message: shutdown ices first since it can cause both to not shutdown and make zombie processes Index: icecast.py === RCS file: /cvsroot/freevo/freevo/src/plugins/icecast.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** icecast.py 23 Aug 2003 12:51:42 - 1.5 --- icecast.py 25 Aug 2003 15:49:51 - 1.6 *** *** 11,14 --- 11,17 # --- # $Log$ + # Revision 1.6 2003/08/25 15:49:51 mikeruelle + # shutdown ices first since it can cause both to not shutdown and make zombie processes + # # Revision 1.5 2003/08/23 12:51:42 dischi # removed some old CVS log messages *** *** 108,114 # print 'icecast server::shutdown: pid=%s' % self.pid print 'Stopping icecast server plugin.' - os.kill(self.icecast_pid, signal.SIGTERM) - os.waitpid(self.icecast_pid, 0) os.kill(self.ices_pid, signal.SIGTERM) os.waitpid(self.ices_pid, 0) --- 111,117 # print 'icecast server::shutdown: pid=%s' % self.pid print 'Stopping icecast server plugin.' os.kill(self.ices_pid, signal.SIGTERM) os.waitpid(self.ices_pid, 0) + os.kill(self.icecast_pid, signal.SIGTERM) + os.waitpid(self.icecast_pid, 0) --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog