[Freevo-devel] Re: Bug in padding conflict rating

2005-12-10 Thread Dirk Meyer
Hans-Jürgen Ficker wrote: > Hi, *! > > Finally, I'm back at using freevo! Hi, welcome back. And you are using current svn, that's great. Since I know you can code, I only need to find something to do for you now :) > I think, I found a bug in tvserver/src/conflict.py, and fixxed it. It > caused a

[Freevo-devel] Re: Bug in padding conflict rating

2005-12-11 Thread Dirk Meyer
Hans-Jürgen Ficker wrote: > Dirk Meyer <[EMAIL PROTECTED]> writes: > >> Hans-Jürgen Ficker wrote: >>> Hi, *! >>> >>> Finally, I'm back at using freevo! >> >> Hi, welcome back. And you are using current svn, that's great. Since I &g

[Freevo-devel] Re: Installing freevo2

2005-12-11 Thread Dirk Meyer
Jeremy Wilkins wrote: > Hi, > > I've been trying to install freevo2. I've checked out the kaa and freevo > modules but when I go to install kaa with > > python setup.py install --prefix=~/freevo2 > > I get -; > > [setup] Entering kaa submodule base > Building kaa shm module (no system shm module

[Freevo-devel] Re: proper way to read config

2005-12-13 Thread Dirk Meyer
Rob Shortt wrote: > Hi, > > shane wrote: >> I was not sure if thier is a standard way to read varibles in the >> local config. For my plugin I used the following method. Is thier a >> better way to do this? > > I can't recall if you can do this in 1.5 but in 2.0/CVS you can do > something like this

[Freevo-devel] Re: Teletext to subrip subtitles grabber

2005-12-17 Thread Dirk Meyer
Hi Duncan Webb wrote: > Hi all, > > I don't know if anybody is interested but one of my goals in using > freevo was to be able to record the TV with teletext subtitles. At the > moment none of the main players support subtitles from teletext so > I've written this program to extract the subtitles

[Freevo-devel] Re: Teletext to subrip subtitles grabber

2005-12-17 Thread Dirk Meyer
Hi Duncan Webb wrote: > One of my todo's is to add support for bttv cards but the next step > is to rewrite the ivtv record plug-in so that it used vbi2srt and so > can generate the subtitles as it records. This should be easy as > when the input is a video device (/dev/video0) then a mpeg file an

[Freevo-devel] Re: developer docs

2005-12-18 Thread Dirk Meyer
shane wrote: > Is most of the developer documentation just scattered around in the > mailing lists and the wiki? I would really like to read and understand > the API, in particular for writing good plugins. I know, our doc sucks. I hope Freevo 2.0 will have a better doc. > for example, I used thi

[Freevo-devel] Re: [Freevo-cvslog] Kaa r988 - trunk/epg/src

2005-12-18 Thread Dirk Meyer
Rob Shortt wrote: > Author: rshortt > Date: Sun Dec 18 19:17:43 2005 > New Revision: 988 > > Modified: >trunk/epg/src/db_base.py > > Log: > Make all queries unicode. This might be overkill, I don't know. Doing this > will > ensure only unicode data goes into the DB. Overkill does not matter

[Freevo-devel] Kaa Config Module

2005-12-19 Thread Dirk Meyer
Hi, we will need a better config module for Freevo. The current one with the python file and local_conf.py is a very bad idea. I started a new config file format using ini style config files, but before I rewrite stuff again, I want to summarize a list of features we need. And maybe it won't be th

[Freevo-devel] Re: [Freevo-cvslog] Kaa r996 - trunk/epg/src

2005-12-19 Thread Dirk Meyer
Rob Shortt wrote: > Author: rshortt > Date: Mon Dec 19 18:20:05 2005 > New Revision: 996 > > Modified: >trunk/epg/src/guide.py > > Log: > Normalize some variables earlier and make them Unicode to eliminate errors. > > > Modified: trunk/epg/src/guide.py >

[Freevo-devel] Re: Kaa Config Module

2005-12-19 Thread Dirk Meyer
Cyril wrote: > Have you checked python's built-in ConfigFileParser ? > I've been using on my projects, and it works pretty well > (http://abd.sf.net/ if you want to see it in action) It does not meet most of my requirenments. It strips comments on writing, can't check values based on types, etc.

[Freevo-devel] Re: Kaa Config Module

2005-12-20 Thread Dirk Meyer
Duncan Webb wrote: > Dirk Meyer wrote: > >>Cyril wrote: >> >> >>>Have you checked python's built-in ConfigFileParser ? >>>I've been using on my projects, and it works pretty well >>>(http://abd.sf.net/ if you want to see it in actio

[Freevo-devel] Re: Kaa status

2005-12-22 Thread Dirk Meyer
Emmanuel Sale wrote: > I am just wondering, is there a way to use or activate kaa xine by using the > SVN freevo instead of the regular xine.py from freevo ? Not yet, kaa.player and kaa.canvas are still under development and I will wait until every needed feature is implemented before activating i

[Freevo-devel] Re: Kaa Config Module

2005-12-22 Thread Dirk Meyer
Rob Shortt wrote: > Dirk Meyer wrote: >> Hi, > > Hi, sorry for the late reply. :) No problem, I did not had time to code the last days anyway. >> we will need a better config module for Freevo. The current one with >> the python file and local_conf.py is a ver

[Freevo-devel] Re: epg2

2005-12-22 Thread Dirk Meyer
Rob Shortt wrote: > Hi, > > I've been looking at the Freevo 2.0 status and wondering what I could do > to help move things along. This past week I got IVTV recording and > watching working again (and also a URL record feature). > > I know we're planning on moving to epg2 in kaa WIP dir, with a > c

[Freevo-devel] Re: Kaa Config Module

2005-12-22 Thread Dirk Meyer
Jason Tackaberry wrote: > On Mon, 2005-12-19 at 19:12 +0100, Dirk Meyer wrote: >> Hi, > > Hi. I should probably get my ass in gear and reply, lest I lose my > voice. :) Yes, IIRC you wanted to start this thread :) > Firstly, I'd like to see most of the config suppo

