Re: [Freevo-devel] Re: Changes in VideoItem

2003-06-24 Thread Gustavo Sverzut Barbieri
--- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut Barbieri wrote: > > --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut > Barbieri > >> because I want to prevent something like > >> 'len(b) > os.system(rm -rf ~)' > > > > Good :) > > > > But len(BLA) > 123345 won't work >

[Freevo-devel] Re: Changes in VideoItem

2003-06-24 Thread Dirk Meyer
Gustavo Sverzut Barbieri wrote: > --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut Barbieri >> because I want to prevent something like >> 'len(b) > os.system(rm -rf ~)' > > Good :) > > But len(BLA) > 123345 won't work No, but do we really need that? >> That's the reason why I only

Re: [Freevo-devel] Re: Changes in VideoItem

2003-06-24 Thread Gustavo Sverzut Barbieri
--- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut Barbieri wrote: > > using item.gettattr( b ) you get a string... if you want to know > how > > many items you have in a playlist you will get how many chars have > in > > the text represention of that array. > > > > Also, I didn't unde

[Freevo-devel] Re: Changes in VideoItem

2003-06-23 Thread Dirk Meyer
Aubin Paul wrote: > On Mon, Jun 23, 2003 at 06:53:58PM +0200, Dirk Meyer wrote: >> We could try it. But after pre5 is out I will move to mmpython and it >> is possible. I don't want to write the code twice. I only wait with >> mmpython because the runtime isn't ready (I hope it is now) > > Fair eno

[Freevo-devel] Re: Changes in VideoItem

2003-06-23 Thread Aubin Paul
On Mon, Jun 23, 2003 at 06:53:58PM +0200, Dirk Meyer wrote: > We could try it. But after pre5 is out I will move to mmpython and it > is possible. I don't want to write the code twice. I only wait with > mmpython because the runtime isn't ready (I hope it is now) Fair enough... > Yes, but the cov

[Freevo-devel] Re: Changes in VideoItem

2003-06-23 Thread Dirk Meyer
Aubin Paul wrote: > On Mon, Jun 23, 2003 at 12:09:32PM +0200, Dirk Meyer wrote: >> Right now you have to build all files inside the directory to get this >> information. For mp3s, this takes a lot of time. But when we integrate >> mmpython, we could check if this dir is cached by mmpython and than

[Freevo-devel] Re: Changes in VideoItem

2003-06-23 Thread Aubin Paul
On Mon, Jun 23, 2003 at 12:09:32PM +0200, Dirk Meyer wrote: > Right now you have to build all files inside the directory to get this > information. For mp3s, this takes a lot of time. But when we integrate > mmpython, we could check if this dir is cached by mmpython and than we > can get number of

[Freevo-devel] Re: Changes in VideoItem

2003-06-23 Thread Dirk Meyer
Aubin Paul wrote: > What about things like "Audio Directory" information, like the total > track time of all the songs in a directory; would them go into > DirItem? Could they? Right now you have to build all files inside the directory to get this information. For mp3s, this takes a lot of time. B

[Freevo-devel] Re: Changes in VideoItem

2003-06-23 Thread Dirk Meyer
Gustavo Sverzut Barbieri wrote: > using item.gettattr( b ) you get a string... if you want to know how > many items you have in a playlist you will get how many chars have in > the text represention of that array. > > Also, I didn't understand this code: >elif b[:4] == 'len(' an

Re: [Freevo-devel] Re: Changes in VideoItem

2003-06-22 Thread Aubin Paul
What about things like "Audio Directory" information, like the total track time of all the songs in a directory; would them go into DirItem? Could they? On Sun, Jun 22, 2003 at 01:41:19PM +0200, Dirk Meyer wrote: > Gustavo Sverzut Barbieri wrote: > > Dischi, > > > > Did you changed the way VideoIt

Re: [Freevo-devel] Re: Changes in VideoItem

2003-06-22 Thread Gustavo Sverzut Barbieri
--- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut Barbieri wrote: > > Dischi, > > > > Did you changed the way VideoItem works? Before we did have > > videoitem.plot, videoitem.tagline, ... but now we still have these > > attributes, but they're empty. > > No, IIRC this is like that

[Freevo-devel] Re: Changes in VideoItem

2003-06-22 Thread Dirk Meyer
Gustavo Sverzut Barbieri wrote: > Dischi, > > Did you changed the way VideoItem works? Before we did have > videoitem.plot, videoitem.tagline, ... but now we still have these > attributes, but they're empty. No, IIRC this is like that some time now. > Instead there is a videoitem.info, which is