[Freevo-devel] Re: dbox2 as dvb receiver

2006-02-21 Thread Dirk Meyer
Dirk Meyer wrote: > Hi, > > I friend of mine got his Cable Dbox2 some days ago, his is waiting for > the smartcard to see the encrypted _free_ channels (stupid Kabel > Deutschland). If everything goes well for him, I will also buy such a > box. And you can be sure Freevo will

[Freevo-devel] Re: Back to hack, GStreamer interested please read

2006-02-21 Thread Dirk Meyer
"Gustavo Sverzut Barbieri" wrote: > Hello, > > For those who do not remember me, I used to be a developer a long time > ago, did some hacks around user interface, like the TV Guide and cover > views as they are now. Hi, welcome back. > Unfortunately, due a lot of things I ran out of time to hack

[Freevo-devel] Re: Freevo: Still interested in live-TV?

2006-02-21 Thread Dirk Meyer
"Wander Winkelhorst" wrote: > On 2/21/06, Karl Lattimer <[EMAIL PROTECTED]> wrote: >> I think it would be more useful to us if you had this submitted back to >> mplayer and included in their next release. That way it is available to >> more people, and would be included in freevo without extra hack

[Freevo-devel] Re: Call for help again

2006-02-21 Thread Dirk Meyer
Duncan Webb wrote: > Anyway from the sample output that I sent is it what your are looking for? Looked good. When we have vbi support, we can do since little stuff with it. It would be great if you could provide such a basic vbi module and some higher level stuff (e.g. teletext / cc) on top of it.

[Freevo-devel] Re: Call for help again

2006-02-21 Thread Dirk Meyer
"Gustavo Sverzut Barbieri" wrote: > After this 6-March week, I'll have some time to hack it! > > I'll try to help you with the 2.0 version :-) That would be great, thanks. Dischi -- Black holes are where God divided by zero. pgp3VNhBQmwJz.pgp Description: PGP signature

[Freevo-devel] Re: Freevo: Still interested in live-TV?

2006-02-21 Thread Dirk Meyer
"Wander Winkelhorst" wrote: > [Snip!] >> > >> >> >> >> I'm very interested in this, and would appreciate the patch being sent >> >> to me, but I'm not sure how Dischi would feel about it on this list. >> > >> > Well, I have to hack a bit more on it to make it really usefull to >> > even developers

[Freevo-devel] Re: Freevo: Still interested in live-TV?

2006-02-21 Thread Dirk Meyer
"Wander Winkelhorst" wrote: > I wasn't talking about MPlayer design, I was thinking more along the lines of: > > killall mplayer > mplayer /dev/video0 > > aka. the brute-force way :-) That is way too ugly. Why doing that when you can use xine with that stuff working? Dischi -- I love my work,

[Freevo-devel] Re: Freevo: Still interested in live-TV?

2006-02-21 Thread Dirk Meyer
"Wander Winkelhorst" wrote: > On 2/21/06, Dirk Meyer <[EMAIL PROTECTED]> wrote: >> "Wander Winkelhorst" wrote: >> > I wasn't talking about MPlayer design, I was thinking more along the lines >> > of: >> > >> >

[Freevo-devel] Re: Freevo: Still interested in live-TV?

2006-02-21 Thread Dirk Meyer
Lucian Muresan wrote: > I guess you mean the bug is in mplayer, not in the content. Yes > PAL DVDs with 16:9 or other than 4:3 content also have always the > resolution 720x576, because that's PAL. Only the pixels are'n > square, not even for 4:3 material, and that's the > decoder/postprocessing

[Freevo-devel] Re: How to get the menu in a DaemonPlugin in Freevo 1.5.4?

2006-02-21 Thread Dirk Meyer
Gorka Olaizola wrote: > On Sun, Feb 19, 2006 at 03:40:44PM +0100, Dirk Meyer wrote: >> >> I don't remeber. That's a reason for the rewrite for 2.0. If you would >> write your plugin for 2.0, you can use every item and ask it for the >> menu widget. >> &

[Freevo-devel] Re: Problems compiling SVN kaa on Debian Sid

2006-02-21 Thread Dirk Meyer
Gorka Olaizola wrote: > On Thu, Feb 16, 2006 at 10:59:21AM +0100, Dirk Meyer wrote: >> >> I don't have gcc 4.0, it must be a new warning >> > At least it seems not to affect the compilation. If I have time at night > I'll make a patch for fixing the warn

[Freevo-devel] Re: Can coexist freevo 1.5 and freevo 2.0 installed on the system?

2006-02-21 Thread Dirk Meyer
Gorka Olaizola wrote: > I'm trying to install Freevo 2.0 and I think the best is to install in the > system and by the way make a nightly .deb package for the svn version. > > The problem is that I don't know if I can install freevo 2.0 in > > /usr/lib/python/site-packages/freevo-2.0/ > > while f

[Freevo-devel] Re: Two bugs in tvserver of current SVN

