Re: [Freevo-devel] Planning to write a button widget for candy

2008-07-23 Thread Chandan Pitta
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

[Freevo-devel] Planning to write a button widget for candy

2008-07-23 Thread Chandan Pitta
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

Re: [Freevo-devel] How to add an image to candy

2008-07-22 Thread Chandan Pitta
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:

Re: [Freevo-devel] How to add an image to candy

2008-07-20 Thread Chandan Pitta
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. >

Re: [Freevo-devel] How to add an image to candy

2008-07-19 Thread Chandan Pitta
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

Re: [Freevo-devel] How to add an image to candy

2008-07-19 Thread Chandan Pitta
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

Re: [Freevo-devel] How to add an image to candy

2008-07-19 Thread Chandan Pitta
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:

Re: [Freevo-devel] How to add an image to candy

2008-07-19 Thread Chandan Pitta
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.

[Freevo-devel] How to add an image to candy

2008-07-19 Thread Chandan Pitta
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

[Freevo-devel] "postion" attribute in freevo.conf does not work correctly

2008-07-17 Thread Chandan Pitta
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

Re: [Freevo-devel] Notice: deprecation of kaa.xine 'kaa' driver (for OSD) and vf_overlay for mplayer

2008-07-14 Thread Chandan Pitta
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

Re: [Freevo-devel] [Announce] kaa.candy

2008-07-14 Thread Chandan Pitta
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

Re: [Freevo-devel] [Announce] kaa.candy

2008-07-14 Thread Chandan Pitta
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 > >

Re: [Freevo-devel] Notice: deprecation of kaa.xine 'kaa' driver (for OSD) and vf_overlay for mplayer

2008-07-14 Thread Chandan Pitta
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 >

Re: [Freevo-devel] [Announce] kaa.candy

2008-07-14 Thread Chandan Pitta
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: >

Re: [Freevo-devel] Notice: deprecation of kaa.xine 'kaa' driver (for OSD) and vf_overlay for mplayer

2008-07-14 Thread Chandan Pitta
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

Re: [Freevo-devel] [Announce] kaa.candy

2008-07-14 Thread Chandan Pitta
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.

Re: [Freevo-devel] [Announce] kaa.candy

2008-07-11 Thread Chandan Pitta
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

[Freevo-devel] kaa.canvas questions

2008-02-13 Thread Chandan Pitta
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

Re: [Freevo-devel] Blending an image using imlib2

2007-08-01 Thread Chandan Pitta
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

[Freevo-devel] Blending an image using imlib2

2007-07-31 Thread Chandan Pitta
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

Re: [Freevo-devel] Just a hello

2007-04-24 Thread Chandan Pitta
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

Re: [Freevo-devel] start freevo under user

2007-04-06 Thread Chandan Pitta
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

Re: [Freevo-devel] Freevo with Nokia N770

2007-03-18 Thread Chandan Pitta
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

Re: [Freevo-devel] The new freevo?

2007-03-16 Thread Chandan Pitta
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

[Freevo-devel] The new freevo?

2007-03-15 Thread Chandan Pitta
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

[Freevo-devel] [PATCH] for kaa.canvas.object

2007-03-15 Thread Chandan Pitta
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:

[Freevo-devel] [PATCH] for kaa.canvas.Movie

2007-03-15 Thread Chandan Pitta
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

Re: [Freevo-devel] kaa.canvas questions

2007-03-13 Thread Chandan Pitta
): 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

Re: [Freevo-devel] kaa.canvas questions

2007-03-13 Thread Chandan Pitta
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 '

Re: [Freevo-devel] kaa.canvas questions

2007-03-13 Thread Chandan Pitta
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

Re: [Freevo-devel] kaa.canvas questions

2007-03-12 Thread Chandan Pitta
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

Re: [Freevo-devel] kaa.beacon questions

2007-03-10 Thread Chandan Pitta
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

[Freevo-devel] kaa.beacon questions

2007-03-10 Thread Chandan Pitta
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

Re: [Freevo-devel] kaa.canvas questions

2007-03-07 Thread Chandan Pitta
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

Re: [Freevo-devel] kaa.canvas questions

2007-03-05 Thread Chandan Pitta
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

Re: [Freevo-devel] Info on freevo 2.0 config files

2007-03-02 Thread Chandan Pitta
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

[Freevo-devel] Info on freevo 2.0 config files

2007-03-02 Thread Chandan Pitta
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

Re: [Freevo-devel] Freevo / Python dev tool

2007-03-01 Thread Chandan Pitta
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

Re: [Freevo-devel] DVI to HDMI

2007-01-12 Thread Chandan Pitta
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

Re: [Freevo-devel] Original image size not showing

2007-01-12 Thread Chandan Pitta
> 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

[Freevo-devel] DVI to HDMI

2007-01-12 Thread Chandan Pitta
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

Re: [Freevo-devel] vf_overlay/outbuf 2007-01-07 release

2007-01-12 Thread Chandan Pitta
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)

Re: [Freevo-devel] vf_overlay/outbuf 2007-01-07 release

2007-01-11 Thread Chandan Pitta
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

Re: [Freevo-devel] Original image size not showing

2007-01-10 Thread Chandan Pitta
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

Re: [Freevo-devel] Original image size not showing

2007-01-09 Thread Chandan Pitta
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: >>>>

Re: [Freevo-devel] Original image size not showing

2007-01-07 Thread Chandan Pitta
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

Re: [Freevo-devel] freevo 1.7rc2 / web server : unable to download a movie if stored in the Recorded TV dir

2007-01-05 Thread Chandan Pitta
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

Re: [Freevo-devel] Original image size not showing

2007-01-05 Thread Chandan Pitta
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

Re: [Freevo-devel] Evas MPEG Canvas

2007-01-05 Thread Chandan Pitta
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

Re: [Freevo-devel] Evas MPEG Canvas

2007-01-05 Thread Chandan Pitta
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

[Freevo-devel] Original image size not showing

2007-01-04 Thread Chandan Pitta
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 --

Re: [Freevo-devel] freevo 1.7rc2 / web server : unable to download a movie if stored in the Recorded TV dir

2007-01-04 Thread Chandan Pitta
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

Re: [Freevo-devel] freevo 1.7rc2 / web server : unable to download a movie if stored in the Recorded TV dir

2007-01-04 Thread Chandan Pitta
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

[Freevo-devel] Freevo 1.7 Webserver: Play audio/video files using VLC player plugin

2007-01-03 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-03 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-03 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-02 Thread Chandan Pitta
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. > >

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-02 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-02 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-02 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-02 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-02 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-02 Thread Chandan Pitta
(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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-02 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-02 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-01 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-01 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2007-01-01 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2006-12-31 Thread Chandan Pitta
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 > >

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2006-12-31 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2006-12-30 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2006-12-30 Thread Chandan Pitta
<[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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2006-12-28 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2006-12-28 Thread Chandan Pitta
. 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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2006-12-28 Thread Chandan Pitta
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

Re: [Freevo-devel] [ freevo-Bugs-1604844 ] 1.7RC1 - Webserver issue

2006-12-27 Thread Chandan Pitta
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

Re: [Freevo-devel] Tracker and why it should be used.

2006-10-19 Thread Chandan Pitta
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

Re: [Freevo-devel] Planned tasks and out standing items for freevo-1 branch.

2006-10-17 Thread Chandan Pitta
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 >

Re: [Freevo-devel] [PATCH] Webserver: security issue, system wide root access

2006-10-05 Thread 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

[Freevo-devel] [PATCH] Webserver: security issue, system wide root access

2006-10-05 Thread Chandan Pitta
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