On Wed, Jul 23, 2008 at 10:34 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> "Chandan Pitta" wrote:
> > I am planning to write a button widget, but I need your advise before I
> > start. So my plan is to create a button widget which has an "active
> > back
I am planning to write a button widget, but I need your advise before I
start. So my plan is to create a button widget which has an "active
background" widget and an "inactive background" widget and another widget
that becomes the label of the button. Example (I just typed this in the
email so some
Sorry for hijacking this thread again, but I found out that the setup.py in
kaa does not install candy by default. Was that intentional?
On Sun, Jul 20, 2008 at 8:10 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> "Chandan Pitta" wrote:
> > On Sun, Jul 20, 2008 at 2:
On Sun, Jul 20, 2008 at 2:02 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> "Chandan Pitta" wrote:
> > More questions (sorry I decided to use my weekend to understand candy). I
> am
> > trying to create a grid of Text widgets, but Grid requries a template.
>
M, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On Sat, 2008-07-19 at 12:32 -0700, Chandan Pitta wrote:
> > Never mind I got it. Use (255, 255, 255, 255) instead of 0xff
>
> dischi: feature request above. :)
>
> Original canvas/candy did support colors
Never mind I got it. Use (255, 255, 255, 255) instead of 0xff
On Sat, Jul 19, 2008 at 12:27 PM, Chandan Pitta <[EMAIL PROTECTED]>
wrote:
> Another quick question. I am trying to create a Text widget in candy like
> so:
> Text(None, None, "hello world", font, 0xff
color
super(Text, self).set_color(clutter.Color(*color))
TypeError: type object argument after * must be a sequence
By the way what does * do in python (like *color above)?
On Sat, Jul 19, 2008 at 11:36 AM, Chandan Pitta <[EMAIL PROTECTED]>
wrote:
>
>
> On Sat, Jul 19, 2008 at 11:
On Sat, Jul 19, 2008 at 11:12 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> "Chandan Pitta" wrote:
> > This is so silly, but I am not able to understand how to add an image to
> a
> > candy stage. Here is the code I used:
> >
> > kaa.candy.
This is so silly, but I am not able to understand how to add an image to a
candy stage. Here is the code I used:
kaa.candy.init()
window_size = (1360, 768)
stage = kaa.candy.Stage(window_size)
img = kaa.candy.widgets.Image(None, None, skin.get_background_image())
stage.add(img)
And here is what I
There is a bug in the code that wrongly assigns a y value to a width. Thus
using a "position" attribute (like "position=30,20") in freevo.conf does not
seem to have any effect on the vertical positioning of the screen. The
attached file should fix it (just a 1 line change).
Index: freevo/src/config
On Mon, Jul 14, 2008 at 5:21 PM, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-07-14 at 10:19 -0700, Chandan Pitta wrote:
> > This is interesting. I have a high end nVidia graphics card (8800 GT)
> > and yet when using gl my cpu hovers around 75% (on a 2.4
On Mon, Jul 14, 2008 at 10:33 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> "Chandan Pitta" wrote:
> > I guess Grid with one column becomes a list (I did not look at the code,
> so
> > my guess :).
>
> Yes
>
> > Sorry that view should have been scro
On Mon, Jul 14, 2008 at 10:15 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> "Chandan Pitta" wrote:
> > I see. Now it makes sense, but there are so many since things already
> > available in tidy like list, scrollbars and views etc. I hope they will
> be
> >
On Mon, Jul 14, 2008 at 9:56 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> "Chandan Pitta" wrote:
> > I really don't understand how the overlays are done and what is required
> by
> > mplayer or xine to get that, but does this mean kaa.popcorn will not be
>
On Mon, Jul 14, 2008 at 9:47 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> "Chandan Pitta" wrote:
> > On Sun, Jul 13, 2008 at 3:23 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> >
> >> John Molohan wrote:
> >> > Jason Tackaberry wrote:
>
I really don't understand how the overlays are done and what is required by
mplayer or xine to get that, but does this mean kaa.popcorn will not be
using xine or mplayer backends? When you said you will be using openGL to
solve the problems do you mean the backend player (I presume gstreamer) will
On Sun, Jul 13, 2008 at 3:23 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> John Molohan wrote:
> > Jason Tackaberry wrote:
> >> On Fri, 2008-07-11 at 09:59 -0700, Chandan Pitta wrote:
> >>
> >>> This is a great news! I have been waiting for this day.
This is a great news! I have been waiting for this day. Thank you Dischi and
Jason. I can start working on my personal Freevo 2 project now. Can't wait
to try out clutter.
On Tue, Jul 8, 2008 at 11:37 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to announce a new member of the Kaa M
Hi Jason,
I know kaa.candy is around the corner ;-), but after a long time I wanted to
restart my efforts in building my freevo2 project with kaa.canvas. So I
first launched menu.py from kaa/canvas/test/animation and when I move the
selection I see that the old image on the right does not fade out
On 7/31/07, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-07-31 at 07:00 -0700, Chandan Pitta wrote:
> > I am trying to use kaa.imlib2.Image to create an image that is opaque
> > at the top and becomes linearly transparent towards the bottom. My
>
> What
Hello,
I am trying to use kaa.imlib2.Image to create an image that is opaque
at the top and becomes linearly transparent towards the bottom. My
plan was to load an image and blend the same image with increasing
levels of alpha for each scanline. But that is not producing the kind
effect I want. Ac
On 4/23/07, Alexandre CONRAD <[EMAIL PROTECTED]> wrote:
> Dirk Meyer wrote:
>
> >>And what I would like is to add an extra UI (using remote-control) for
> >>the player's configuration (basicly to setup and test networking).
> >
> > You need that part of kaa that is not finished yet. Freevo 2.0 now
I think the problem may be because you are not loading the user
environment for vkoval. May be you should try with
su - vkoval -c "python /home/vkoval/freevo-1.x/freevo recordserver start"
in rc.local. I usually use sudo as
sudo -H -u vkoval -i -b
HTH
Chandan
On 4/6/07, Koval Valery <[EMAIL
I too had plans to make a media center that runs on phone. Before I
started working on Freevo I was trying to make something like that for
a phone, but finally ended up writing an application called cTunes,
that looks like iTunes. cTunes can play audio, video and display
photos too. For a demo, fol
On 3/16/07, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> "Chandan Pitta" wrote:
> > I have been working on writing my own simple media center (like many I
> > guess). I found out that kaa is very powerful and made my work very
> > simple. Thanks to
Hi,
I have been working on writing my own simple media center (like many I
guess). I found out that kaa is very powerful and made my work very
simple. Thanks to all the developers and especially to Dischi and
Jason. I am still working on the media center but wanted to give you
guys a preview in ca
A minor patch
Index: canvas/src/object.py
===
--- canvas/src/object.py(revision 2559)
+++ canvas/src/object.py(working copy)
@@ -716,7 +716,7 @@
if self["clip"] == None:
if self._clip_object:
kaa.canvas.Movie.get_position() always returns 0.0. This patch should fix it.
Index: canvas/src/movie.py
===
--- canvas/src/movie.py (revision 2559)
+++ canvas/src/movie.py (working copy)
@@ -350,7 +350,7 @@
def get_position(sel
):
if self._player:
-self._player.get_position()
+return self._player.get_position()
return 0.0
On 3/13/07, Chandan Pitta <[EMAIL PROTECTED]> wrote:
> Thanks Jason! Everything works fine with xine.
>
>
> On 3/13/07, Jason Tackaberry
Thanks Jason! Everything works fine with xine.
On 3/13/07, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-03-13 at 08:55 -0700, Chandan Pitta wrote:
> > Oh. Seems like mplayer does not support CAP_CANVAS. Output of python
> > -c '
On 3/13/07, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On Mon, 2007-03-12 at 21:09 -0700, Chandan Pitta wrote:
> > One more question. I was trying to use Movie() but I am unable to get
> > it to play the video over the canvas. The problem is that the video
> > doe
elif key == "f":
movie.set_detached(not movie.get_detached())
kaa.signals["stdin_key_press_event"].connect(handle_key, movie)
#canvas.signals["key_press_event"].connect(handle_key, movie)
kaa.main()
Chandan
On 3/7/07, Chandan Pitta <[EMAIL PROTECTED]> wrot
On 3/10/07, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On Sat, 2007-03-10 at 20:47 +0100, Dirk Meyer wrote:
> > It should not be a thread, it is easier this way. The point here is to
> > check why the rm parser does this. Without reading the whole file, the
> > parser should be faster.
>
> We ne
Hi,
I am trying to use kaa.beacon and have the following quick questions.
1. Is there a way to connect to a kaa.beacon server that is not
running on the local machine. The kaa.beacon.connect() does not have
any parameters so I don't think there is a way to pass the IP address
to connect to it. Or
if self._parent:
File
"/home/chandanp/workspace/python/test-kaa/lib/python2.4/site-packages/kaa/weakref.py",
line 101, in __nonzero__
if self._ref():
File
"/home/chandanp/workspace/python/test-kaa/lib/python2.4/site-packages/kaa/weakref.py",
line 77, in __getattribu
Hi Jason,
On 3/5/07, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> Hi Chandan,
>
> On Sun, 2007-03-04 at 00:51 -0700, Chandan Pitta wrote:
> > I was trying to write a list widget that could perhaps be reused in
> > most of the screens of freevo 2, but I am having some
On 3/2/07, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> "Chandan Pitta" wrote:
> > 1. There are two files that establish the configuration. One is
> > ~/.freevo/data/freevo_config.py and the other is
> > ~/.freevo/freevo2.conf
> > 2. freevo_config.py de
Hi,
I am trying to digest parts of the freevo 2.0 architecture and the
first hurdle seems to be the config files. I am not sure how these
files are auto-generated and parsed. Here is what I have until now (I
may be wrong, if so please correct me)
1. There are two files that establish the configur
On 3/1/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Jean-François wrote:
> > Hi everyone,
> >
> > I'm quite new to Freevo and even newer to Python, but still I'd like to
> > write plugins for Freevo ;-)
> >
> > I was wondering if you had any advice on where to start.
> > Mainly, what tool do you us
On 1/12/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > Hi,
> >
> > When I connect my PC to my LCD TV using DVI to HDMI cable I see that
> > my TV is showing only part of the signal sent out by my PC due to
> > overscan. I cannot unders
> 3. Images files in cache have double extensions, like my_image.png.png
> and in some extreme cases like for gif files there are 3 extensions,
> like my_image.gif.gif.jpg. So I made some changes so that the cached
> image filename will be exactly the same as the original image except
> for the c
Hi,
When I connect my PC to my LCD TV using DVI to HDMI cable I see that
my TV is showing only part of the signal sent out by my PC due to
overscan. I cannot underscan from my PC since it is DVI. Because of
this weird behavior, Freevo looks like it got chopped of on all the
sides. My idle bar is n
On 1/12/07, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-01-12 at 23:31 +0800, mike lewis wrote:
> > Before I go off to bed I just have to say that I figured out what the
> > issue was. vidix wasn't detecting the RAm size of my card. So I hard
> > coded the RAM size (from 16 to 32)
On 1/11/07, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-01-11 at 13:16 +0100, Dirk Meyer wrote:
> > > Yay! Soo then. How can I test this? Is freevo2 ready to use these
> > > features?
> >
> > Not yet
>
> And judging by the initial response to my first patch submission (which
> wa
A bit more work than I expected to update the cache so that it works in
the same way as normal cache. Especially, as I hadn't committed Wout's
patch until too late, meaning that I had to apply the patch by hand.
Let's hope that I didn't break anything else in the process. Quite a few
files change
On 1/8/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
Chandan Pitta wrote:
> On 1/7/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
>> Chandan Pitta wrote:
>>> On 1/5/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
>>>> Chandan Pitta wrote:
>>>>
On 1/7/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > On 1/5/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> >> Chandan Pitta wrote:
> >>> What happened to the images? The pop-up window shows only scaled
> >>> image. I s
of days though.
Chandan
On 1/5/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > This patch should fix the issue seen by Pascal. I also did some minor
> > clean up in webserver.
>
> Is this the problem of a trailing slash? if so the last character of
On 1/5/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > What happened to the images? The pop-up window shows only scaled
> > image. I see that the javascript for openfoto has changed and is
> > causing the browser to scale the image. Can someone t
kaa.candy. Any specific reason for the move?
On 1/5/07, Jason Tackaberry <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-01-05 at 08:37 -0700, Chandan Pitta wrote:
> > Do you still have the code that you used to demo kaa-menu? I was
> > looking at the kaa modules lately and would li
Hello Jason,
Do you still have the code that you used to demo kaa-menu? I was
looking at the kaa modules lately and would like to see how you did
what you did. It is splendid, almost MCE like or even better. If you
can please send me the code it will be very helpful. I usually like to
learn by see
What happened to the images? The pop-up window shows only scaled
image. I see that the javascript for openfoto has changed and is
causing the browser to scale the image. Can someone take a look at it.
Is it part of a larger fix that is coming later?
Regards,
Chandan
--
This patch should fix the issue seen by Pascal. I also did some minor
clean up in webserver.
Thanks
Chandan
On 1/4/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
Jason Tackaberry wrote:
>>> Remember none of the items should have trailing slash.
>> This is a bug that ought to be fixed.
>
> Nevermi
I see what the problem is. This will have to be fixed soon. I will
take a look at it later today or tomorrow. But for now if you want to
make it work just change
TV_RECORD_DIR = '%s/TV_Records/' % ( FREEVO_MEDIA_DIR )
to
TV_RECORD_DIR = '%s/TV_Records' % ( FREEVO_MEDIA_DIR )
Remember none of th
Hi,
With the attached patches you will be able to play audio/video files
using the web-browser's VLC player plugin. When you click on a
video/audio item you have one more option called "Play file using VLC"
in addition to the usual "Play file" and "Close" options. Clicking on
"Play file using VLC
Looks right. Hopefully we are done here...
On 1/3/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > Ok I made the changes just apply the patch and it should make use of
> > the fileops.py now.
> >
> > However I am having doubts regarding
otherwise. The caller will never have to know. Or we can add a
return which tells the caller if a cached image is created or not. Let
me know what you think
On 1/2/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > Try this patch.
>
> Patch worked fine now in svn
No it was only intended for images. The movie and music arts will not
be scaled and cached.
On 1/2/07, Ryan Roth <[EMAIL PROTECTED]> wrote:
> This works more movie cover art too right? Because I cannot get it to work.
>
> Chandan Pitta wrote:
> > Try this patch.
> >
Try this patch.
On 1/2/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
Chandan Pitta wrote:
> Sorry attached the wrong diff file. See this one
I can't apply this patch, says that it has been previously detected.
Will you try an svn update, I applied Wout's patch at 8912 and y
Sorry attached the wrong diff file. See this one
On 1/2/07, Chandan Pitta <[EMAIL PROTECTED]> wrote:
Hi Duncan,
Here is another patch (hopefully the last one) that fixes the following issues:
* Images with spaces in the filename or in the directories are not
being displayed properl
f you know why I am seeing these issues let me know.
Chandan
On 1/2/07, Chandan Pitta <[EMAIL PROTECTED]> wrote:
It should be (100, 100).
On 1/2/07, Ryan Roth <[EMAIL PROTECTED]> wrote:
> o should it be set to ( 100, 100 ) or just ( 100 ) ?
>
> Chandan Pitta wrote:
> &g
It should be (100, 100).
On 1/2/07, Ryan Roth <[EMAIL PROTECTED]> wrote:
> o should it be set to ( 100, 100 ) or just ( 100 ) ?
>
> Chandan Pitta wrote:
> > Hello Ryan,
> >
> > It seems to be working for me. I am wondering if you are expecting all
> > y
Hello Ryan,
It seems to be working for me. I am wondering if you are expecting all
your images to be scaled to 100 x 75. If that is true than the
assumption is wrong. The webserver currently expects the thumbnail
size to be a square so you should be using 100x100. And all your
images will be scale
(scaled_image, new_size) =
self.get_scaled_image_and_size(item, size)
image_link = self.convert_dir(filepath)
fv.tableCell(''\
+''\
Chandan
On 1/2/07, wout clymans <[EMAIL PROTECTED]> wrote:
Chandan
On 1/2/07, wout clymans <[EMAIL PROTECTED]> wrote:
>
> Chandan Pitta wrote:
> On 1/1/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
>
>
> Chandan Pitta wrote:
>
>
> Changed all images sizes to tuples. fileinfo.rpy does not need any
> changes. freevo_con
On 1/1/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > Changed all images sizes to tuples. fileinfo.rpy does not need any
> > changes. freevo_config.py is already using tuple.
>
> Cheers.
>
> The library images are starting to look very good
only if it larger than the threshold size
+in config.WWW_IMAGE_THRESHOLD_SIZE. The scaled size will be limited
+to the boundaries of config.WWW_IMAGE_THUMBNAIL_SIZE
'''
print 'get_scaled_image_and_size(self, filepath=%r, size=%s)'
% (filepath, str(size))
thres
On 1/1/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > On 1/1/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> >> Chandan Pitta wrote:
> >>> Hi Duncan,
> >>>
> >>
> >> I'm wondering about thi
On 1/1/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > Hi Duncan,
> >
> > I could not apply your patch. I get the following error messages.
> >
> > patching file www/htdocs/library.rpy
> > Hunk #2 FAILED at 70.
> > Hunk #3 FA
Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > Added WWW_IMAGE_SIZE and WWW_IMAGE_THRESHOLD to library.rpy. Did not
> > know if I should add those variable to freevo_config.py or the
> > maintainer will add them.
> >
> > Example usage
> >
TED]> wrote:
WWW_IMAGE_THRESHOLD
Chandan Pitta wrote:
> Can you think up of a variable name for threshold_size as well? That
> way we can decide on which images to scale.
>
> Although I like the flexibility of configuration variables, they have
> some limitations as well. For exampl
the image to be 100x100.
>
> You could use 'if hasattr(conf, 'WWW_IMAGE_SIZE'):' then fall back to
> 200x200 if its not set
>
>
> Chandan Pitta wrote:
> > Hi Duncan,
> >
> > I think these patches must have got lost in the noise. I sent the
<[EMAIL PROTECTED]> wrote:
wout clymans wrote:
> Chandan Pitta wrote:
>> On 12/28/06, Duncan Webb <[EMAIL PROTECTED]> wrote:
>>
>>> Chandan Pitta wrote:
>> I think it is a good idea, but this has to be done only for
>> media=images. I will take a lo
Doh I forgot the attachments.
On 12/28/06, Chandan Pitta <[EMAIL PROTECTED]> wrote:
Hello Duncan and Wout,
I fixed the issue where you can have ITEMS which may not be a tuple
(like in the case of web radio). So Duncan with the new patch you
should be able to use webserver witho
. Excellent!
Regards,
Chandan
On 12/28/06, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > On 12/28/06, Duncan Webb <[EMAIL PROTECTED]> wrote:
> >> Chandan Pitta wrote:
> >>> Hello,
> >>>
> >>> I was unable to att
On 12/28/06, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Chandan Pitta wrote:
> > Hello,
> >
> > I was unable to attach files in the tracker so I am replying to this
> > email with attachments. I made some changes to the webserver so that
> > it can make use
Hello,
I was unable to attach files in the tracker so I am replying to this
email with attachments. I made some changes to the webserver so that
it can make use of child resources instead of creating several links
in /var/cache/freevo. Not that I have anything against having all the
links but it
I agree. Although the Wiki page explained differently (before the Oct
18 amendment), asking developers to send it to freevo-devel with
[PATCH] in subject line (like mplayer devel). Now that the Wiki has
proper description, there won't be mistakes. I did send an email
previously instead of using tra
nels but then again they can't
> watch and record on the same channel anyway.
> change lock file for each recording device
>
> Update LCDproc with the changes provided by Christian Nilsson.
>
> Update the web-server with the changes provided by Chandan Pitta
>
Please disregard the previous patch, since it disable deleting and
renaming files from the web page access. Use the new patch attached.
On 10/5/06, Chandan Pitta <[EMAIL PROTECTED]> wrote:
Hello,
I am not sure if you are still looking for the library patch. But the
attached patch
Hello,
I am not sure if you are still looking for the library patch. But the
attached patch should restrict access to all directories except the
ones listed in VIDEO_ITEMS, AUDIO_ITEMS, IMAGE_ITEMS, record directory
and all subdirectories with in them. Please take a look at it.
Thanks
Chandan
81 matches
Mail list logo