2006-02-21 Thread Dirk Meyer
Hans-Jürgen Ficker wrote: > Dirk Meyer <[EMAIL PROTECTED]> writes: > >> >> Thanks, fixed. >> > > Aaargh! My patch broke adding recordings by means of favorites. This > patch fixes it

[Freevo-devel] SDL Question

2006-02-22 Thread Dirk Meyer
Hi, stupid question to someone who knows SDL: is it possible to create an external output lib? Or do I need to patch the source? I need a way to make SDL output into _memory_. Why? I want to make it possible to run SDL apps like ScummVM on a canvas layer. Are there SDL experts here? Dischi --

[Freevo-devel] Re: SDL Question

2006-02-22 Thread Dirk Meyer
Rob Shortt wrote: > Dirk Meyer wrote: >> Hi, > > Hi Dischi, > >> stupid question to someone who knows SDL: is it possible to create an >> external output lib? Or do I need to patch the source? I need a way to >> make SDL output into _memory_. Why? I want to make

[Freevo-devel] Re: Can coexist freevo 1.5 and freevo 2.0 installed on the system?

2006-02-22 Thread Dirk Meyer
Hans Meine wrote: > On Wednesday 22 February 2006 08:39, Gorka Olaizola wrote: >> I think it will be better to use .freevo2 and /etc/freevo2 as path for the >> config file and don't conflict with freevo1. > > FWIW, this is a "me too". AFAICS, that would simplify parallel setups, since > you do no

[Freevo-devel] Re: why kaa.xine explicit x11 dependency?

2006-02-23 Thread Dirk Meyer
Lucian Muresan wrote: > I'll leave it to you python gurus to do this properly, to only build > kaa.xine against X11 if xine-lib itself was built so, to me that seems > more logical. Then I installed kaa and this was the > Summary: > + base, imlib2, mevas, thumb, epg, record, metadata, canvas, xine,

[Freevo-devel] Re: Democracy

2006-02-23 Thread Dirk Meyer
Rob Shortt wrote: >> I don't know if you guys are familiar with democracy, but it is an >> awesome webtv project! > > Indeed it is, formerly DTV, I haev been following it closely. :) Me too. >> Since the player is written in python ... how about a plugin for that? > > I guess you can say I'm alre

[Freevo-devel] Re: why kaa.xine explicit x11 dependency?

2006-02-23 Thread Dirk Meyer
Lucian Muresan wrote: > Ok, I'd like to try to do that. I could hardcode some > display.config('#define THERE_IS_NO_X11') > in kaa/display/setup.py and use it all over to avoid building against > X11, and do the same in kaa.xine, but I wanted to do it properly. That is fine. We do that all the ti

[Freevo-devel] Re: why kaa.xine explicit x11 dependency?

2006-02-24 Thread Dirk Meyer
Gorka Olaizola wrote: > On Fri, Feb 24, 2006 at 12:57:13AM +0100, Lucian Muresan wrote: >> >> +have_x11 = 1 >> +try: >> +dl.open('/usr/lib/libX11.so') >> +except dl.error, err: >> +print "System without X11 detected" >> +have_x11 = 0 >> + >> > The problem I see with this is that one c

[Freevo-devel] HTML / CSS Help Needed

2006-02-24 Thread Dirk Meyer
Hi, I need someone to help me make the webserver2 (not everything in svn right now, but it will be during the weekend) look better. I have some nice ideas but not enough time and don't know about current stuff you can do with HTML and CSS. I need this working at the and of the next week (3.3.).

[Freevo-devel] Re: HTML / CSS Help Needed

2006-02-24 Thread Dirk Meyer
Karl Lattimer wrote: > What needs doing, and how do I do it... svn? etc... > > I'm always willing to do HTML/CSS for you Dischi, you know that ;) > > I just hope there isn't any python involved, i'm still struggling with > some concepts. RegExp especially... > > Give me a list of tasks, some mockup

[Freevo-devel] Re: dbox2 as dvb receiver

2006-02-25 Thread Dirk Meyer
Dirk Meyer wrote: > Dirk Meyer wrote: >> Hi, >> >> I friend of mine got his Cable Dbox2 some days ago, his is waiting for >> the smartcard to see the encrypted _free_ channels (stupid Kabel >> Deutschland). If everything goes well for him, I will also buy such a &

[Freevo-devel] Freevo at the CeBIT in Hannover

2006-03-06 Thread Dirk Meyer
Hi The current Freevo SVN snapshot will be shown at the CeBIT in Hannover It is part of the Bremen stand in H9 S21. The University of Bremen / TZI (the people who feed me) will show Freevo as platform for our (TZI) future visions of home entertainment. It's very small (about two square meters) but

[Freevo-devel] Re: [Freevo-cvslog] r8052 - trunk/core/src/ipc