[Freevo-devel] Re: kaa.canvas update and documentation

2005-12-23 Thread Dirk Meyer
Jason Tackaberry wrote: > For those who want to try the canvas movie stuff, you'll need xine-lib > 1.1.1 or cvs, and if you want to use MPlayer as well, you'll need to > patch MPlayer with the patch in kaa/player/patches. Maybe you should try again to get the patches into mplayer? > This canvas

[Freevo-devel] Re: kaa.canvas update and documentation

2005-12-23 Thread Dirk Meyer
Jason Tackaberry wrote: > I was originally going to type a big long email update, but I figured > the best use of that time would be spent writing some manner of > documentation. So I've done that, and you can see my working copy here: > >http://sault.org/mebox/canvas/ Nice! Very nice! :) Ma

[Freevo-devel] Re: Kaa status

2005-12-23 Thread Dirk Meyer
Jason Tackaberry wrote: >> (Propostion for a gift : a release a 2.0beta with kaa :) > > That would really be nice, and it was dischi's crackpipe dream back in > August. It was my dream in August 2004 (!!!) But creating kaa with it's features takes more time and if we are rewriting Freevo, we s

[Freevo-devel] Re: kaa.canvas update and documentation

2005-12-23 Thread Dirk Meyer
Jason Tackaberry wrote: > On Fri, 2005-12-23 at 14:04 +0100, Dirk Meyer wrote: >> Maybe you could move that to the Wiki as canvas doc? OK, first some >> comments on your mail and after that some on the doc. > > I don't really want to recode all that to use wiki's syn

[Freevo-devel] Re: Kaa Config Module

2005-12-23 Thread Dirk Meyer
OK, first draft writting in 1 hour is in svn in kaa.base.config Limitation: o string/unicode checking conversion is missing o it only suppots basic types like int, str, unicode, etc. I'm not sure how to add more complex stuff o comments are deleted on write, only the variable comments from the

[Freevo-devel] Re: kaa.canvas update and documentation

2005-12-23 Thread Dirk Meyer
Jason Tackaberry wrote: > On Fri, 2005-12-23 at 19:08 +0100, Dirk Meyer wrote: >> > I don't really want to recode all that to use wiki's syntax. Can we put >> > it somewhere on the site and just link to it from the wiki? >> >> OK, maybe someone e

[Freevo-devel] Re: Kaa Config Module

2005-12-24 Thread Dirk Meyer
Jason Tackaberry wrote: > On Fri, 2005-12-23 at 21:30 +0100, Dirk Meyer wrote: >> o it only suppots basic types like int, str, unicode, etc. I'm not >> sure how to add more complex stuff > > I find the schema definition in your example very difficult to read, and

[Freevo-devel] Re: kaa.canvas animation engine

2005-12-27 Thread Dirk Meyer
Jason Tackaberry wrote: > I have committed an example to kaa/canvas/test/animation. It implements > a menu similar to what you see here: > >http://sault.org/mebox/images/mainmenu.png > > When you move the arrow keys, the menu selector animates to the new > position, and gives a little bounce b

[Freevo-devel] Re: Kaa Config Module

2005-12-27 Thread Dirk Meyer
Jason Tackaberry wrote: > On Sat, 2005-12-24 at 16:17 +0100, Dirk Meyer wrote: >> ... it don't think this is cleaner. Defining many variables would be >> ugly with that, too. > > Fair enough. > >> It could be possible to write my schema in a more cleaner way:

[Freevo-devel] Re: kaa.canvas update and documentation

2005-12-27 Thread Dirk Meyer
Jason Tackaberry wrote: > Someone wandered into #freevo earlier today and we were discussing some > theme ideas, and I suggested he posted here about what kind of support > he would need from the canvas in order to do the kind of various visual > effects he had in mind. I'm thinking about the curr

[Freevo-devel] Re: kaa.canvas update and documentation

2005-12-27 Thread Dirk Meyer
Justin Wetherell wrote: > Will kaa.canvas be used as the menu engine for Freevo or just be used as a > way to layer displays on top of mplayer/xine? The first option. > If the first option is the one used in Freevo, I could see using the > canvas.xml a real powerful feature. If the menu system f

[Freevo-devel] Re: Kaa Config Module

2005-12-27 Thread Dirk Meyer
Jason Tackaberry wrote: > On Tue, 2005-12-27 at 17:26 +0100, Dirk Meyer wrote: >> ... I see the problem here. Maybe we could find a better name, very >> unlikly to be used like add_monitor. Or we make config stuff upper >> case. So config.MONITOR is the variable and config.mo

[Freevo-devel] Re: Freevo 2.0 and DirectFB

2005-12-27 Thread Dirk Meyer
Justin Wetherell wrote: > Does mplayer have to be patched when DirectFB is used with Freevo > 2.0? I don't know, I don't use dfb. But we are rewriting the whole canvas stuff and I hope to get better dfb support while doing it. Dischi -- Bills travel through the mail at twice the speed of chec

[Freevo-devel] Re: kaa.canvas update and documentation

2005-12-27 Thread Dirk Meyer
Jason Tackaberry wrote: > On Tue, 2005-12-27 at 21:06 +0100, Dirk Meyer wrote: >> Maybe put svg support to kaa.imlib2? Yes, I know it has nothing to do >> with imlib2, but kaa.imlib2 is our image lib and kaa.thumb is based on >> that. So if you add svg support to kaa.imlib2,

[Freevo-devel] Re: kaa.canvas update and documentation

2005-12-28 Thread Dirk Meyer
Jason Tackaberry wrote: > On Tue, 2005-12-27 at 22:41 +0100, Dirk Meyer wrote: >> Same with Freevo. For text blocks I have some special handling in >> Freevo. You define width and height and Freevo does the line >> breaking. If the text is too long, Freevo adds '...'

[Freevo-devel] Re: Kaa Config Module

2005-12-28 Thread Dirk Meyer
Jason Tackaberry wrote: > On Tue, 2005-12-27 at 21:14 +0100, Dirk Meyer wrote: >> > The user's order (of an existing config file) should override the >> > order in the schema. >> >> I don't want to do that, this would make stuff very complicated. You >