2006-03-07 Thread Dirk Meyer
Rob Shortt wrote: > Author: rshortt > Date: Tue Mar 7 15:20:53 2006 > New Revision: 8052 > > Modified: >trunk/core/src/ipc/epg.py > > Log: > Added xmltv_grabber and log level options. > > > Modified: trunk/core/src/ipc/epg.py I'm not sure ipc/epg.py is the correct filename. I guess I need to

[Freevo-devel] Re: [Freevo-cvslog] r8049 - trunk/WIP/RobShortt/webserver-epg2/src/pages

2006-03-07 Thread Dirk Meyer
Rob Shortt wrote: > Author: rshortt > Date: Tue Mar 7 13:20:30 2006 > New Revision: 8049 > > Modified: >trunk/WIP/RobShortt/webserver-epg2/src/pages/guide.py > > Log: > The guide uses kaa.epg2 now, still a work in progress, record does not yet > work. Did you look at WIP/webserver2? I'm work

[Freevo-devel] Re: why kaa.xine explicit x11 dependency?

2006-03-09 Thread Dirk Meyer
"Justin Wetherell" wrote: > This check fails on my system because libX11.so is located in > "/usr/X11R6/lib/libX11.so" > > On 2/24/06, Gorka Olaizola <[EMAIL PROTECTED]> wrote: >> >> On Fri, Feb 24, 2006 at 12:57:13AM +0100, Lucian Muresan wrote: >> > >> > +have_x11 = 1 >> > +try: >> > +dl.open

[Freevo-devel] Re: [Freevo-cvslog] r8052 - trunk/core/src/ipc

2006-03-09 Thread Dirk Meyer
Rob Shortt wrote: > Dirk Meyer wrote: >> Rob Shortt wrote: >>>Modified: trunk/core/src/ipc/epg.py >> >> I'm not sure ipc/epg.py is the correct filename. I guess I need to >> write some more docs about how I think the structure should be. Maybe >> e

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1230 - trunk/WIP/epg2/test

2006-03-09 Thread Dirk Meyer
Rob Shortt wrote: > Log: > Unicode fixes. > > +print " %s (%s): %s" % (program.channel.channel, start_time, > program.title.encode('latin-1')) You don't like the logger, don't you? Using print is a bad idea in general, it won't be in the log files if it runs as a daemon. So you should use |

[Freevo-devel] Re: [Freevo-cvslog] r8029 - trunk/WIP/webserver/share/htdocs/scripts

2006-03-09 Thread Dirk Meyer
Karl Lattimer wrote: > Author: klattimer > Date: Thu Mar 2 20:33:25 2006 > New Revision: 8029 > > Modified: >trunk/WIP/webserver/share/htdocs/scripts/freevo.js > > Log: > stub for refreshing metadata every 2 seconds > > Modified: trunk/WIP/webserver/share/htdocs/scripts/freevo.js > ===

[Freevo-devel] Re: [Freevo-cvslog] r7957 - in trunk/ui/src/input: .

2006-03-09 Thread Dirk Meyer
Rob Shortt wrote: > Author: rshortt > Date: Mon Feb 27 17:39:12 2006 > New Revision: 7957 > > Modified: >trunk/ui/src/input/keymap.py >trunk/ui/src/input/plugins/dfbevents.py > > Log: > Add DIRECTFB_MAP. I would like to move this into the plugin's config() but > until we get to do more wo

[Freevo-devel] Re: [Freevo-cvslog] r8059 - trunk/tvdev/src

2006-03-09 Thread Dirk Meyer
Rob Shortt wrote: > Author: rshortt > Date: Wed Mar 8 17:59:22 2006 > New Revision: 8059 > > Modified: >trunk/tvdev/src/base.py > > Log: > Bugfix, need join, not isfile. > > -return os.path.isfile('/etc/freevo/channels-%s.conf' % > self.device) > +return os.path.join('

[Freevo-devel] Re: [Freevo-cvslog] r8066 - trunk/WIP/RobShortt/tvserver-epg2/bin

2006-03-09 Thread Dirk Meyer
Rob Shortt wrote: > +print " %s (%s): %s" % > (program.channel.short_name.encode('latin-1'), start_time, > program.title.encode('latin-1')) > +if program.description: > +print "\t* " + "\n\t > ".join(textwrap.wrap(program.description.encode('latin-1'), 6

[Freevo-devel] Re: [Freevo-cvslog] r7957 - in trunk/ui/src/input: .

2006-03-10 Thread Dirk Meyer
Rob Shortt wrote: > Dirk Meyer wrote: >> Rob Shortt wrote: >>>Log: >>>Add DIRECTFB_MAP. I would like to move this into the plugin's config() but >>>until we get to do more work on integrating plugin configs into the new >>>config format thi

[Freevo-devel] Re: Metadata and some ideas

2006-03-10 Thread Dirk Meyer
Karl Lattimer wrote: > After reading the shortcut to random music message I had some thoughts. > > Imagine if you could go into your music folder in freevo and select, > "play romantic music" or "play party music", it would be great if you > could use meta tags to tag your music into virtual playli

[Freevo-devel] Re: Favorite / Visited tagging

2006-03-10 Thread Dirk Meyer
"The Hog" wrote: > Hi, > > Has anyone written plugins to do the following: > > - Tag an item (video, mp) as visited. It would be convenient to be able to > tag an item using the remote control when one has viewed a recording, video > or mp3. This would help to quickly scan a list and determine whic

[Freevo-devel] Re: Metadata and some ideas

2006-03-10 Thread Dirk Meyer
"Justin Wetherell" wrote: > I think this idea should be generalized. You should be able to browse > (videos, music, and recorded television, tv schedule) by categories types > (genre, actors, movies, documentaries, financial, etc). If that were also > worked into the TV-Guide would be quite fancy a

[Freevo-devel] Re: A letter for Freevo

2006-03-11 Thread Dirk Meyer
Hans Meine wrote: > On Saturday 21 January 2006 20:44, Dirk Meyer wrote: >> I mean it, a gnome app starts with 'g', KDE with 'k', enlightenment >> has very cool names with 'e' and Apple uses 'i' (iPod, iBook). So I >> guess it is time

[Freevo-devel] Re: Toggle item in menu

2006-03-11 Thread Dirk Meyer
"TheHog" wrote: > Hi, > > I'm writing a plugin for freevo. One of the menu items should be a toggle > item, i.e. it should switch between "disabled" and "enabled". i cannot figure > out how this can best be done. Could you please give a short description? Well, only with a bad hack. > What I try

[Freevo-devel] Re: [Freevo-cvslog] r8084 - trunk/core/src/ipc

2006-03-14 Thread Dirk Meyer
Rob Shortt wrote: > Rob Shortt wrote: >> Log: >> Put cmp_channel function here for now but there may be a better place. > > Could I just give the Channel class a def __cmp__(self, other)? Sounds ok to me Dischi -- $100 placed at 7 percent interest compounded quarterly for 200 years will increa

[Freevo-devel] Re: EPG changes

2006-03-16 Thread Dirk Meyer
Rob Shortt wrote: > Hi, Hi I had no time to look at the code yet, but I still have some comments about it (maybe reading the code would help) > In an effort to simplify thing's a bit I've removed the old channel_id > from the EPG. Instead, a channel will be uniquely identified by its > name onl

[Freevo-devel] Re: small weakref patch

2006-03-17 Thread Dirk Meyer
"Chris Lack" wrote: > Hi, > > I found that I needed to make these small changes to keep the current > freevo 2 cvs from crashing on my system when trying to access > directories. Thanks. Looks like my code movement in kaa.base broke some things. > Is anyone working on the games system at the mom

[Freevo-devel] kaa.canvas integration

2006-03-17 Thread Dirk Meyer
Hi, now that Tack is back I guess it is time (again) to think about how to integrate kaa.canvas into Freevo. If I understand it corrctly, kaa.canvas is finished at the python level and is ready for integration. Freevo will need some sort of theming like the current fxd files with the tag. Kaa.c

[Freevo-devel] Re: EPG changes

2006-03-17 Thread Dirk Meyer
Rob Shortt wrote: >> What is the name if not the channel id? > > The name is the actual channel name like "ZDF" or "PRO 7". The idea > here is to keep things as simple as possible. I don't think it is worth > using the XMLTV ID internally, it is only something needed by the XMLTV > data structure

[Freevo-devel] Re: EPG changes

2006-03-18 Thread Dirk Meyer
Rob Shortt wrote: >> Well, it may be ok for you, but I don't want a public 2.0 release out >> there with a huge security risk. You know what you are doing by >> choosing this kind of communication, others don't. > > OK, I can respect that. I still need a networked EPG that performs > well. I also

[Freevo-devel] Re: EPG changes

2006-03-18 Thread Dirk Meyer
Rob Shortt wrote: > Dirk Meyer wrote: >> Rob Shortt wrote: >>>well. I also forgot to mention the need to support diskless clients - >>>no disk to store local db. >> >> >> Define diskless. I have a very dump box here, unable to start anything >>

[Freevo-devel] Re: games patch

2006-03-20 Thread Dirk Meyer
"Chris Lack" wrote: > Hi, > > I've patched up the games system to be fairly functional. I > integrated the existing individual plugins into the main plugin since > they weren't doing enough to justify having them as a seperate plugin > needing to be activated. The current functionality is pretty c

[Freevo-devel] Re: games.db

2006-03-20 Thread Dirk Meyer
Jason Tackaberry wrote: > On Sun, 2006-03-19 at 14:11 -0600, Chris Lack wrote: >> Would it be acceptable to use an sqlite database within the games plugin? > > I think it's okay to catalog games this way from within the plugin. But > you should use kaa.db rather than sqlite directly. I wonder if

[Freevo-devel] Re: games.db

2006-03-20 Thread Dirk Meyer
"Chris Lack" wrote: > I will have a look at both kaa.vfs and particularly kaa.metadata since > that is now next on my list. kaa.metadata is the master here. Kaa.vfs will parse the metadata using kaa.metadata and you can search with it later. If you have a full cached directory tree of mp3 files b

[Freevo-devel] Re: Freevo 2.0 libxml2

2006-03-21 Thread Dirk Meyer
"Justin Wetherell" wrote: > Is there some sort of secret to get the libxml2 python bindings built? When > I start Freevo; I get the following error: > > import kaa.metadata > File "/usr/local/lib/python2.4/site-packages/kaa/metadata/__init__.py", > line 37, in ? > raise ImportError('libxm

[Freevo-devel] Re: games metadata

2006-03-22 Thread Dirk Meyer
"Chris Lack" wrote: > I've begun the work on adding metadata for games/roms. Currently each > type has a typeitem.py and typedb.py file. The typedb.py is just a > big dictionary keyed by CRC values. This data has been pulled from > the mess project via a small script I wrote that parses their .h

[Freevo-devel] Re: Feature Request (Font Color)

2006-03-24 Thread Dirk Meyer
Bastian Farkas wrote: > i'm not familiar with the current code, but a more appropriate approach > would be to include it in the skinfile. > > On Thu, 2006-03-23 at 15:55 +, Justin Wetherell wrote: >> I was wondering (if it's not already possible) if you could add an >> option to __init__ maye a

[Freevo-devel] Re: INotify API in beacon

2006-03-27 Thread Dirk Meyer
Jason Tackaberry wrote: > i = INotify() > dir = os.path.expanduser("~") > i.watch(dir).connect(cb) > print "Now monitoring", dir > kaa.main() Nice work. I see that INotify doesn't work in subdirs. So I guess the logic for beacon will be the following: start crawler for dir x. When a subdir is che

[Freevo-devel] Re: ATTR_IGNORE_CASE in kaa.db

2006-03-27 Thread Dirk Meyer
Jason Tackaberry wrote: > I added an ATTR_IGNORE_CASE flag to kaa.db. This flag can be used in > conjunction with ATTR_SEARCHABLE and ATTR_INDEXED. Case-insensitive > searches on indexed columns will still benefit from the index on that > column. > > The default behaviour remains the same: querie

[Freevo-devel] Re: Freevo 2.0 SVN errors (TV Guide)

2006-03-28 Thread Dirk Meyer
"Justin Wetherell" wrote: > Error when trying to access the TV Guide: > > WARNING __init__(267): VIDEO_SHOW_DATA_DIR not found > ERROR eventhandler(265): eventhandler > Traceback (most recent call last): > File > "/usr/local/src/freevo/lib/python2.4/site-packages/freevo/ui/application/eventhandle

[Freevo-devel] Re: INotify API in beacon

2006-03-30 Thread Dirk Meyer
Jason Tackaberry wrote: > On Mon, 2006-03-27 at 11:24 +0200, Dirk Meyer wrote: >> Nice work. I see that INotify doesn't work in subdirs. So I guess the >> logic for beacon will be the following: > > Right. Actually there was talk about making something like that > p

[Freevo-devel] Re: ATTR_IGNORE_CASE in kaa.db

2006-03-30 Thread Dirk Meyer
Jason Tackaberry wrote: > On Mon, 2006-03-27 at 11:31 +0200, Dirk Meyer wrote: >> Again, what is case sensitive and what not? Only keyword searches? > > By default, queries are case-sensitive except for keyword searches. > > If you want to allow case-insensitive search

[Freevo-devel] Re: Lost patches

2006-03-31 Thread Dirk Meyer
Hans Meine wrote: > Hi! > > I just digged in my last CVS checkout of Freevo 2.0 and found some patches > that were not yet applied to SVN. Sorry for the late answer. I just wanted to add the patches and I don't see the reason why: Index: ui/src/plugins/idlebar/logo.py ==

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1382 - trunk/beacon/src/inotify

2006-04-05 Thread Dirk Meyer
Jason Tackaberry wrote: > Author: tack > Date: Wed Apr 5 19:26:50 2006 > New Revision: 1382 > > Modified: >trunk/beacon/src/inotify/__init__.py > > Log: > Clean dischi's last commit :) > > > Modified: trunk/beacon/src/inotify/__init__.py > ==

[Freevo-devel] Re: games patch

2006-04-07 Thread Dirk Meyer
"Chris Lack" wrote: > Hi, > > I've patched up the games system to be fairly functional. I > integrated the existing individual plugins into the main plugin since > they weren't doing enough to justify having them as a seperate plugin > needing to be activated. The current functionality is pretty c

[Freevo-devel] Re: Beacon and dupes

2006-04-14 Thread Dirk Meyer
Jason Tackaberry wrote: > So, the new file is listed twice. Even when I exit the client and run > the query again: > > [EMAIL PROTECTED] ~]$ beacon --search keywords=foo > > > Query took 0.00483393669128 seconds Found it. Inotify sends two signals for a new file: CREATE and MODIFY. So in that c

[Freevo-devel] Re: Beacon and dupes

2006-04-16 Thread Dirk Meyer
Jason Tackaberry wrote: > On Fri, 2006-04-14 at 15:35 +0200, Dirk Meyer wrote: >> checks to prevent it. But maybe we should think about signals from >> inotifier: what do we need and what is not (I guess CREATE is not >> needed because of MODIFY). > > In my first implem

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1404 - trunk/base/src/notifier

2006-04-17 Thread Dirk Meyer
Jason Tackaberry wrote: > Reported upstream? Yes Dischi -- Warning: Dates in Calendar are closer than they appear. pgpbsGotb2Vcl.pgp Description: PGP signature

[Freevo-devel] Re: pynotifier gtk wrapper lacks dispatcher_add/remove

2006-04-19 Thread Dirk Meyer
Jason Tackaberry wrote: > Hi crunchy, > > In nf_gtk.py: > >dispatcher_add = None >dispatcher_remove = None > > This causes kaa to break when we connect to the idle signal. This > should be implemented using idle_add(): > >>>> gobject.idle_add > >>>> gobject.source_remove >

[Freevo-devel] Re: Another beacon bug

2006-04-19 Thread Dirk Meyer
Jason Tackaberry wrote: > If I try to monitor a directory with a fresh ~/.beacon here's what I get: > > [EMAIL PROTECTED] ~]$ rm -rf ~/.beacon > [EMAIL PROTECTED] ~]$ BEACON_MONITOR=/data/movies beacon --start > WATCH 1 /orion/data/movies 10182 > WATCH 2 /orion/data/disks/2/movies/25th Hour 10182

[Freevo-devel] Re: Another beacon bug

2006-04-19 Thread Dirk Meyer
Jason Tackaberry wrote: > On Tue, 2006-04-18 at 19:34 -0400, Jason Tackaberry wrote: >> If I try to monitor a directory with a fresh ~/.beacon here's what I get: > > And more, possibly related (or possibly not). I managed to > index /data/mp3/Singles (I'm not sure why I was able to index that and

[Freevo-devel] Re: pynotifier gtk wrapper lacks dispatcher_add/remove

2006-04-19 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-04-19 at 11:03 +0200, Dirk Meyer wrote: >> I already talked with crunchy about that two days ago, the latest >> version in svn://svn.bitkipper.net/pyNotifier/trunk (that is not the >> one freevo uses right now) can handle our 'id

[Freevo-devel] Re: pynotifier gtk wrapper lacks dispatcher_add/remove

2006-04-19 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-04-19 at 15:29 +0200, Dirk Meyer wrote: >> gtk_idle_add is something different. BTW, we should also rename our >> idle signal to maybe step. > > Hmm, I see what you mean. > > Or possibly have both. We do need a step signal, particu

[Freevo-devel] Re: Another beacon bug

2006-04-19 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-04-19 at 11:08 +0200, Dirk Meyer wrote: >> Arg, you have this softlink stuff again. Can you send me a private >> mail with your directory structure. > > The basic idea is: > * I have 4 disks on my file server, orion, mounted

[Freevo-devel] Re: pynotifier gtk wrapper lacks dispatcher_add/remove

2006-04-19 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-04-19 at 17:00 +0200, Dirk Meyer wrote: >> It should be easy to add to the generic notifier if we really need >> this. It could be a simple: >> >> | if len(idle_callbacks): >> | select_timeout=0 > > No need for

[Freevo-devel] Re: Another beacon bug

2006-04-19 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-04-19 at 11:14 +0200, Dirk Meyer wrote: >> Besides the bug in the error message, why can't beacon find the media? >> The media support (different root dirs on different media like cd) is >> not integrated yet and you should always

[Freevo-devel] Re: pynotifier gtk wrapper lacks dispatcher_add/remove

2006-04-20 Thread Dirk Meyer
Hans Meine wrote: > Hi! > > On Wednesday 19 April 2006 17:47, Dirk Meyer wrote: >> > No need for this. The default largest select sleep time in nf_generic >> > anyway is 100ms. That's plenty for an idle loop. And that not doing >> > this would solve the

[Freevo-devel] Re: YABB2

2006-04-20 Thread Dirk Meyer
Jason Tackaberry wrote: > Do a monitored artist search (for an artist you have). Say you searched > for an artist that was in foo.mp3. Now do: > >cp foo.mp3 bar.mp3 > > (Assuming this directory is being monitored.) Notice that bar.mp3 > doesn't get picked up. I think what's happening is tha

[Freevo-devel] Re: YABB (Yet Another Beacon Bug)

2006-04-21 Thread Dirk Meyer
Jason Tackaberry wrote: > This one doesn't look fixed yet. I updated kaa.base with the weakref > fix. dischi? After I found the first bug I assumed this was it. Well, there was another bug of the same type in weakref. Now it is working. Dischi -- I went to a bookstore and asked the saleswoma

[Freevo-devel] Re: pynotifier gtk wrapper lacks dispatcher_add/remove

2006-04-21 Thread Dirk Meyer
Jason Tackaberry wrote: > On Thu, 2006-04-20 at 14:24 +0200, Hans Meine wrote: >> It's not an "issue to be solved", it's a features AFAIK. I use that a lot >> (with Qt actually) as a poor man's (and hassle-free!) threading technique, >> to >> do calculations in the background. > > Python makes

[Freevo-devel] Re: YABB (Yet Another Beacon Bug)

2006-04-21 Thread Dirk Meyer
Jason Tackaberry wrote: > On Fri, 2006-04-21 at 12:11 +0200, Dirk Meyer wrote: >> After I found the first bug I assumed this was it. Well, there was >> another bug of the same type in weakref. Now it is working. > > Ok, looks good. > > Now it would rock if beacon server

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1478 - trunk/beacon/src

2006-04-22 Thread Dirk Meyer
Jason Tackaberry wrote: > Author: tack > Date: Sat Apr 22 21:05:11 2006 > New Revision: 1478 > > Modified: >trunk/beacon/src/db.py > > Log: > Add notes about performance. > > > Modified: trunk/beacon/src/db.py > == > --

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1481 - trunk/beacon/src

2006-04-23 Thread Dirk Meyer
Jason Tackaberry wrote: > Author: tack > Date: Sun Apr 23 02:38:09 2006 > New Revision: 1481 > > Modified: >trunk/beacon/src/db.py > > Log: > Bug! ping dischi :) > > > Modified: trunk/beacon/src/db.py > == > --- trunk/

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1479 - trunk/beacon/src

2006-04-23 Thread Dirk Meyer
Jason Tackaberry wrote: > +# FIXME: This is O(n^2); we iterate over each item, and each item > +# calls _beacon_mtime() which in turn calls _beacon_listdir() and > +# iterates over all items returned by that. Yes, the reason for that is that foo.srt may affect the metadata

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1478 - trunk/beacon/src

2006-04-23 Thread Dirk Meyer
Jason Tackaberry wrote: > Speaking of hotspot, notice the comment check-in I made in monitor.py > about the quadratic performance in _scan_step(). I was wondering why a > query on /usr/bin initially took 100% cpu for a few seconds. Really all > this needs to do is stat each file, which on my syst

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1479 - trunk/beacon/src

2006-04-23 Thread Dirk Meyer
Jason Tackaberry wrote: > On Sun, 2006-04-23 at 12:59 +0200, Dirk Meyer wrote: >> Yes, the reason for that is that foo.srt may affect the metadata for >> foo.avi. But your listdir code now has a key list, maybe we can pass >> that to the results, too? In that case it shoul

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1478 - trunk/beacon/src

2006-04-23 Thread Dirk Meyer
Jason Tackaberry wrote: > On Sun, 2006-04-23 at 13:31 +0200, Dirk Meyer wrote: >> As you saw in the code, I need to check every item if it has a changed >> mtime. So I walk through the list of items. And each item has a >> special mtime function, returning more than only it

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1479 - trunk/beacon/src

2006-04-23 Thread Dirk Meyer
Jason Tackaberry wrote: > Hrmm, first of all, unrelated, mtime += stat_res[stat.ST_MTIME] looks a > bit like a kludge? Are you just later testing that the mtime returned > here is greater than the last known mtime? In this case, if you delete > one of these "overlay" files (or whatever you're cal

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1478 - trunk/beacon/src

2006-04-23 Thread Dirk Meyer
Jason Tackaberry wrote: > On Sun, 2006-04-23 at 16:49 +0200, Dirk Meyer wrote: >> Well, to do that I have to know all extentions, I don't do that right >> now. And I also want to find foo-english.srt for foo.avi. > > As per my last email, we should add an API to kaa.m

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1478 - trunk/beacon/src

2006-04-23 Thread Dirk Meyer
Jason Tackaberry wrote: > On Sun, 2006-04-23 at 17:11 +0200, Dirk Meyer wrote: >> To add -english here is brutal, too. You need to add many >> languages. So if we go for the list idea, we should skip the >> language. If needed, freevo can check for this later when the user

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1479 - trunk/beacon/src

2006-04-23 Thread Dirk Meyer
Jason Tackaberry wrote: > What interest does beacon have in the subtitle files anyway? Or I guess > the better question is what interest does kaa.metadata have in them? I > guess there's a subtitles attribute in the object metadata.parse() > generates? Yes, there is a subtitles attribute in kaa.

[Freevo-devel] Re: beacon and excessive stating

2006-04-26 Thread Dirk Meyer
Jason Tackaberry wrote: > When crawling directories, beacon stats all files in a directory. If > the directory has already been indexed, technically it only needs to > stat the directory and not all the regular files underneath it. It only > needs to stat all the regular files if the mtime on the

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1502 - trunk/beacon/src

2006-04-26 Thread Dirk Meyer
Jason Tackaberry wrote: > Author: tack > Date: Tue Apr 25 22:45:43 2006 > New Revision: 1502 > > Modified: >trunk/beacon/src/parser.py > > Log: > ping dischi > > > Modified: trunk/beacon/src/parser.py > == > --- trunk/b

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1511 - trunk/metadata/src/audio

2006-04-26 Thread Dirk Meyer
Jason Tackaberry wrote: > Author: tack > Date: Wed Apr 26 15:39:05 2006 > New Revision: 1511 > > Modified: >trunk/metadata/src/audio/eyed3info.py > > Log: > Grip unicode bug workaround; dischi, please test this one of your mp3s that > you have encoded with grip but have corrected the encoding f

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1522 - trunk/base/src/notifier

2006-04-29 Thread Dirk Meyer
Jason Tackaberry wrote: > +def _idle_signal_emit(): > +""" > +Wrapper for idle signal emit that ignores return value, otherwise > notifier > +may remove the dispatcher if the signal returns false. > +""" > +signals["idle"].emit() Without testing, this does not work because the

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1522 - trunk/base/src/notifier

2006-04-29 Thread Dirk Meyer
Jason Tackaberry wrote: > On Sat, 2006-04-29 at 12:08 +0200, Dirk Meyer wrote: >> Jason Tackaberry wrote: >> > +def _idle_signal_emit(): >> > +""" >> > +Wrapper for idle signal emit that ignores return value, otherwise >> >

[Freevo-devel] kaa.ipc and step() problems

2006-04-29 Thread Dirk Meyer
Hi, I have some problems with kaa.ipc and I noticed that while all my freevo processes used 100% CPU time. After some digging I found the problem: the webserver was sending mbus hello events as fast as it could (and all other processes were busy handling that). So how could this happen? The probl

[Freevo-devel] Re: kaa.ipc and step() problems

2006-04-29 Thread Dirk Meyer
I will answer in more details tomorrow, but... Jason Tackaberry wrote: > It's very convenient to be able to do synchronous calls. I think this > problem could be resolved by removing step() from kaa.ipc and instead > doing its own select/handle loop. This means other timers won't fire > while th

[Freevo-devel] Re: Support for Hardware Media Center Extenders.

2006-04-30 Thread Dirk Meyer
Jared Kells wrote: > I am writing to see if anyone knows of any work done on an open source > implementation of Microsoft's MCX protocol. Not that I know of. > For those that don't know Media Center Extenders are network devices > that plug into your TV and extend Windows Media Center Edition ove

[Freevo-devel] Re: kaa.metadata length always int

2006-04-30 Thread Dirk Meyer
Jason Tackaberry wrote: > In kaa.metadata: > > def correct_data(self): > """ > correct length to be an int > """ > MediaInfo.correct_data(self) > if not self['length'] and len(self.video) and self.video[0]['length']: > self['length'] = self.vi

[Freevo-devel] Re: beacon and excessive stating

2006-04-30 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-04-26 at 10:41 +0200, Dirk Meyer wrote: >> > stat the directory and not all the regular files underneath it. It only >> > needs to stat all the regular files if the mtime on the dir has changed. >> >> No > > Right, r

[Freevo-devel] Re: kaa.ipc and step() problems

2006-04-30 Thread Dirk Meyer
Jason Tackaberry wrote: > On Sat, 2006-04-29 at 19:01 +0200, Dirk Meyer wrote: >> | # Update timestamp on timer before calling the callback to >> | # prevent infinite recursion in case the callback calls >> | # step(). >> |

[Freevo-devel] Re: Support for Hardware Media Center Extenders.

2006-05-01 Thread Dirk Meyer
"mike lewis" wrote: > On 4/30/06, Dirk Meyer <[EMAIL PROTECTED]> wrote: >> Jared Kells wrote: >> > I am writing to see if anyone knows of any work done on an open source >> > implementation of Microsoft's MCX protocol. >> >> Not th

[Freevo-devel] Re: Support for Hardware Media Center Extenders.

2006-05-01 Thread Dirk Meyer
Jared Kells wrote: > Unfortunatly the XBOX only suports streaming video using MCX. A lot of > the hardware extenders I have seen also only support MCX. You are the first one telling me that they don't use upnp. > Sorry for the confusion it is not a feature request for freevo that > would be prett

[Freevo-devel] Re: [Freevo-cvslog] Kaa r1532 - trunk/canvas/src

2006-05-03 Thread Dirk Meyer
Jason Tackaberry wrote: > On Wed, 2006-05-03 at 12:52 +0200, Dirk Meyer wrote: >> add (not working) scale animator > > There is already SizeAnimator. I know, I inherit from it. As I wrote in a private mail, maybe scale is not resize. Dischi -- After all is said and done, a hel

<    1   2   3   4   5   6   7   8   9   10   >