[Freevo-devel] Re: Freevo 2.0 and DirectFB

2005-12-29 Thread Dirk Meyer
Justin Wetherell wrote: > Is there any reason why mplayer with DirectFB wouldn't work when launched > from Freevo2.0 but would work when launched from 1.5? I know you don't use > dfb, so you can just ignore me. :-) So I ignore that question :) But we are working on better dfb support using kaa.ca

[Freevo-devel] Re: Kaa Config Module

2005-12-29 Thread Dirk Meyer
Jason Tackaberry wrote: >> I can't help it, but this is ugly. > > I don't like the tuple or dict styles either. > >> Maybe we can add some helper classes: >> >> | config = Group([ >> | Var(name='foo', type=int, descr='some text', default=5), >> | Var(name='bar', type=unicode, >> | d

[Freevo-devel] Re: Freevo 2.0 and DirectFB

2005-12-30 Thread Dirk Meyer
Jason Tackaberry wrote: > Of course, ultimately Freevo 2.0 won't be using bmovl. It probably > makes sense to just remove bmovl now. Dischi? Until I switche to kaa.canvas, bmovl will be in Freevo to have at least some osd. Dischi -- You have the right to remain silent. Anything you say will

[Freevo-devel] Re: Freevo 2.0 and DirectFB

2005-12-30 Thread Dirk Meyer
Justin Wetherell wrote: > I guess i'll just add plugin.remove('video.bmovl') and play around with my > analog card some more. bmovl is no plugin anymore, but you can disable software scaling, this should prevert bmovl from starting. Dischi -- On-line, adj.: The idea that a human being

[Freevo-devel] Re: Freevo 2.0 and DirectFB

2005-12-30 Thread Dirk Meyer
Jason Tackaberry wrote: > On Thu, 2005-12-29 at 21:37 -0500, Justin Wetherell wrote: >> Well, I found out why Mplayer works in 1.5.4 but not in 2.0. Freevo2.0 >> adds a bmovl command line parameter which screws up the screen. > > bmovl? Aacck. My eyes! The goggles do nothing! Is you no stuff in

[Freevo-devel] Re: Freevo 2.0 and DirectFB

2005-12-30 Thread Dirk Meyer
Dirk Meyer wrote: > Jason Tackaberry wrote: >> On Thu, 2005-12-29 at 21:37 -0500, Justin Wetherell wrote: >>> Well, I found out why Mplayer works in 1.5.4 but not in 2.0. Freevo2.0 >>> adds a bmovl command line parameter which screws up the screen. >> >> b

[Freevo-devel] Re: kaa.canvas animation engine

2005-12-30 Thread Dirk Meyer
Karl Lattimer wrote: > I've got so many ideas for making the freevo menus create an impact > with animation, rotation and flipping would improve things a little > but i doubt its that important. > >* size >* move >* color >* sequence >* throb You should shar

[Freevo-devel] Re: freeevo-tvserver configuration question

2005-12-30 Thread Dirk Meyer
Duncan Webb wrote: > What's the configuration required for the tvserver, using an ivtv card? Sorry, I only know about dvb > Maybe I'm looking in the wrong place for the documentation. The Wiki > seems to be horribly out of date. Yes, way to old. Dischi -- Love is Hate. War is Peace. Windows

[Freevo-devel] Re: kaa.canvas animation engine

2005-12-30 Thread Dirk Meyer
Jason Tackaberry wrote: > Unfortunately there are still plenty of limitations, mainly limited by > evas itself. We can't rotate arbitrarily, and we can't scale text > objects. This means that certain MCE-style effects are still > impossible. Hopefully improvements will happen to evas. Freevo s

[Freevo-devel] Re: kaa.canvas animation engine

2005-12-30 Thread Dirk Meyer
Jason Tackaberry wrote: > On Fri, 2005-12-30 at 18:29 +0100, Dirk Meyer wrote: >> Freevo should not look at MCE for effects. Features are still the >> important part. > > Features are still important, but we should look at all sorts of > interfaces to get ideas and implem

[Freevo-devel] Re: no startup without network

2005-12-31 Thread Dirk Meyer
Horst Eyermann wrote: > Hello, > > on my freevo2 installation I need to be connected to the internet when > starting freevo2 (current version from svn). > > As I did not manage yet to work out what happens, I thought you might be > able to help. (This did not happen with freevo 1.5 by the way): Yo

[Freevo-devel] Re: freeevo-tvserver configuration question

2005-12-31 Thread Dirk Meyer
Duncan Webb wrote: > Justin Wetherell wrote: > >> You need to have freevo-tvdev recognize your TV card before you even >> start to play around with freevo-tvserver. > > Okay, I think I'm being very stupid but I can't figure this out. > # freevo-tvdev list > gives two devices ivtv0 and tv0 > both ar

[Freevo-devel] Re: no startup without network

2005-12-31 Thread Dirk Meyer
Justin Wetherell wrote: > I do this before starting Freevo 2.0: "route add 224.255.222.240 lo" Yes -- A mathematician is a machine for converting coffee into theorems. pgpMD8q2aFRbI.pgp Description: PGP signature

[Freevo-devel] Freevo SVN config file changes

2006-01-01 Thread Dirk Meyer
Hi, I changed the config file stuff for tvdev. When you update Freevo from svn make sure you delete ~/.freevo/tvdev-* and /etc/freevo/tvdev* Dischi -- Disc space -- the final frontier! pgpWnda847pVK.pgp Description: PGP signature

[Freevo-devel] Re: freeevo-tvserver configuration question

2006-01-01 Thread Dirk Meyer
Rob Shortt wrote: > Duncan Webb wrote: >> Happy New Year to you all > > Happy new year. :) > >> I've been looking at the code and it seems to say that channels.conf has >> four fields and in ignores comments starting with a # >> But I'm still trying to figure out what these fields should contain.

[Freevo-devel] Re: Freevo SVN config file changes

2006-01-01 Thread Dirk Meyer
Justin Wetherell wrote: > Im getting a error trying to run tvdev: > > [EMAIL PROTECTED]:/usr/local/src/freevo/bin# ./freevo-tvdev scan tv0 > Traceback (most recent call last): > File "./freevo-tvdev", line 102, in ? > tvcards.detect(cfgfile) > NameError: name 'tvcards' is not defined Oops, I

[Freevo-devel] Re: freeevo-tvserver configuration question

2006-01-01 Thread Dirk Meyer
Duncan Webb wrote: > But when I press OK on one of the channels in the tv menu the log main-0: > INFO [tv] xine.py 135: recordserver found > INFO [record] tvserver.py 137: recordserver found > ERROR xine(159): FIXME: no server found > > I've tried adding the route 224.255.222.240 to the

[Freevo-devel] Re: freeevo-tvserver configuration question

2006-01-01 Thread Dirk Meyer
Dirk Meyer wrote: > Duncan Webb wrote: >> But when I press OK on one of the channels in the tv menu the log main-0: >> INFO [tv] xine.py 135: recordserver found >> INFO [record] tvserver.py 137: recordserver found >> ERROR xine(159): FIXME: no server found

[Freevo-devel] Re: freeevo-tvserver configuration question

2006-01-02 Thread Dirk Meyer
Duncan Webb wrote: > But now from the tvserver I'm seeing this message: > ERROR mbus_wrapper(127): Error in RPC handling > Traceback (most recent call last): > File "lib/python2.3/site-packages/freevo/ipc/mbus_wrapper.py", line > 113, in __call__ > result = super(RPC, self).__call__(*args)

[Freevo-devel] Re: freeevo-tvserver configuration question

2006-01-02 Thread Dirk Meyer
Duncan Webb wrote: > Dirk Meyer wrote: >> I guess we should move to the vdr channels.conf in the future to have >> one channels.conf for dvb and analog. >> >> > Still figuring this out, but there is certainly more information that > is associated with

[Freevo-devel] Re: kaa.canvas animation engine

2006-01-02 Thread Dirk Meyer
Karl Lattimer wrote: >> >> I see your example something more like: >> >> >> >> >> >> def select_menu_item(menu, item): >> menu.animate(right = 0, duration = 0.3) >> menu.animate(opacity = 0, duration = 0.3, >> end_callback = Callback(

[Freevo-devel] Freevo SVN config file changes again

2006-01-02 Thread Dirk Meyer
Hi, again a config file change. Please delete webserver.conf and tvserver.conf in /etc/freevo and ~/.freevo since they now use kaa.config. Dischi -- "A Computer is a state machine. Threads are for people who can't program state machines." - Alan Cox pgp2reR3ZsXoA.pgp Description: PGP

[Freevo-devel] Re: freeevo-tvserver configuration question

2006-01-02 Thread Dirk Meyer
Duncan Webb wrote: >>The mapping in tvserver.conf >> >> > So the tvserver.conf under the section [epg mapping] contains the > mappings, remains empty after starting the tvserver and freevo2. > > What is the syntax to manually add the mappings? Please make a fresh check out, delete the config fil

[Freevo-devel] Re: freeevo-tvserver configuration question

2006-01-03 Thread Dirk Meyer
Duncan Webb wrote: > I've tried this but the [epg mapping] section is still empty. Would > you post a few example lines of this section then I may be able figure > out what I'm doing wrong. My kaa.epg.channels=[] indicates the > problem. Please update svn again and you will find a README in tvdev

[Freevo-devel] Re: freeevo-tvserver configuration question

2006-01-03 Thread Dirk Meyer
Duncan Webb wrote: > Hi, > > Made some progress, thanks for the READMEs. Great. > Now the program bombs out looking for config.LIVETV_URL on the line: > url = 'udp://%s:%s' % (config.LIVETV_URL, channel.port) > > Traceback (most recent call last): > File > "/usr/local/freevo2/lib/python2.3/si

[Freevo-devel] Re: freeevo-tvserver configuration question

2006-01-03 Thread Dirk Meyer
Duncan Webb wrote: > Now got two other errors: > ERROR mbus_wrapper(181): RPC Return handling home-theatre.watch.start.return([1, u'udp://224.224.224.10:6002'])> > Traceback (most recent call last): > File > "/usr/local/freevo2/lib/python2.3/site-packages/freevo/ipc/mbus_wrapper.py", > line

[Freevo-devel] Re: kaa.canvas animation engine

2006-01-04 Thread Dirk Meyer
Karl Lattimer wrote: > OK, we have a large amount of crossover with HTML/DOM in what we're > thinking of, maybe this is something that can be improved upon and > implemented properly AFTER 2.0 is released. Maybe. I guess I will start from the beginning again. First rewrite all the gui stuff and ha

[Freevo-devel] New GUI engine based on kaa.canvas

2006-01-05 Thread Dirk Meyer
Hi, I better start a new thread for this and don't put it below the animation thread. The current situation is that I don't think it will be possible to define the whole gui in xml. The animations and how to handle them is the main problem. How could I define that the selection bar moves and not t

[Freevo-devel] Re: New GUI engine based on kaa.canvas

2006-01-05 Thread Dirk Meyer
Karl Lattimer wrote: >> For beginners, let us start with the screen itself. We have some >> resolution we don't care about. It should not matter if we use 720x480 >> for NTSC or 720x576 for PAL, _both_ is 4:3 on your tv, no matter what >> the resolution is. Or even worse, 4:3 is the resolution minu

[Freevo-devel] Re: New GUI engine based on kaa.canvas

2006-01-05 Thread Dirk Meyer
Jason Tackaberry wrote: >> | >> >> Everything in this container is visible and _this_ is 4:3, independed >> of the real resolution left. So when defining > > But this is no longer 4:3. Consider a margin (overscan) of 10 pixels. > (640-20)/(480-20) = 1.347. Yes and no. Yes, the width x height

[Freevo-devel] Re: New GUI engine based on kaa.canvas

2006-01-05 Thread Dirk Meyer
Karl Lattimer wrote: >> > or possibly ing conditions like so >> > >> > >> > ... >> > >> >