[Freevo-devel] Binding MPlayer and other players to SDL surfaces in X11
Hello, There is some time I didn't mail the project, but I still remember you ;-) Well, a problem we had a long (really long) time ago that is still present when you're running Freevo using X11 is that MPlayer's window may not cover the desired area, or if not running fullscreen it may show as another window (if missing -wid). That same thing that make impossible to have Picture in Picture and video playing inside Freevo's screen (a small window inside Freevo's menu, for example). These days I faced this same problem during my paid job and I had to work on it. I successfully overcome this problem: http://blog.gustavobarbieri.com.br/2006/11/playing-videos-with-mplayer-and.html Hopefully someone will fix this. At least it will stay on list history for further reference. -- Gustavo Sverzut Barbieri -- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 Phone: +1 (347) 624 6296; [EMAIL PROTECTED] GPG: 0xB640E1A2 @ wwwkeys.pgp.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Back to hack, GStreamer interested please read
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. Unfortunately, due a lot of things I ran out of time to hack or even use Freevo, but they're all gone and I'll have some more time now :-) My plan to be back on hacking is to work with GStreamer, a plan I already had about 2 years ago, but never implemented. My plan is to implement a simple Audio player to develop some knowledge about it and also provide us with an audio visualization without hacks (you may remember my hacks with MPAV or Goom...). Then the plan is to go into movies playback and last but not least do the so requested Live TV pause/record. I think this _could_ be easy due the nature (or at least from what I understand) of GStreamer... but I never did GST code before, so I may be wrong :-) Interested in hacking or even testing are welcome! If you already did some GST code, in any language, please drop me a note. My nick is k-s on IRC @ freenode. -- Gustavo Sverzut Barbieri -- Computer Engineer 2001 - UNICAMP Mobile: +55 (19) 9165 8010 Phone: +1 (347) 624 6296; [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] ICQ#: 17249123 MSN: [EMAIL PROTECTED] GPG: 0xB640E1A2 @ wwwkeys.pgp.net --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Call for help again
On 2/14/06, Dirk Meyer [EMAIL PROTECTED] wrote: o A small C or C++ app (no python code) that reads an analog tv device (/dev/video) and transforms it into mpeg2, mpeg1 or nuppelvideo. You can use a lib you want, like ffmpeg. I will integrate it nto kaa.record if you can't do that. Hi Dischi! I can try to do that as part of my plan to use GStreamer. I'll try, but I do not garantee anything in the next 2-3 weeks, since next week is carnival here in Brazil and I'll travel, then I'll move to another city where I start working on 6-March. After this 6-March week, I'll have some time to hack it! I'll try to help you with the 2.0 version :-) -- Gustavo Sverzut Barbieri -- Computer Engineer 2001 - UNICAMP Mobile: +55 (19) 9165 8010 Phone: +1 (347) 624 6296; [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] ICQ#: 17249123 MSN: [EMAIL PROTECTED] GPG: 0xB640E1A2 @ wwwkeys.pgp.net --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] cvs status update and design questions
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Audio: the audio player is also working, but most plugins are not. The next thing I want to fix is the detach plugin and the detachbar. And the mplayervis plugin is completly broken, someone has to fix this. I heard you want to go to libvisual, this sounds great. Keep in mind that we don't use pygame anymore so you need to render in an imlib2 image. Contact me if you have questions about the integration. And feel free to fix a plugin in the audio dir. Note about visualization stuff. at least my point of view. We should go with LibVisual, it rocks! It support the same mpav supports and even more, it's not tied to any output, we can get it the way we want. At this time, xmms and amarok are supported, I hope freevo is next ;) What have to be done is Python wrapper to access the C code, I have no experience with this... someone told me about PyRex and I'll try, but I'll wait a little more until the API is more stable. If someone has experience with C - Python api, contact-me. Popupbox: most boxes are broken. I'm still thinking of a good design. We need some sort of layoutmanager for mevas here. Every help is welcome. If Freevo crashes for things I wrote it's working, maybe it's because of the boxes. I'm not aware of the current problems... could you open another topic and point them? TV: the tv stuff is broken. But the guide should work. The guide is very slow right now, it has not been optimized. And you can press ENTER on a program to get a channel listing. But you can neither watch or record now. IIRC Rob is fixing the recordserver right now. Why it's slow? Also, how the guide will be? The 2-style thing was discussed before or the old-bloated we have? I'm for the 2-style (or more) guide and have some ideas to colorize items. We should mark past programs in another color, rank most viewed (need stats) and mark to be recorded/favorites/groups... Webserver: don't know, I guess it's also broken, let's wait until Rob updated the recordserver. Is it broken? Well, I looked at it a long time ago, but it was a pure hack (see optimizations done by Tack, to fix some hacks). We should instead use some page templates to separate the control from the view. But I don't think I'll go in this area since I don't use it and it's boring to do the conversion (although easy). Now I have some design / skin questions: if you seek in mplayer or press DISPLAY, what do you want to see? How should it look like? I will code this, but I need cool ideas. Maybe someone can use Gimp to create a fake screenshot how it should look like? Also when you press ENTER on the TV guide, how should the channel list look like? Ideas please. Now to the point that makes me happy to code freevo again :) [as most know, I still am the only developer who don't use freevo, I don't even have a tv at home!] I have a bunch of ideas and I'll play with gimp as soon as I go home (monday). Right now I see a volume meter when changing volume, seek bar (as you mentioned) and some ways to display the info. These things could fade in/out and even animate! thanks Tack for your bmovl2 ;) And last but not least: we need more output devices. Since we are not independed from pygame, we don't need sdl hacks for the dxr3 anymore. The mevas interface gives you an imlib2 image, maybe someone can write an output plugin for that. Most the work is coding in C. If you want to help with any output plugin, please conatct me or Jason (in IRC he has the nickname Tack). We need the following output plugins: this is too time consuming for me :( Thanks dischi, you rock! Gustavo ___ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! http://br.acesso.yahoo.com/ --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: New Idea
--- Dirk Meyer [EMAIL PROTECTED] escreveu: I just had a similar idea. Why not two types of tv guides. We use the tv guide for two reasons: watching tv now and recording. Both have different needs: Watching now: I want to know what's up at this time on all channels. This is the time boxed mode from above. It is similar to the current guide but you can't select a program, you select a channel. If you select a program in 3 minutes, you still get the channel and the program starts in 3 minutes. So selecting channels is the logic here. Record: I know the channel, so a simple listing area is want we want here. Everyone who tried to record a program the day after tomorrow knows that the current guide can't handle this well. Now we only need a way to switch between the two ways. Comments requested before I do this. I agree with this idea. Maybe another 3rd screen to view as much info as you can, maybe using a different concept... maybe not using the program size as we do now, maybe with selectable sorting or grouping. For example, we could show programs as blocks and do some kind of grouping, maybe by size, times it was watched/recorded, ... Well... the 2 afore mentioned are enough for now ;) As for switch, we could use the same as other (DISPLAY), or even the GUIDE button. Gustavo ___ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! http://br.acesso.yahoo.com/ --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: New Idea
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Richard van Paasen wrote: I only have a 1 sec delay when switching chanels (20 in total) . One could cache the channels and update them while the matrix is being shown (old pictures in greyscale, updated in full color) but hey, that are implementation details. The guide can of course be designed in many different ways, I'm just suggesting a different way to display a view on the tv guide. BTW, I don't like the current tv guide. Too much information in many small boxes. If anyone has a new idea, please post. I can create that guide, but I need ideas from you. How about that Tivo-like guide someone implemented in the past? Gustavo __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] [ freevo-Bugs-1007329 ] Problem with Lcd plugins
Could someone close this bug? I don't have access. Gustavo --- SourceForge.net [EMAIL PROTECTED] escreveu: Bugs item #1007329, was opened at 2004-08-11 16:43 Message generated for change (Comment added) made by lavirott You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=446895aid=1007329group_id=46652 Category: plugins Group: None Status: Open Resolution: None Priority: 5 Submitted By: Stéphane Lavirotte (lavirott) Assigned to: Nobody/Anonymous (nobody) Summary: Problem with Lcd plugins Initial Comment: Bug in lcd plugins loading at freevo starting failed to load plugin lcd start 'freevo plugins -l' to get a list of plugins Traceback (most recent call last): File /usr/local/src/freevo-1.5.0/src/plugin.py, line 572, in __load_plugin__ p = eval(object)() File /usr/local/src/freevo-1.5.0/src/plugins/lcd.py, line 708, in __init__ if val: param = param % eval( val ) UnicodeDecodeError: 'ascii' codec can't decode byte 0xfb in position 15: ordinal not in range(128) This bug appears not a long time ago, but I can't say when. I noticed it with my last install too (1.5.0-rc2), and I upgraded to 1.5.0 to test Actually my configuration (on a debian system): Freevo 1.5.0 lcdproc 0.4.5-1 For the moment I commented the lines corresponding to the welcome splash screen on (lines 706-713), and every think works fine after. Stéphane -- Comment By: Stéphane Lavirotte (lavirott) Date: 2004-08-12 19:39 Message: Logged In: YES user_id=310665 Hi, I tried your patch (lcd.py release 1.20) and all is fine now. Thanks a lot for your quick answer. Stéphane -- Comment By: Gustavo Sverzut Barbieri (gsbarbieri) Date: 2004-08-11 22:45 Message: Logged In: YES user_id=511989 I'm Brazilian and also notice some problems using the pt_BR translation. The problem is with python default encoding, ascii, which doesn't accept any code greater than 128. If it was latin-1 (iso-8849-15) many problems would not appear... at least for us, latin based speakers... As I said you can fix those problems using String( text ) and Unicode( text ). The former convert from unicode objects to str, the last convert from str to unicode. You can test if an instance is str or unicode with: if isinstance( object, str ): print it's str elif isinstance( object, unicode ): print it's unicode Also, unicode strings start with a u, like: unicode_text = usome unicode text This may help you work around those bugs in freevo. But please inform us so we can fix them. I'm not the web developer, please post another bug with that or send it to the list ([EMAIL PROTECTED]), the response is quicker. Gustavo -- Comment By: Stéphane Lavirotte (lavirott) Date: 2004-08-11 21:11 Message: Logged In: YES user_id=310665 Hello Gustavo, I can't get the new revision of lcd.py, so I can't test your patch for the moment, but I made some other test. You are right. I've got the following lines in my local.conf # Set locale to french to have the right date format import locale locale.setlocale(locale.LC_ALL, fr_FR) If I replace fr_FR by en_US, the lcd plugins doesn't crash. So the problem is here. I'll try your patch as soon as possible. At the same time, with fr_FR, I've got a problem with the freevo web plugin: /usr/local/src/freevo-1.5.0/src/www/htdocs/index.rpy, line 110 in _render 108fv.res += 'div id=contentmain\n' 109 110fv.res += 'br/br/h2'+( _('Freevo Web Status as of %s') % 111time.strftime('%B %d ' + config.TV_TIMEFORMAT, time.localtime()) ) +'/h2' Localsfv www.web_types.HTMLResource instance @ 0x41ab58cc www.web_types.HTMLResource instance at 0x41ab58cc Globalstime module 'time' from '/usr/lib/python2.3/lib- dynload/time.so' config module 'config' from '/usr/local/src/freevo- 1.5.0/src/config.pyo' exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xfb in position 2: ordinal not in range(128) --- This is the same problem. Do I need to send another bug request ? In fact, the problem is not recent, and will only appear during 3 months: february (février in french), august (août) and december (décembre). It's hopefull that I'm in holidays in august ;) Thanks for your quick answer Stéphane -- Comment By: Gustavo Sverzut Barbieri (gsbarbieri) Date: 2004-08-11 20:00 Message: Logged In: YES user_id=511989 Hello Stéphane, Try revision 1.20 from lcd.py, in CVS right now (confirm it's version 1.20, anonymouse sf cvs may be delayed). Maybe what was happening is your LC_ALL
Re: [Freevo-devel] Re: GUI update (please read)
--- Jason Tackaberry [EMAIL PROTECTED] escreveu: On Mon, 2004-08-09 at 10:20 +0200, Dirk Meyer wrote: We will see. At least gtk output is a better way than pygame. imlib2 is only a render engine, no output. Actually Imlib2 does support rendering to X11 drawables. Eventually I'll add this to pyimlib2. Freevo will choose the best _working_ backend. If you have pygtk installed, it may use that one. If not, Freevo will try a different one. The best image library backend would depend on the display backend too, since, at least in my mind, those two things are decoupled. pyimlib2 would be best for bmovl2 because of YV12A over shmem, but perhaps not as good for a pygame display backend. Let's turn this into E, let's use evas! :) It's supposed to be the fast thing around, and it'll be the first to use new Xserver features, like the Xcb. Gustavo ___ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/ --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: GUI update (please read)
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Jason Tackaberry wrote: On Mon, 2004-08-09 at 15:22 -0300, Gustavo Sverzut Barbieri wrote: Let's turn this into E, let's use evas! :) It's supposed to be the fast thing around, and it'll be the first to use new Xserver features, like the Xcb. I evaluated evas for MeBox some time ago. It's great if you're using X11, but since MeBox needs to run on bmovl2, it wouldn't work at all, AFAICT. So if you want to use bmovl2, evas isn't going to help much. Same for framebuffer. The fb support was the main reason for me to choose freevo over mythtv. Maybe I didn't understand you, but are you talking about backends... gdkpixbuf and every other you talked about don't support anything other than X11 or maybe directfb... AFAIK, there's nothing else based on SDL other than pygame... so we will stay with pygame as default backend? Gustavo ___ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/ --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: GUI update (please read)
--- Jason Tackaberry [EMAIL PROTECTED] escreveu: On Mon, 2004-08-09 at 18:42 -0300, Gustavo Sverzut Barbieri wrote: Maybe I didn't understand you, but are you talking about backends... gdkpixbuf and every other you talked about don't support anything other than X11 or maybe directfb... AFAIK, there's nothing else based on SDL other than pygame... so we will stay with pygame as default backend? I am working on a canvas library that supports multiple image libraries and displays, each of which are independent of the other. This means you can use any supported image library for image manipulation, like pyimlib2, pygame, gdkpixbuf, PIL, pyimagemagick (just for examples; of course PIL isn't very good) on any supported display, like X11 (via pyimlib2, pygame, etc.), bmovl2, framebuffer, etc. (Strictly speaking bmovl2 isn't a display, but as far as the canvas is concerned it is.) So it is possible to use pyimlib2 for all image manipulation (loading, blending, scaling, etc.) and pygame for display. The canvas objects should also support dynamically changing image backends. That is, if it turns out that gdkpixbuf for both image manipulation and display is the best combination for a given situation (say for X11), when the user loads a movie in MPlayer and we want to offer an interface from within the movie, we'll switch to a bmovl2 canvas using a pyimlib2 imagelib backend, and all the objects of the old pygame canvas can be moved to the bmovl2 canvas without any fuss. The system can choose which image library to use with which display backend to give the best performance given what's available on the system. I hope that's not too confusing. :) Basically the canvas provides a layer between the application and all image operations and display operations. +-+ | Application | +-+ | ++ | Canvas | ++ /\ ++ +--+ | Image libs | | Displays | ++ +--+ The intent of the canvas is to offer a convenient API to deal with displaying graphical elements and it figures out the appropriate way to talk with a particular display. Hopefully that explains it a bit better. Eventually you'll see what I mean with code. Anyway, this is what I'm working on. How this all ties in with Freevo is dischi's turf. This I already know :) What I don't know is the talk about We can't use evas since it's only X11, but evas is the display, not the image lib. Am I wrong or the only display that supports many devices is sdl/pygame? There is another? BTW: Just something that pop in my mind right now: it's possible to do an export VF in mplayer that will let mplayer use the display from other app? That way we could have mplayer to use our windows and vanish with the mess it's now (launching mplayer window atop of freevo). Gustavo ___ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/ --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: GUI update (please read)
--- Jason Tackaberry [EMAIL PROTECTED] escreveu: On Mon, 2004-08-09 at 19:34 -0300, Gustavo Sverzut Barbieri wrote: What I don't know is the talk about We can't use evas since it's only X11, but evas is the display, not the image lib. Ok, I see what you mean. Yes, it'd be possible to implement a canvas class that uses evas as the display backend. I'm not sure if the speed difference compared to using pyimlib2 for the X11 display would be worth the overhead of writing and maintaining a pyevas. :) Sure ;) Talk to E people, maybe they're interested! :) Am I wrong or the only display that supports many devices is sdl/pygame? There is another? Yes, there is. :) bmovl2, because bmovl2 is just an MPlayer filter, so you can use any video output MPlayer supports. Ok. But nothing else, right? BTW: Just something that pop in my mind right now: it's possible to do an export VF in mplayer that will let mplayer use the display from other app? That way we could have mplayer to use our windows and vanish with the mess it's now (launching mplayer window atop of freevo). For X11 at least (via -wid). Not sure about other displays. I'm talking something else. Imagine the inverse of bmovl. Instead of writing to mplayer surface from other app surface, write mplayer surface to other app surface. Something like: mplayer-set_vobuffer( some_shared_memory_from_other_app ) mplayer-lock_vobuffer() mplayer-vo_output() mplayer-unlock_vobuffer() Got it? I don't know if it's doable right now, but if we can share the pygame buffer, we can have a new mplayer VO that uses that instead of xv, for example. With MeBox I don't have this problem because _everything_ is done through Mplayer, so when the user plays a movie I just issue a loadfile slave command. It's all smooth, plus I do a nice fadeout effect of the interface as the movie is playing. I really like this idea... The problem is to get this mplayer stuff mainstream. I'll be the first to admit that layering the whole application over bmovl2 is a hack, but it also opens up a few extra possibilities. World is made of Hacks ;) Gustavo __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: GUI update (please read)
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: --- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: I've coded a small animation test in: WIP/Barbieri/anim-test.py as freevo it uses a 800x600 screen and move few objects around the screen, it _REPAINTS_ the whole screen every time(!!!) and it's smooth. Because your background is very simple. I checked in a modified version using a background image from freevo. You see the difference. Now think of more images (a.k.a. layers). Or a small test you can do. Load two 800x600 images as layer. Put one at 0,0, one at 800,0 and than move both images to left. Dischi, It's not that bad: My timings: create-bg: 0 blit-bg: 1.918 ms (average) blit-obj2: 3.973 ms (average) flip: 0.137 ms (average) blit-sr: 0.000 ms (average) blit-sl: 0.548 ms (average) blit-j: 0.000 ms (average) create-obj: 0.0 Make more tests. Create a surface with an alpha channel and blit it to a non alpha surface (we need this a lot). This is much slower. sl and st are per-pixel alpha. It's a Pentium4-2Ghz. I use 800 MHz which is ok for video playback. I guess it doesn't make sense to require a higher cpu only for the gui when mplayer can handle everything with less power. And some people use a mini-itx. It's top is 1.2 GHz right now. Ok, but it it become that slow with animation, just disable. And remember, I'm not using the dirty-area idea, I'm bliting everything everytime. But don't take me bad, I'm just doing some tests, I also don't like some things from pygame. Anyway, do you have any idea why the animation in image viewer is that slow? My tests have more complex operations and it's fast. But the gui redesign will still support pygame. But it would prefer other backends if they are installed. Why use pygame when imlib2 or gtkpixbuf support is possible? And one other reason why I don't like pygame: it has no support for an external main loop. People start to hate the sleep(0.01) we do in our main loop. They ask, why not use select? Because I can't get a file descriptor from pygame, I need active waiting. Very bad. Now a good reason to vanish with pygame :) Could we prefer the imlib2 instead of gtkpixbuf? I don't have benchmarks, but I feel it's more optimized. And it's more dependency-free. Bye, Gustavo ___ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/ --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: GUI update (please read)
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: I've coded a small animation test in: WIP/Barbieri/anim-test.py as freevo it uses a 800x600 screen and move few objects around the screen, it _REPAINTS_ the whole screen every time(!!!) and it's smooth. Because your background is very simple. I checked in a modified version using a background image from freevo. You see the difference. Now think of more images (a.k.a. layers). Or a small test you can do. Load two 800x600 images as layer. Put one at 0,0, one at 800,0 and than move both images to left. Dischi, It's not that bad: My timings: create-bg: 0 blit-bg: 1.918 ms (average) blit-obj2: 3.973 ms (average) flip: 0.137 ms (average) blit-sr: 0.000 ms (average) blit-sl: 0.548 ms (average) blit-j: 0.000 ms (average) create-obj: 0.0 It's a Pentium4-2Ghz. 4ms to do a 800x600 alpha-blend is not that bad... My test seems smooth here, and it takes about (2 + 4 =) 6 ms to process everything... 24fps = 41ms, so it's not perceptiple until 7 times slower. Gustavo ___ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/ --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] GUI update (please read)
--- Dirk Meyer [EMAIL PROTECTED] escreveu: I just checked in the current status of the gui code. This mail should explain something, show the roadmap and give some pointers were you can help. Comments are welcome. I didn't check the code yet, but it works here and the image viewer looks great, although slow as you said :( A next step for me is to break the menu. MenuWidget creates pages to draw on the screen. This should be done inside the listing area code. Right now, the menu asks about cols and rows. So I will spit MenuWidget into the handling of the menu and move the drawing/initpage code into gui. Great. We should de-couple things more. Some people ask about animations. I tested some stuff with the new gui code. In image viewer, when you press DISPLAY, the osd moves in. This is way to slow. I tried nice stuff like moving old items in the menu to the left and let the new items come from the right...it's a pain. The reason: for some strange reason pygame is the bottleneck. pygame == sdl == for games. I don't see how. Maybe years ago. Even creating a surface is slow (it should be only a malloc in C), blitting surfaces together is too slow to do some nice animations. When you look at bmovl, you see that it is possible to do fast blitting (the osd is blitted on every frame in mplayer). Dischi, maybe we're doing something weird. Need to check with pure pygame to see if it's their or our problem. I'm coding a pygame tutorial to write a tutorial/course here and the game is a basic side-scrolling ship game. The background is repainted everytime, the ships have alpha channel (32bit-RGBA) and the thing runs smooth! It is running at locked-60fps, but it can go even faster! It also can runs on slower machines without problem. Maybe we should ask pygame hackers to give freevo a look and try to spot problems there... maybe some unecessary conversions could spend a lot of CPU time So we need a new backend, not pygame. Or better, split the backend in rendering and showing (this is possible with the new gui code). We could use a fast renderer (imlib2 or gdkpixbuf) and show it with pygame (or something else). Since I don't have time for all this, someone else needs to play around with this, I won't. Without a better backend, there will be no cool animation support! Please contact me if you want to do this. imlib2 seems the optimal. It's really fast and thing like scaling are much better than the one we use now. I'll try to code some experiences with animation in pygame. Later I commit them to my WIP. Gustavo ___ Yahoo! Mail agora com 100MB, anti-spam e antivírus grátis! http://br.info.mail.yahoo.com/ --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] GUI update (please read)
I've coded a small animation test in: WIP/Barbieri/anim-test.py as freevo it uses a 800x600 screen and move few objects around the screen, it _REPAINTS_ the whole screen every time(!!!) and it's smooth. Since freevo doesn't repaint the whole screen every time, it should take even less cpu time and performance should be all right. PS1: Moving block has the alpha channel. PS2: If you notice high CPU usage in top, it's due pygame implementation of Clock.tick(). I think it's a busy wait, since when I run something else (ie: the 'yes' command) the cpu usage drops to half. This helps? Unfortunatelly I have no time to look into freevo right now. Gustavo ___ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/ --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: GUI info, brainstorming and questions
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Matthieu Weber wrote: On Wed 28.07.2004 at 09:23:01PM +0200, Dirk Meyer wrote: Matthieu Weber wrote: Besides, if we have two apps running at the same time (e.g. mplayer for the music and the image viewer, or mplayer for video and the menu displaing inside mplayer), both app must have an eventhandler, but only one (the image viewer) has the focus. We already have this. There is an event that the audio player stops. When you use the image viewer with background music, the viewer doesn't care about that event, the background player does. Wouldn't it be useful to control the image viewer with the remote control, rather than the music player? Yes But it would be useful to control the music too... someone else already mentioned it. Maybe we could have a button to toggle music control. In a ideal solution you can press this button and a mini music control will slide from some side of the screen and you will have the cover, music name, music info, how many times the music was player, etc... and the next and previous music. Maybe a button to the playlist/dir is need, when this button is pressed we show the file browser over the current application, for the sake of simplicity it could use the current music menu and when you do the action you're back to the place before the key was pressed. This architecture also removes the sleep from the main loop, which was much discussed about some time ago. ... pygame doesn't give us anything to select. You can't get a filehandler for the keyboard or when a redraw needs to be done. The latest gui tests and checking about a main loop gives me one solution: pygame sucks, replace it. Well, the main idea of select is to put the current execution thread to sleep mode until some event (here: data available on a file handler) wakes it up. But there are other ways to put a thread to sleep mode (the sleep function does it, and another thread can probably put it to sleep (suspend it) too). I know the main idea of select. The problem is, I need the socket of the keyboard in sdl to put it into the select. pygame gives me no socket, so I can only poll. Pygame sucks. But thanks to you and Hans I guess I have a good design now. It's not in cvs but it's working very good: There are three types of things drawing on the screen: applications, popups and plugins. A plugin can't get a focus, it only draws some stuff (idlebar, tiny_osd). A popup is above an application. You still see the application, but the focus is on the popup. When you switch applications (e.g. view an image, mplayer music/video), the application below hides itself (you only see one application at a time). The popup is still above the new application and the idlebar still can draw itself. When removing an application, the application below is shown again. On application change, an event is send to all parts who wants to know about that (e.g. idlebar). An application also has a variable 'fullscreen', saying I want to whole screen. The image viewer and the video player sets this variable to true, audio player to false. A plugin like the idlebar respects that and hides itself when a fullscreen application comes up. The tiny_osd doesn't care, it draws on every screen. Speaking of screens: an application also can define a backend for drawing. Most use 'default', but video player sets this to bmovl. On application change to mplayer, all visible objects move to the bmovl screen. So wants working now with bmovl: when tiny_osd shows something and you start mplayer, you also see the message on mplayer. When you press MANUAL_SEEK you see a popup box _inside_ mplayer (right now only a dummy box because the input box isn't ported to the new gui code). That will rock. BTW, when you expect to have animation support up and running? I want to play with some things (I was playing video games and have great ideas... pulsing items/icons, animated scroll, aka smooth scroll...) just need to find some time to implement them :( How do you plan to design those screens to be shown over mplayer? Using the same concept as used by video/tv/music? How do you plan to design animation? Gustavo ___ Yahoo! Mail agora com 100MB, anti-spam e antivírus grátis! http://br.info.mail.yahoo.com/ --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Future ideas post 1.5.0
--- Bastian Farkas [EMAIL PROTECTED] escreveu: being able to select external subtitles which dont necessarily have the same filename as the video would also be great. Use the FXD. Gustavo ___ Yahoo! Mail agora com 100MB, anti-spam e antivírus grátis! http://br.info.mail.yahoo.com/ --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] New skin 'Green Lounge' and some issues/questions wrt skins
--- Robert Kortenoeven [EMAIL PROTECTED] escreveu: That's an excellent idea. I did a degree in Interaction Design and Interactive Multimedia at the Utrecht School of the arts in Hilversum, the Netherlands. I'm sure if I call a couple of people there I can get them interested (I've arranged a couple of projects for students there in the past). It's also difficult for me to spend a lot of time on things like this as work tends to get in the way (although that doesn't stop me from wanting to assist you with UI design issues). It tends to be difficult for these students to find graduation projects/internships in the Netherlands these days as corporations are still not that keen on hiring students for a couple of months and not every student is willing to give it a try abroad. The opportunity to have a student work full-time on this would be a great one and I'd be happy to arrange and support this. The only issue like you mentioned would be support on implementation. Let me know what you think, I'm happy to help out here. We really need people looking/working at it. I'm not sure, but most of us are just developers/coders that doesn't know much of design techiniques, softwares or related stuff... we are just computer experts that have an average taste for good looking stuff and try our best at gimp to mimic some existing design or create our new... but really, we lack concepts, ideas and resources... That applies to most of us... maybe Aubin is an exception. :) So if you can find someone that can at least give ideas, it would be great :) Gustavo ___ Yahoo! Mail agora com 100MB, anti-spam e antivírus grátis! http://br.info.mail.yahoo.com/ --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] New skin 'Green Lounge' and some issues/questions wrt skins
I'll reply just to few items as I'm out of home/development machine, so I can't tell you many techinical details... I hope Dischi does. - The player section (Music that is): It's one large grey rectangle now and I'm struggling a bit with the appearance of the album covers. It would be nice if I could define a fixed size for them that would apply to all covers (they would have to be scaled down). Is this possible? Yes. They act like this right now... I think I miss your point. :( - Left and Right arrows on the highlight to support 4-directional navigation (as I pointed out in my previous mail (http://sourceforge.net/mailarchive/forum.php?thread_id=5014273forum_id=9200) Note that each of the 2 arrows should only be visible when the user can navigate in that direction. Gustavo, would you still be prepared to look into this one? Yes, I'll look at this... but if I don't send anything next week, remember me :) - I lost the plot a bit on how to get the truncation of long text string in navigation mode working (hard orsoft). It would be very nice if we could use '...' here instead. Would this be 'easy' to integrate? As for the missing truncation in my current skin; my .fxd code appears to be similar to the one in blurr.fxd (where the truncation does work), but I'm probably overlooking something. It's possible and was the default behaviour... but since the fade-out effect was cleaner and more space efficient, it's the default right now. There's time I don't look at the skin FXD so I don't know how to change between modes... ask dischi or look at the skin code :) - The appearance of the pop-up screens. What I would also like is some control over the dialogue texts. This wasn't thought before... but can be included in future... I see no problem with that. I replaced the clock image that appears occasionally (when something is being loaded) by a dialogue screen that says 'please wait...'. It would be nice if the other dialogues could be adjusted to match each other in terms of syntax. Is it difficult to provide this on skin level (without creating a huge mess?) Yeah, it would be great. - Animations; I mentioned it already in my previous e-mail and I read the word 'animation' in Dirk Meyer's e-mail above with regard to the skins. Is this what I think it is? It would be great if the transition between the different navigation levels could be animated... (among all the other uses for animation I have in mind) Yeah... we must have some kind of animation support in next releases. - Layout of the detached audio player. Possible on skin level? You mean the line order? Maybe. What I haven't included (yet): - TV section; for the simple reason that I do not have tv card in my machine yet. I hope to include it one of these days, but it does not have my top priority yet (cable TV isn't all that exciting in the Netherlands where I am). Please came with great ideas... the tv section is almost the same as the first I designed... :( There was also a great alternative to use other view, like the tivo one (but it's another plugin, not change-able with skin). Is this plugin still working? Would be great to have skin support for it too. - Icons; I'm still debating on the use of them and in particular the positioning on-screen. It would be nice to have section-icons (music, movies, pictures) in the top-left corner of the idlebar, but that's were the 'detached player' currently is (would be nice if the position of this could be defined in the skin file as well).. Icons are a big problem. We never had a icon designer and general icons don't fit well in freevo... The position is (was?) customisable using the level parameter in the plugin loader. BTW, there are other places to use icons where we don't use right now... IE: you can use icons per item-type instead of the text PL: and the braces [ and ] around playlists and folders... you can have different icons for images, music, video, vcd, dvd, cdda, ... Please look at: http://gsbarbieri.sytes.net/gallery/Freevo-Screenshots http://gsbarbieri.sytes.net/freevo/freevo_newmenu/ These screens were made to illustrate the skin power... they're ugly, but demonstrates some still unused features... (PS: They're old, but the features should still be present) For example: http://gsbarbieri.sytes.net/gallery/Freevo-Screenshots/different_colors2 http://gsbarbieri.sytes.net/gallery/Freevo-Screenshots/different_colors3 These show that items may have icons and icons could be different if they're selected or unselected... the item color may change based on its type of status (selected). PS: the [] around name is gone if there's an icon. I've put some screenshots here: http://www.stormbuster.demon.nl/ They look great. Just try to avoid high contrast horizontal lines since they are jumpy on tv screen. Bye, Gustavo
Re: [Freevo-devel] [PATCH] LCD Display and Audio Detach
--- Magnus Schmidt [EMAIL PROTECTED] escreveu: Hello, as my previous bug-report has been unheard [1], I tried to fix the problem myself: - When using the audio.detachbar plugin both screens (menue and player) are drawn onto the lcd display in detached mode, which causes some horrible blinking effects. - In my setup this behaviour crashed the lcd plugin [1] The patches attached to this mail solve these problems, however have a look at them as I'm no python programmer. You may consider including them into the RC release. Magnus [1] http://sourceforge.net/mailarchive/message.php?msg_id=8295641 Sorry for not replying earlier... I'm the LCD maintainer and quite off last months. ATTACHMENT part 2 application/x-gzip name=patch_detachbar_lcd_fix.gz Could someone apply this one? I'm off my computer for days so I cannot commit. The only change I suggest is storing the plugin.getbyname(audio.detachbar) so not use it twice: adp = plugin.getbyname('audio.detachbar') if adp: if type == 'player' and adp.status != 0: return ATTACHMENT part 3 application/x-gzip name=patch_detachbar_pluginname.gz I'm not the maintainer, but it's right and should applied. Gustavo __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Some User Interface questions, issues (skin) and ideas
--- Robert kortenoeven [EMAIL PROTECTED] escreveu: Hello all, [snip] So much for the introduction (I hope you're still with me), now for my questions: Skin 1.Highlight and menu arrow navigation: I've switched on the menu arrow navigation in local_conf.py and now I would like to add horizontal arrows on the highlight bar. It is crucial to this type of navigation that the user is provided with what I refer to as 'feedforward' (showing where the user can navigate to with the highlight). The skin documentation briefly explains how to add a left and right arrow to the tv-listing, but it does not explain how to put arrows in the normal navigation mode on top of the highlight (so they move with the highlight). It would have to look something like this (my apologies for the absence of an image): Item 1 - Item 2 - Item 3 I suspect that I cannot get this done in the *.fxd file and I wonder if I can solve it in the skin backend. Can anyone tell me how to go about on this one? It's not possible right now... but it's not difficult to implement. I'm quite out of freevo lately, but I'll look at this later. Go on with your skin and remind me often... if I have some spare time I'll certainly code this. :) 2.Changing the font and its color in the idlebar: I've managed to figure out that I can change the idlebar.png background image, but now I would like to specify the position, font and colors of the items in the idlebar plugin (clock and detached audio player). Can this be done in a *.fxd file somewhere? clock is defined as: share/skins/main/blurr.fxd: font label=clock name=Arial_Bold size=16 color=0xff/ detached player is defined as: share/skins/main/basic.fxd: font label=detachbar name=VeraBd.ttf size=10 color=0xff/ Just overlay those tags in your skin. Tip: try to search for osd.get_font( in some sources to find out the name of the font definition. Then look for skins that define that tag (grep -r --color 'FONT-NAME' share/skins/). Finding the right source may be a problem, but it uses to be intuitive (src/plugins/idlebar/__init__.py for clock, src/audio/plugins/detachbar.py for detach bar). 3.The contextual menu (appears when pressing e on the keyboard or 'Enter' on the RC: As this is a contextual menu (its contents depend on what's being highlighted), it would be a big improvement if this menu would appear on the same screen as the highlighted item. Currently, the highlighted item disappears when the menu appears and this can be particularly frustrating when searching for cover data online (takes a while before the search results appear and by then, I've forgotten if I was looking for Indiana Jones 1, 2 or 3). A good solution here would be to have the menu in a separate layer on top of the navigation list. It would have to look something like this (again my apologies for the absence of an image): Highlighted item | Play this item | |Find a cover for this item | | Remove this item | | | Is there possibly a way of defining this in the skin back-end (I suspect not...) Additionally, it would be very nice if this menu could slide into the screen (from the bottom) with an animation, but this relates to my next question below Having this menu over the listing have some problems: - Too few space left for items - Too complicated to implement right now... We can solve your issue adding the selected item name/path/whatever in the submenu. It's easy to implement and has almost the same effect. We don't have animation support yet... Viggo was working on that, but I'm not aware of the current status. But it's really cool and a must-have feature for future. Animations in the UI Is it possible to have animated transitions in the User Interface? I found some threads on this mailinglist on animation, but it did not really explain a lot to me on what's possible and what isn't. (http://sourceforge.net/mailarchive/message.php?msg_id=8295440) It would be really great if there could be animated transitions between the different navigation levels, as animations can do a lot in helping users to understand what's happening on-screen whenever they invoke a certain action. The example of the contextual menu above perfectly illustrates this, as the sudden appearance of the menu and the absence of the highlighted item on-screen can be confusing at first. As I said above, Viggo was looking at it, but I'm not aware of
Re: [Freevo-devel] [Simon Yates] [Freevo-cvslog] [PATCH] CrystalFontz 633 Keypad support
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Forward from cvs-log. Gustavo? I'll take a look. Thanks, Gustavo __ Yahoo! Messenger - Fale com seus amigos online. Instale agora! http://br.download.yahoo.com/messenger/ --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Patch to LCD for the CrystalFontz 633 keypad
--- Simon Yates [EMAIL PROTECTED] escreveu: Patch to LCD for the 633 keypad This patch doesn't apply. Could you send again? Please do as attachment file, probably is my mail system blowing things (spaces, etc) up (yahoo sucks) Thanks, Gustavo __ Yahoo! Messenger - Fale com seus amigos online. Instale agora! http://br.download.yahoo.com/messenger/ --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Documentation updates and typo fixes
--- Eirik Meland [EMAIL PROTECTED] escreveu: Dirk Meyer [EMAIL PROTECTED] writes: o Advanced usage/configation: - how to create a skin? A line by line explanation of the basic skin would have been _very_ useful. If you have some time, please do it and update the skin section :) Gustavo __ Yahoo! Messenger - Fale com seus amigos online. Instale agora! http://br.download.yahoo.com/messenger/ --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Skin adaptation
--- [EMAIL PROTECTED] escreveu: Try looking at the Crystal theme. It assigns it's own watermarks to various plugins. It would be a good place to start. It is available in the addons section of the freevo website. It hasn't been updated to recent CVS that I know of but it should give you something to try. Also, please check the docs: http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fSkinInfo I wrote most of it for 1.4 and I don't know if it's up to date, but it serves as base. If you find errors, please correct them. Gustavo __ Yahoo! Messenger - Fale com seus amigos online. Instale agora! http://br.download.yahoo.com/messenger/ --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Animation and Goom support in Freevo (and a patch)
--- [EMAIL PROTECTED] escreveu: Just a fast question : could you precise whic version of Glomm to use ??? You need a hacked version of goom. But don't expect much of it, it's just a hack until we have something working with a more general purpose framework (libvisual), which will include many visualization, including goom, milkdrop, jess, ... Gustavo __ Yahoo! Messenger - Fale com seus amigos online. Instale agora! http://br.download.yahoo.com/messenger/ --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Animation and Goom support in Freevo
--- Dirk Meyer [EMAIL PROTECTED] escreveu: o pygoom itself is not included. We need to find a good way to add it to cvs. Suggestions? For now, I included the latest version I got from Viggo to this mail. We plan to move to libvisual, so doesn't expect much work on goom right now, since libvisual will give us more flexibility and more plugins. Just need to write the python wrapper. If someone want to help, contact me. References: http://libvisual.sf.net/ http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ Gustavo __ Yahoo! Messenger - Fale com seus amigos online. Instale agora! http://br.download.yahoo.com/messenger/ --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Update: Animation support for freevo
--- Viggo Fredriksen [EMAIL PROTECTED] escreveu: Hi! Hi, Haven't got in touch with Gustavo for a while, this mail was intended for him, but I figured I could just as well post it on the list for other to view. Talk to me on IRC later :) I've done some updates to the animation stuff + changed some plugins in freevo to use it. Attached is a tarball of the modified files (not patches). I hope I haven't left anything out this time around! Patches are easier :) I'm still using audio.mplayervis as my base for visualization, waiting for Gustavo's pygoom (and eventually libvisual) to merge this into audio.mpav. I'm anxious to see how well this performs :) No problem. I have a pygoom which may work, but it isn't tested. If you want it... but I don't recommend, since in some time we'll have libvisual python wrapper, it supports goom and other cool vis! BTW, if there is someone experienced with python wrappers (pyrex would really kick ass), please contact me. Attached is also my pygoom version (yeah, that hackish one). Haven't segfaulted or the likes in two weeks of almost continous usage. I haven't done much with it as it will eventually be replaced, so building may fail. Try 'make install', if errors occur - check Makefile and setup.py. No Problem. Some screenshots of visualization stuff: http://www.matrise.net/~viggo/freevo/animation/ Really cool. I'll test it later. Gustavo __ Yahoo! Messenger - Fale com seus amigos online. Instale agora! http://br.download.yahoo.com/messenger/ --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Animation and goom support for freevo.
--- Viggo Fredriksen [EMAIL PROTECTED] escreveu: Hi! Hi Viggo! As stated earlier, I'm working with animations for freevo. The patch includes some updates to osd.py and a new mplayervis.py plugin for mplayer. This version has removed the scrolling of selected text as it doesn't work properly yet. Send it as soon as you get it working... After 1.5 is released, one can include it in code and many will start to look at it, fixing it sooner :) Also included is a python module written in C for converting goom data to pygame surfaces. So you did it! :) This release is for the people interested in these features (mainly gustavo so far), and is in no way ready for inclusion to freevo. The C implementation is pretty dirty atm, haven't had the time to do a full readup on the py C-api, so it may leak etc. I hope gustavo can help out with this, as I'm not the best C-coder in the world :) I'll take a look tonight. It may be needed to tweak the buildflags (in setup.py) to get it to build. A screenshot of the mplayervis plugin: http://www.matrise.net/~viggo/freevo/screenshots/goom.jpg Beautiful! Let's check its performance tonight! Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: AW: [Freevo-devel] Animation and goom support for freevo.
--- Jan Grewe [EMAIL PROTECTED] escreveu: Yes! It works! After some changes to the setup.py (SuSE has the glib stuff in /opt/gnome/[lib|include] ) i was able to compile it, and it works just fine! It doesn't crash like mpav (sorry, gustavo) and it's just ... Great! No problem... I think I'll deprecate mpav in favor of this one. Doh! Hold on - just crashed ;( mplayervis.py (109): Detected MPlayer 'export' audio filter! Using MPAV. mplayervis.py (109): Detected MPlayer 'export' audio filter! Using MPAV. mplayervis.py (109): Detected MPlayer 'export' audio filter! Using MPAV. Pygame Parachute Traceback: Thread-0x880f938 File /usr/lib/python2.3/site-packages/freevo/childapp.py, line 395, in _handle_input Thread-0x8204648 File /usr/lib/python2.3/site-packages/freevo/childapp.py, line 395, in _handle_input Thread-0x8247968 File /usr/lib/python2.3/threading.py, line 204, in wait Thread-0x8262530 File /usr/lib/python2.3/site-packages/freevo/plugins/rom_drives.py, line 782, in run Thread-0x81a2740 File /usr/lib/python2.3/site-packages/freevo/audio/plugins/mplayervis.py, line 50, in draw Thread-0x817aef0 File /usr/lib/python2.3/threading.py, line 204, in wait Thread-0x8049ba0 File /usr/lib/python2.3/site-packages/freevo/main.py, line 418, in ? Fatal Python error: (pygame parachute) Segmentation Fault Crashed after a song finished and the next one started ... I'll check this later. But nevermind, what about fullscreen output and a toggle on/off ? To come later... Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Animation and goom support for freevo.
--- Viggo Fredriksen [EMAIL PROTECTED] escreveu: Gustavo Attached is a newer version with somewhat cleaner build, fastmemcpy.h still causes crash on one of my machines, so if there are flags I have forgot to pass, please let me know. Included is also a new base.py / render.py an mplayervis.py (in subdir freevo of tar). This allows a 'render all you can' flag in render. mplayervis.py is updated to show fullscreen (and toggle between them with '0' button). I'll look at it. BTW, replace mplayervis.py to mpav.py, it's already in CVS, so we just replace my old one with this new one as soon as CVS leave code freeze. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] CD + DivX problems
Hello, I have a bunch of CD's with DivX movies in them. Freevo doesn't handle FXD files very well for them, if I search IMBD for it, freevo creates a FXD but doesn't use it! and a few more problems... Anyone knows if it's a freevo or mmpython problem? I'll start to look at it later, but if someone has more knowledge on that area, please tell. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Last call for 1.5pre1
--- Viggo Fredriksen [EMAIL PROTECTED] escreveu: Hi! A little sidenote, as some know, I'm working on integrating animations into the freevo osd. I've come some way with this, but I don't think I should show it to anyone before 1.5 is final. I hope it eventually will be good enough so it can be in place by the time 1.6 hits the streets. Excellent! Status for animations atm. is working, but struggling to integrate it properly with skin.main. (yay, I've got scrolling text and animated detachbar!) Just anxious to check it out! What are you using to achieve this? I mean, one will be able to use animated images or just animated effects? And how to use animated effects? Using the skin? I have few ideas about that... Well, anywhoo, the reason I post is the fact that I am also working on visualization using the af_export from MPlayer. I have the needed data and animations in place, now I only need to learn Fast Fourier Transformations to get some decent output. (dang, now I wish I studied math harder while I still had the time :). Don't you want to join me in MPAV? It's plugin based (dl), so other visualization methods would be real simple to add! You don't need to write the events or slave mode, they're there... just write a function that process a 512 x 2 int16_t samples and it's done! I don't like (aka know very well) FFTs, so I used GOOM (a library)... you can start with that (it uses ffts internally) or even port some XMMS plugins to MPAV! Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Last call for 1.5pre1
--- Viggo Fredriksen [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: Just anxious to check it out! What are you using to achieve this? I mean, one will be able to use animated images or just animated effects? And how to use animated effects? Using the skin? I have few ideas about that... Basicly, everything that can be a pygame.Surface can be animated (eg. _everything_ in Freevo). I'm not quite sure what you mean by animated images, if you're thinking of stuff like animated gifs - then no. It was gif images or other kind of animation (ie: preview TV, movies, ...) Having TV preview in TV guide and movie preview in movie dirs would kick ass! As for movies... I'll start to look at gstreamer, so it could be used to feed the animation... but I don't know if performance issues will arise. I have an old sequence diagram displaying approx. how it's done: http://www.matrise.net/~viggo/freevo/ellipses/act,jpg.JPG (nice filename, heh). I've made a BaseAnimation class which provides the basis for animations. This includes stuff like: - starting - pausing - removing# - take damage from screen # these two are the harder parts - provide a basic surface with optional background from screen - rectangle describing it's location on the screen - etc. The marquee uses this as it's basis, and all it needs to do is to draw the string onto it's surface, and blit it to the baseanimation surface. (I think the marquee is about 40-50 lines of code). Great. This could be used to do everything, right? I mean, if I create a class TvPreview that get frames from /dev/videoX and blit it, it should work (?) To use the animations, all one has to do is to create an instance of the wanted class and call obj.start(). The instance then must be added to the render singleton (which takes care of drawing the object at the right intervals). To remove, call obj.remove() or render.kill(obj) easy so far. And now comes the tricky part - use it with the skin. What I did was to modify skin.main.listing_area to start and stop the marquee when a new item is selected. The problem with this is when I start the audio.player, it will still remain on the screen. All I can say is - I get lost in the skin code :). But I think when the time comes, others can help out with this part. I can try to help you... many of the 'bloat' in the skin was my part :D But I also got kinda lost with Dischi's new abstractions... some times I miss from where things come... from where things go... Performancewise the animations do pretty well. As an enhancement I'm also thinking of adding some filters for pygame surfaces so one could add something like an animated blur effect (ex for the image viewer). Great! It's been pretty easy so far, but it's still very early in development and it has flaws (hell, this is my first time developing ui stuff). When freevo goes back into experimental mode, I'll make some patches. It was my first time with python + UI when I developed the skin stuff... you can notice it in drawstringframed() (it is much better now! Check cvs logs for first versions!!!) Man, I really suck at explaining stuff :) Me too... [ it's kinda hard to explain things in foreign languages! And I don't even master it in my mother language! ] Well, anywhoo, the reason I post is the fact that I am also working on visualization using the af_export from MPlayer. I have the needed data and animations in place, now I only need to learn Fast Fourier Transformations to get some decent output. (dang, now I wish I studied math harder while I still had the time :). Don't you want to join me in MPAV? It's plugin based (dl), so other visualization methods would be real simple to add! You don't need to write the events or slave mode, they're there... just write a function that process a 512 x 2 int16_t samples and it's done! The thing I'm working on is integrated with freevo, and uses the animation stuff described above to display it. What worries me is performance, I'm afraid it won't be able to do advanced stuff like goom. You should evaluate it. Maybe it won't! What does the hard processing stuff is goom, which is MMX/SSE optimized... if you code a python wrapper to call it, the overhead you may get shouldn't be too large. Then it's a matter of blitting the surface in the desired area. And you don't get too much frames with audio visualization... around 12! Just larger views should be a problem. And I'll hold on mpav to CVS a bit... maybe I should port goom to freevo (BaseAnimation). It should give us more control. I agree calling different programs is ugly and this is a better approach. Btw, is int16_t signed short? I haven't looked to closely in af_export.c, but is the data organized as HEADER CHN0(512) CHN1(512)? This is what I'm currently assuming. int16_t is signed, uint16_t is unsigned... but I
Re: [Freevo-devel] Re: Last call for 1.5pre1
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: Yes, not inside freevo. We now have freevo and website, just add apps to it and put mpav in it. Wouldn't be easier to just have another module mpav? Otherwise, one must get all apps (if we have more than mpav) in order to get one Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Last call for 1.5pre1
One more thing: Using i18n freevo I got labels in Info_Area chomped off. It used to be more annoying when we used ellipses, but it's still annoying... So could you skin makers try different languages and check the results, updating your skins? I'll try to check good sizes tonight. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: AW: AW: [Freevo-devel] Problem with MPAV plugin
--- Jan Grewe [EMAIL PROTECTED] escreveu: Hi gustavo, That's what i get when starting both from commandline, mpav compiled with DEBUG=1 DEBUG: Data import loop... DEBUG: Data import loop... DEBUG: Data import processing 851... DEBUG: Screen loop... DEBUG: Time to render frame: 14028us, delay to next frame: 27638us (interval is 41666us) DEBUG: Data import loop... DEBUG: Data import processing 852... DEBUG: Data import loop... DEBUG: Data import processing 853... DEBUG: FPS: 20.711 (frames: 21, time: 1013970) DEBUG: Screen loop... Fatal signal: Segmentation Fault (SDL Parachute Deployed) DEBUG: Data import loop... DEBUG: Data import processing 854... Sometimes the Fatal signal comes as the last line, sometimes a few lines earlier to getting dropped to the console ... The order may be strange, since it's threaded and the lines could be printed out of order... Hope that helps you in any way! Not really... with this kind of data I can't get anything. Let's try to debug it: 1) It only occurs with one specific song? Explain it. 2) What strace mpav --parameters-to-mpav says? 3) compile it with -g instead of -O3, do gdb mpav, run --parameters-to-mpav, after the crash, type: bt (Backtrace) and send it to me. if it just happens to one song, we may find a way to you send me the song. Gustavo Thanks, __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Last call for 1.5pre1
--- Krister Lagerstrom [EMAIL PROTECTED] escreveu: Is there anything that should be added or changed in the ChangeLog? Release 1.5.0pre1 (2004-03-21): --- + Preliminary Audio Visualization Support using MPlayer + MPAV (http://gsbarbieri.sytes.net/mpav/) BTW, does everybody agree to add mpav to freevo cvs? How to do it? Different module? Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
RE: [Freevo-devel] Problem with MPAV plugin
--- Peter Svensson [EMAIL PROTECTED] escreveu: I've had the exact same experience with mpav, i.e. song skipping. My question is; What version of pmlayer do you (Gustavo) have? Are there any other dependencies you might think of? I use CVS. -af export was included some time ago, I think it's in 1.0-prex... check man mplayer and search for export. Maybe it's it? The strange part is that you said you can launch mplayer+mpav from cmdline. Maybe your freevo uses different mplayer (check ~/.freevo/freevo.conf) than your environment one? Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: AW: [Freevo-devel] Problem with MPAV plugin
--- Jan Grewe [EMAIL PROTECTED] escreveu: The correct paragraph would be: -af plugin1[=options],plugin2,... Activate a comma separated list of audio filters and their options. Available filters are: snip export[=mmapped_file[:nsamples]] Exports the incoming signal to other pro cesses using memory mapping (mmap()). mmapped_file: File to map data to (de fault: ~/.mplayer/mplayer-af_export). nsamples: number of samples per channel (default: 512) snap The mplayer i'm using on the command line is _exactly_ the same as in freevo, as i used the command which gets written to the log file, same goes for mpav, so both commands are the same, except that they aren't run by freevo! Too bad :( We need to find a way to debug it... dischi? And gustavo: when running from commandline, mpav works, but it segfaults after some seconds... No error, just Segmentation Fault - is there a way to make it more verbose? Yes, compile with -DDEBUG=1 You can also compile with -g instead of -O3 and try to gdb it. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Problem with MPAV plugin
--- Jan Grewe [EMAIL PROTECTED] escreveu: Hi all, I get this error(?) in my log when i start playing a song with mplayer, the mpav window pops up for a second and then exits, mplayer skips to the next track. It works from commandline (though mpav segfaults after ~10 secs, but that's a different story) could you try to debug why it crash after 10 secs? mplayer.py (202): MPlayer.play(): Starting cmd=['--prio=-20', '/usr/bin/mplayer', '-slave', '', '-autosync', '100', '-nolirc', '-autoq', '100', '-screenw', '800', '-screenh', '600', '-fs', '-vo', 'null', '-ao', 'oss:/dev/dsp', '', '-demuxer', '17', '', '', '/storage/mp3/36 Crazyfists - A Snow Capped Romance (Advance)/02 - The Heart and the Shape.mp3', '-af', 'export=/tmp/mpav'] self.t1.isAlive()=True, self.t2.isAlive()=True ChildApp.__init__(), pid=7425, app=/usr/bin/mplayer -slave -autosync 100 -nolirc -autoq 100 -screenw 800 -screenh 600 -fs -vo null -ao oss:/dev/dsp -demuxer 17 /storage/mp3/36 Crazyfists - A Snow Capped Romance (Advance)/02 - The Heart and the Shape.mp3 -af export=/tmp/mpav, poll=-1 mpav.py (225): Detected MPlayer 'export' audio filter! Using MPAV. mpav.py (225): Detected MPlayer 'export' audio filter! Using MPAV. mpav.py (225): Detected MPlayer 'export' audio filter! Using MPAV. main.py (402): popen2 ['/usr/bin/mpav', '-s', '-f', '/tmp/mpav', '-r', '/usr/lib/libmpav_goom.so'] self.t1.isAlive()=True, self.t2.isAlive()=True ChildApp.__init__(), pid=7429, app=/usr/bin/mpav -s -f /tmp/mpav -r /usr/lib/libmpav_goom.so, poll=-1 childapp.py (614): sending exit command to app Seems as if the child is killed instantly after mpav starts (mpav starts after a delay of 1 sec, which matches the time until mplay skips) I can't figure out why this happens. Playing the same file with freevo and launching mpav from cmdline works? (you'll need to edit local_conf.py to use -af export=/tmp/mpav) Thanks, Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Running out of place in idlebar -suggestion for extension
--- Aubin Paul [EMAIL PROTECTED] escreveu: On Wed, Feb 25, 2004 at 08:19:16PM -0300, Gustavo Sverzut Barbieri wrote: Drive (CD-ROM) status are also useless IMHO. Why do you mind if there's CDDA, DVD or something else in your drive? You can just go in {Video,Image,Audio,...} menu and check... I would disagree with that... I like to know what type of media is in my drive, if any. But it's about your taste. You can achieve that just entering one of the media menus. Mail is maybe useful for very active people, but one can just enter the Mail menu and check his mail... since you will not probably answer them every minute or so when a new mail came in... you probably will answer then all together in some specific time slot. I wrote that, but I don't use it myself. I don't need to be interuppted with email when I'm watching TV or listening to music. Sure. That's a fair point. Many asked for that, maybe we should come with a way to go to some menu directly. That could be used to start freevo in some specific menu or assing RC keys to do so. IF there were hooks set up for each of the menus, that would be possible, then you could just add: EVENTS['menu']['1'] = Event(MENU_CALL_ITEM_ACTION, arg='go_music') or something... though not by default obviously. yes, it should give user much fast navigation. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] program, favorites, search, manual record
--- Aubin Paul [EMAIL PROTECTED] escreveu: On Mon, Feb 23, 2004 at 04:12:38AM -0300, Gustavo Sverzut Barbieri wrote: I'm not exactly anxious to do an update right now, because everything looks pretty broken and ugly right now with the unicode stuff going in. Please, do update. It's much more stable right now. Even the web interface should work i18n and with non-ascii stuff. If you don't use non-ascii chars, you'll experience no problems. If you use and experience problems, please let me know so I can fix it ASAP. This unicode stuff is something nebulous, even more with python since we cannot enforce function parameters to be of a certain type, so problems may be hide until someone trigger it :( What about high ascii ( = 129) characters. FXD files from imdb can contain, for example, the '1/2' character. It should fail too. ascii is 0-128 AFAIK :( We need unicode there too. Also, xml parser returns unicode AFAIK, since valid XML requires the encoding at the top (?xml ... ), it's possible to convert to unicode. Great idea. I really like input using numbers on the remote, it's way faster than using Up/Down keys. Definitely... and it's one of the places where the remote is well suited. Text input is trickier, but number input is dead simple. There we could have that 2d input, it's way faster than 1d (up/down). Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: i18n
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: We're not in string freeze yet, things may change before we came with pre-releases, but if you have some time to help now, send your work! About that: I vote against using i18n for messages we print with 'print' or '_debug_'. First of all, we don't need it because the user should never see this. Second and more important: I can't read a trace in a language different from English and German and won't be able to find a bug. Totally agreed! This also remove some of the works from i18n teams. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] tivoguide and tvguide plugin patch
I liked your 1st approach more, but can't help you too much here. Dischi may. But I have few cosmetical complaints: - don't use tivo name. as I said to you in irc, that may lead to legal issues in future. - have a bit more space between two areas, maybe just the selected channel must touch the right one. The last one probably scheduled to later releases together with more improvements to the guide, maybe you'll need more skin settings to fit your needs. Also, maybe we could have some way to define images to make up the guide? Just as I said to GUI items, have some way to specify top-left, top, ... but with few aditions, like right-middle (-|), left-midle (|-), ... Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src/www/htdocs edit_favorite.rpy,1.12,1.13
--- Aubin Paul [EMAIL PROTECTED] escreveu: On Wed, Feb 25, 2004 at 12:48:38AM -0300, Gustavo Sverzut Barbieri wrote: BTW, why don't we have an unique page end? There's foot, links, searchform, ... For flexibility; the 'rpy' files are parsed on the fly so they can be changed and replaced, but you need to restart the webserver to change web_types... I can't say is why they were originally that way, but that's why I didn't change it when I went through the code. Like, if someone wanted to put the search form at the top of the page instead, there is no reason to move everything else. Having one standard is the best option, usability-wise. Also, we could have the 3 separate ones and one 'standard' or 'default'. So people just need to use it for normal usage. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] i18n
Hello, I commited some time ago the necessary changes to support i18n in web interface and polished some strings, so translators have some work again :) If in the translation process you find out some weird strings or strings that should be split in parts, strings that are almost the same (maybe punctuation, spaces or other cosmetic changes), please let me know. I'm the pt_BR translator and in my works I always find some problems like thatm and is boring to translate strings with the same meaning but different cometic changes over and over again. Also, they can confuse user. So if you find those oddies, send a patch or just tell me the line(s) and how do you think it should be. We're not in string freeze yet, things may change before we came with pre-releases, but if you have some time to help now, send your work! Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html freevo.pot.bz2 Description: freevo.pot.bz2
[Freevo-devel] Use the locale module
Hello, I noticed that we don't use the locale module in freevo. There's any reason? Using locale is simple and we win a lot of i18n stuff! We could also determine encoding more easily. To use, just add to the initial module: from locale import * setlocale( LC_ALL, ) Then, if you do something like: print time.strftime( %X %x, time.localtime() ) You get the time date in locale's format! In us it returns HH:MM [AM|PM], in brazil it returns HH:MM (24hs)... if you use %b, the Month abbr. is already translated. I would like to suggest that date-time always use %X and %x, or (better choice) we should provide a way user can specify the format to use in config. (Many people doesn't like 24hs format, even their country using it) Also, the config.encoding stuff could be replaced and instead of using os.environ[ LC_ALL ], ... we could just call getlocale()! And we could give setlocale() the second parameter as being FREEVO_LOCALE, it it exists. So, what do you think? Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] program, favorites, search, manual record
--- Rob Shortt [EMAIL PROTECTED] escreveu: Hi all, here's an update for what I've been working on. In previous emails we've talked about getting rid of the popup-gui for complex things like program display, favorites, manual record, and search. Well, this is working out good for me. What I've done: [snip] Looks good. What's next? [snip] We also need menus for manual record, I have some thoughts on paper but if anyone wants to do this be my guest or when I am done favorites I'll start on it. Also we need another entry into the search function because it will be hard to mix the popup search input with the item menus. Ideally I would like to incorporate the LetterBoxGroup into the skin, similar to Viggo's text input. great! The directory I am working out of hasn't been CVS updated since early last week so before I commit anything I will need to do that. However I don't want the unicode problems to break what I'm working on and make me stuck until we figure it out. It should work well as today. As python doesn't enforce object types in the function parameters/return, it's hard to figure out where do you have an string, where do you have unicode and convert between them. Rule of thumb: if you experience problems, try wrapping things with Unicode(). If I do update and its not too broken to continue this work, I would like to commit some of my changes. Right now you can schedule, view, and remove recordings, and search for shows with the same name. Favorites don't work (not that I considder the existing interface working) so I don't think it would be a big deal. Also the search function in the TV Main menu will not work. Does this matter in the short term? If I checkin some stuff others can help in those areas. :) I have some time these days, I can help out to fix things. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src/www/htdocs edit_favorite.rpy,1.12,1.13
--- Rob Shortt [EMAIL PROTECTED] escreveu: Gustavo, can you please check to see if this change is ok for you? -Rob Almost. I fixed the problems and other unchecked place and commited, please check. I have a comment on your code: + fv.res += 'h4ERROR: no program found on % at %/h4' % (chan, start) Please, take care when doing stuff like that. 1) fv.res is unicode, since i18n messages are unicode and str + unicode - unicode 2) chan can be a string with non-ascii chars, since it came from POST/GET, when python tries to merge it with fv.res and so make it unicode, it will break! If you came to this problem, please transform chan to unicode. Seems to be that browsers exchange data in latin-1, so i'm using this code: chan = Unicode(fv.formValue(form, 'chan')) if isinstance( chan, str ): chan = Unicode( chan, 'latin-1' ) This way we try to convert to unicode using the default encoding, if it fails, fall back to latin-1. 3) Please, collaborate with i18n efforts! :) Don't use this: 'h4ERROR: no program found on %s at %s/h4' % (chan, start) Use this instead: 'h4'+_('ERROR')+': '+(_('no program found on %s at %s') % (chan,start))+'/h4' Also, try to not use formating or 'accessories' chars in i18n strings, that helps us a lot! Don't use _('ERROR:'), use _('ERROR') + ':', since probably should be ERROR used somewhere. This is also valid in other places, like 'Today' and 'Today:' and sometimes 'Today: %s' and 'Today:%s' ... Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src/www/htdocs edit_favorite.rpy,1.12,1.13
--- Rob Shortt [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: Please, take care when doing stuff like that. 1) fv.res is unicode, since i18n messages are unicode and str + unicode - unicode 2) chan can be a string with non-ascii chars, since it came from POST/GET, when python tries to merge it with fv.res and so make it unicode, it will break! If you came to this problem, please transform chan to unicode. Seems to be that browsers exchange data in latin-1, so i'm using this code: chan = Unicode(fv.formValue(form, 'chan')) if isinstance( chan, str ): chan = Unicode( chan, 'latin-1' ) Can't we bury stuff like this in lower level code? Its annoying to have to jump through all those hoops. Also is chan ever going to be unicode? Don't know. To avoid future problems, I'm wrapping every possible string that will possible have non-ascii chars with Unicode(), so it will not blow elsewhere. Unicode() should do well anone, but in web interface, due an unknow browser behaviour, I'm using the fallback option. Maybe a web_types wrapper for that? What format is local_conf.py (Is that a stupid question?), the third field of a TV_CHANNELS entry? Mine is normal strings, all ascii. But god know what users will put there. Also, it works only when I converted it to unicode, maybe it's channel id (I have some unicode+non-ascii ones). Can things break while comparing an ascii to unicode string? ascii don't break anything. Default (python) encoding is ascii, everthing works well. str - unicode, unicode - str. non-ascii (latin-1, utf-8, ...) is the problem. Since python's default is ascii, every non-ascii char will crash your system with the raised exception. From what dischi and I researched, the only way to change python's default is to change the whole site (entirely user system!) and it's not an option, so we use those Unicode() and String(), that uses our encoding (based on environment $FREEVO_LOCALE, $LC_ALL, $LC_MESSAGES and $LANG) 3) Please, collaborate with i18n efforts! :) Don't use this: 'h4ERROR: no program found on %s at %s/h4' % (chan, start) Use this instead: 'h4'+_('ERROR')+': '+(_('no program found on %s at %s') % (chan,start))+'/h4' Sorry, its hard to remember... I'll try more. :) Yes, even I (translator) make sentences that make translator job difficult. But as I need to translate, I look at stuff and say Why this is done this way? and need to change that. I'm doing some work in whole freevo to make translators life easy and the interface more polite. Everybody is welcome to help here. If you see a too tech message (things like chanlist), point it out! Also, if you find texts inside a plugin that prefix messages with its name, (ie: record_client: message), split it in 2 parts, only the message being translateable ( record_client: + _( message ) ) As we will start to release pre-relases soon, I want to change as much as strings before we do the first pre-release, then we could consider string-freeze and have translators to do their job. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] program, favorites, search, manual record
--- Aubin Paul [EMAIL PROTECTED] escreveu: On Sun, Feb 22, 2004 at 10:28:27AM -0400, Rob Shortt wrote: I added a ProgramItem class and an info area for it in the blurr2.fxd. I started with the scheduled recordings menu, which is now a plugin. When I enter it it gets the scheduled recordings from the recordserver and displays them as ProgramItems: http://ettin.danicar.net/freevo_sr1.png . Here I could use some skin designers help to make the info area look better with a better layout... Aubin? :) Also I was thinking of adding more info to the name of each program item (channel and/or start time?) so you don't have to scroll over it to check it. I'll take a look at it when you've got it committed, but it looks reasonable enough... the main things I would probably show is the television logo, and other details like that. Great. I'm not exactly anxious to do an update right now, because everything looks pretty broken and ugly right now with the unicode stuff going in. Please, do update. It's much more stable right now. Even the web interface should work i18n and with non-ascii stuff. If you don't use non-ascii chars, you'll experience no problems. If you use and experience problems, please let me know so I can fix it ASAP. This unicode stuff is something nebulous, even more with python since we cannot enforce function parameters to be of a certain type, so problems may be hide until someone trigger it :( We also need menus for manual record, I have some thoughts on paper but if anyone wants to do this be my guest or when I am done favorites I'll start on it. Also we need another entry into the search function because it will be hard to mix the popup search input with the item menus. Ideally I would like to incorporate the LetterBoxGroup into the skin, similar to Viggo's text input. I always saw it as a multiple step wizard... it can't be perfectly flexible, but: 1. Choose Channel from a List 2. Choose start time - punch in the numbers on the remote: [1][0]:[3][0] [pm] 3. Choose end time - punch in the numbers on the remote or choose a duration (i.e. 30min/60min/120min for fast additions) 4. Confirm. Great idea. I really like input using numbers on the remote, it's way faster than using Up/Down keys. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src/www/htdocs edit_favorite.rpy,1.9,1.10 favorites.rpy,1.10,1.11 genre.rpy,1.5,1.6 guide.rpy,1.21,1.22 iceslistchanger.rpy,1.4,1.5 index.rpy,1.11,1.12 library.rpy,1.19,1.20 manualrecord.rpy,1.9,1.10 record.rpy,1.10,1.11 search.rpy,1.14,1.15 wap_login.rpy,1.2,1.3 wap_rec.rpy,1.3,1.4
--- Michael Ruelle [EMAIL PROTECTED] escreveu: THe guide appears to be very broken it looks like you embedded _('') things in the middle of a ... string which has a sprintf conversion at the end. this causes an error about not all the arguments being converted. If i remove the _() things i get past that error. I'll look at it. The next error i can't figure out: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 109: ordinal not in range(128) it comes from: 248 def tableCell(self, data='', opts=''): 249self.res += td +opts++data+/td\n with data set as: 'S\xe1bado Gigante raquo;' So i have no idea how to deal with it. If you come to that, please replace data with Unicode(data) or String(data), depending on the context. In the webinterface, you should use Unicode(data). I'll fix that together with the previous error. I am willing to bet genre.rpy has similar problems since it uses alot of similar code. Ok. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Bugs in Web Interface (Mike, Rob)
Hello, Trying to fix bugs reported by Mike and you know, dig a problem, find lot of them. 1) Favorites doesn't support non-ascii names (at least not in unicode). The error is when communicating to the server. tv.record_client.findProg() masks the error in the general except clause. Please could some of you guys check this and come with a solution? I don't know twisted internals. 2) As said, Favorites doesn't support non-ascii names, so findProg() returns a string (error message) as response. Too bad edit_favorites.rpy does *NOT* check it and keeps processing... so 'prog' is a unicode object instead of a programme and too bad, it has a .title (but it's a method), so the crash will occur just deeper in the stack, when creating a Favorite(). Mike, you said: The next error i can't figure out: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 109: ordinal not in range(128) it comes from: 248 def tableCell(self, data='', opts=''): 249self.res += td +opts++data+/td\n with data set as: 'S\xe1bado Gigante raquo;' It happens there, but I need to know what is calling tableCell(). The error there is that your self.res may be in unicode already and you give it a string with non-ascii chars (data). Python tries to convert data to unicode using the ascii encoding and fails, raising an exception. To fix that is just a matter of wrapping data with Unicode() when calling tableCell(). BTW, where do you live? 'Sábado gigante' seems portuguese (I'm Brazilian). Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Major src/gui update -- developers please read
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: How to use subsurfaces? In the gui code is a function for all objects get_surface. Basicly it takes the parent surface and call a function on it to get a subsurface. The subsurfaces shares the data, so no blitting. Thanks. I'll look. I have some things I wish to implement, this is one of them, but it may stand still a little. My TODO list right now: - Finish MPAV plugin and integrate MPAV in Freevo CVS (if you agree it's a good idea) Good idea. The Python part should be inside Freevo, the C part should get an extra repository. Maybe apps. We could add more apps here later. Ok. It's in http://gsbarbieri.sytes.net/mpav/, btw there's a new version 0.0.4 out there, much improved and the render is now plugin-able. There's still just GOOM plugin, but others may be added. - Code MPOSD, kind of BMOVL with skin support, using info area Cool. I started with some basic bmovl stuff in src/video/plugins/bmovl, but it needs much to do. I already tested yours and I'll use it as base, but I'll start another plugin, keep yours intact. - Code NoticeQueue, something that get events and handle them with classs ('tv' events, 'volume' events, ... IMHO it's better than priorities) and then have MPOSD and tiny_osd to consult this plugin for info to be displayed. I like to hear more about it. We should all be sure how to handle osd stuff befor someone codes something and replace it later. I'll send a more formal proposal. And I'll not change anything existent, first I'll code this plugin, submit, then port things to consult the queue/handle the queue. Probably my first candidate will be the images, so it will be possible to remove message when back from the last item. - Configure freevo using the Remote Control. It's needed but can take a long to implement, will depend on Erik's XML config. Same idea here :-) :) Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src config.py,1.96,1.97 osd.py,1.141,1.142 playlist.py,1.64,1.65 setup_freevo.py,1.12,1.13
--- Michael Ruelle [EMAIL PROTECTED] escreveu: This appears broken: [EMAIL PROTECTED] freevo $ ./freevo setup --help Traceback (most recent call last): File /usr/local/freevo/src/setup_freevo.py, line 265, in ? print_usage() File /usr/local/freevo/src/setup_freevo.py, line 139, in print_usage print String( usage ) NameError: global name 'String' is not defined Mike Hi Mike, Thanks for reporting, as you may see, it's already fixed. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] MPlayer OSD brain storming
Hello guys, I started to play with MPlayer OSD plugin (future replacement to bmovl plugin) and I need some help. First my idea: I want it to hold 3 surfaces and display them, but never at the same time. These surfaces are: 1) Info: this will be something like our menu, but without the Listing area. I mean, just View_Area and Info_Area. It will display, based on skin xml contents, title, plot, rating, ... 2) Messages: this will display OSD messages. In future it will be updated to get messages and respect priorities/classes from NotifyQueue (a plugin I wish to code) 3) Play time OSD: like MPlayer OSD, but will be skin (xml) designed. The problem is how to relate to skin. How should I get the Info_Area and View_Area surface and use them (to use in 1)? Probably 3 will require new skin functions, I'll handle it later. Maybe there should be a 4th surface, to hold volume meter. 1 and 3 (probably 2 too) should be general, I mean, used by every other plugin, like tv.mplayer and (if possible) xine plugins, so we have common interface in every area. Maybe 2 and 4 (it it exists) could be used even in audio/image players. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Unicode stuff
Hi Viggo, Try using FREEVO_LOCALE and setting it as a pair i18n.encoding, ie: de.UTF-8 Some things you may take care: - If you print something to stdout (using python's print) and you want it i18n (use _()), you must use String() around it. Example: before: print _(ERROR) + _(my message) correct: print String(_(ERROR)) + String(_(my message)) - Try to convert messages to display in interface as Unicode objects. You can use Unicode(string), also from util/__init__.py Please test the Web Interface, I'd commited some code to make it i18n-able yesterday. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Some problems - 2004-02-13
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: --- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: Hello guys, I'm implementing MPAV (MPlayer Audio Visualization, http://gsbarbieri.sytes.net/mpav/) but I found some issues: - childapp.py: Sometimes poll() is called before the child __init__() is finished, so many times it breaks because there's no t1 or t2 attributes (isAlive()). I solved this declaring ready=False as class attribute and setting it to True at the end of __init__(). Then isAlive() must check if it's ready. It's the right solution? No, I guess we should better find out why this happens. Do you use ChildApp or ChildApp2? For ChildApp2 this shouldn't happen because there is not thread to be a problem at this point. I'm using ChildApp2. I don't know its internals, just based my usage on video/plugins/mplayer.py The problem is that sometimes it breaks in isAlive(), which looks for .t1, which is not available. Browsing the code I see it's only created in ChildApp, which is inherited by ChildApp2 so the problem could just be there... To figure it out I put prints in the begin and end of the constructor and one in isAlive, together with a traceback.print_stack(). Then I see Constructor started. isAlive() called from poll(). Constructor ended Do you start ChildApp2 from a thread? If so, do not do it, it doesn't work. If not, I can't see the bug. The main threads starts Childapp2, this one starts ChildApp, this creates the threads. Since poll() should only be called from the main thread, the main thread can't do it until the constructor is done and t1 and t2 are there. I cloned video/plugins/mplayer plugin (video_mplayer) to audio/plugins/mplayer (now audio_mplayer) and took bmovl as mpav base. I don't start a thread myself, maybe the plugin system does? See the attached files. - The second issue is with stop_osd. I need to stop the osd, since my app uses SDL and can display in framebuffer and dxr3. I'm using ChildApp2 and leave stop_osd=2, so it must stop the osd when OSD_STOP_WHEN_PLAYING=1 but instead of just stop the osd, it exits and leaves mplayer playing! add some 'print' debug to see why. What do you mean with 'just exits'? Freevo stops? Yes, freevo stops. Quit. The only 'python' thread left is the one that called mplayer. Strange, maybe it tries to restart the osd and crashes? In childapp.ChildApp2, add some print statement at the stop and restart osd functions to see if they are called correct. I already did, they're called, but then it exit. It doesn't crash, no error reported. Give me some explanation on how it works, then I could try to figure it out. What threads it stop, what else keeps running, ... NOTE: I don't have LIRC, just the keyboard. Maybe it relies on LIRC thread or something? No :/ Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html mplayer.py Description: mplayer.py mpav.py Description: mpav.py
Re: [Freevo-devel] Re: Some problems - 2004-02-13
--- Michael Ruelle [EMAIL PROTECTED] escreveu: Dischi, I have seen a problem with Childapp2. Basically if the program ends before you can get into the loop polling it. Then it will crash on the wait. I can trigger this pretty realiably in the commands plugin with a script that runs basically a bunch of echo statements. Mike Hello Mike, Dischi, My app doesn't ends soon, it keeps running, so maybe it's a different problem? Yet on problems I noticed: The new search font in other places feature breaks my plugin. I need a font filename to show messages on the screen, but using skin.get_font(default), but it keeps giving me an unexistent filepath! It's looking for /usr/X11R6/lib/X11/fonts/truetype/, but I don't have truetype dir, just TrueType. Since I can see skin fonts, shouldn't it give me a exitent path? Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: AW: [Freevo-devel] Text Input in Freevo
--- Jan Grewe [EMAIL PROTECTED] escreveu: Hi craig, There is a plugin out there, the freevo mailreader, which supports replying to a mail via cellphone-style text input, so there _is_ at least a way of typing something, let's hope that someone writes a module for other plugins (viggo, you hear me? ;-)... /jan Rob is working on PyUI integration, it could help a lot. In mean time, we could have something to, in some plugin/area, remap every key a-z0-9 to give the input while in one widget, so people with wireless keyboards could type things easily. Viggo, could you take a look at it and try to implement? It should be just a matter of changing config.EVENTS and then restore it. But in meantime, it would be cool to have viggo mini-keyboard componentized Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Aubin: new logo details
Hello Aubin, I would like to suggest you some improvements to the new logo, they're most details, but here it comes: - Ligatures: please do some kind of ligatures (could be hand-made, I can do it if you send me the SVG). Th (top) at(bottom) tr (bottom) tf (middle) - Like Rob said, I think that the sharp blue rectangle below is quite strange at the top, but I like it at the bottom. So I have one idea: what about make it have shadows, but shadows like real ones, so when it come to the bottom it get more transparent. It's just an idea, maybe it doesn't look great. But if it does, maybe you could also have it to look more professional if the shadow on the blue rectangle is in different level from the shadown outside it, giving an impression of 2 levels. - Make it sharper. I noticed that please wait... font is much sharper than Home Theatre Plataform. Maybe it's just the jpeg quality. Thank you, Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Problems 2 - 2004-02-13
--- Gustavo Sverzut Barbieri [EMAIL PROTECTED] escreveu: Hello, More problems, now trying to fix web interface. I tried to use gettext there, but I need to get gettext to use unicode, else I get weird chars... but then it becomes a real mess! I'm quite lost! Changing gettext to use unicode was easy, but many sources use print _(...), but many languages uses non-ascii chars and it returns in unicode - BOOM! Solution: use String(_(...)). It was easy to convert. But when it come to web interface, what a pain! I have filenames in UTF-8, but reading them raw breaks (UnicodeError), having them unicode and the passage between pages breaks it. Using encoding('latin-1') from incoming seems to work, but I doesn't know if it's the standard... so I'm researching a bit more. If you have some ideas on how to fix those, please send. I doesn't expect to commit anything soon, but let me know as fast as you can so I can test it here. I successfully made the entire web interface i18n-able. I solved the issues from filenames using latin-1 from incoming data. Any interest in testing, please mail me. I'm using modem right know so I will not upload it right now. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Problems 2 - 2004-02-13
--- Gustavo Sverzut Barbieri [EMAIL PROTECTED] escreveu: --- Gustavo Sverzut Barbieri [EMAIL PROTECTED] escreveu: Hello, More problems, now trying to fix web interface. I tried to use gettext there, but I need to get gettext to use unicode, else I get weird chars... but then it becomes a real mess! I'm quite lost! Changing gettext to use unicode was easy, but many sources use print _(...), but many languages uses non-ascii chars and it returns in unicode - BOOM! Solution: use String(_(...)). It was easy to convert. But when it come to web interface, what a pain! I have filenames in UTF-8, but reading them raw breaks (UnicodeError), having them unicode and the passage between pages breaks it. Using encoding('latin-1') from incoming seems to work, but I doesn't know if it's the standard... so I'm researching a bit more. If you have some ideas on how to fix those, please send. I doesn't expect to commit anything soon, but let me know as fast as you can so I can test it here. I successfully made the entire web interface i18n-able. I solved the issues from filenames using latin-1 from incoming data. Any interest in testing, please mail me. I'm using modem right know so I will not upload it right now. Okay, here's the diff: http://gsbarbieri.sytes.net/freevo/web-i18n.diff.bz2 But it doesn't contain any i18n/ file, so please run python setup.py i18n then translate messages to your language and then run ./autogen.sh... Now you can install freevo. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Some problems - 2004-02-13
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: Hello guys, I'm implementing MPAV (MPlayer Audio Visualization, http://gsbarbieri.sytes.net/mpav/) but I found some issues: - childapp.py: Sometimes poll() is called before the child __init__() is finished, so many times it breaks because there's no t1 or t2 attributes (isAlive()). I solved this declaring ready=False as class attribute and setting it to True at the end of __init__(). Then isAlive() must check if it's ready. It's the right solution? No, I guess we should better find out why this happens. Do you use ChildApp or ChildApp2? For ChildApp2 this shouldn't happen because there is not thread to be a problem at this point. I'm using ChildApp2. I don't know its internals, just based my usage on video/plugins/mplayer.py The problem is that sometimes it breaks in isAlive(), which looks for .t1, which is not available. Browsing the code I see it's only created in ChildApp, which is inherited by ChildApp2 so the problem could just be there... To figure it out I put prints in the begin and end of the constructor and one in isAlive, together with a traceback.print_stack(). Then I see Constructor started. isAlive() called from poll(). Constructor ended - The second issue is with stop_osd. I need to stop the osd, since my app uses SDL and can display in framebuffer and dxr3. I'm using ChildApp2 and leave stop_osd=2, so it must stop the osd when OSD_STOP_WHEN_PLAYING=1 but instead of just stop the osd, it exits and leaves mplayer playing! add some 'print' debug to see why. What do you mean with 'just exits'? Freevo stops? Yes, freevo stops. Quit. The only 'python' thread left is the one that called mplayer. NOTE: I don't have LIRC, just the keyboard. Maybe it relies on LIRC thread or something? About prints, where I should put them? Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Some problems - 2004-02-13
Hello guys, I'm implementing MPAV (MPlayer Audio Visualization, http://gsbarbieri.sytes.net/mpav/) but I found some issues: - childapp.py: Sometimes poll() is called before the child __init__() is finished, so many times it breaks because there's no t1 or t2 attributes (isAlive()). I solved this declaring ready=False as class attribute and setting it to True at the end of __init__(). Then isAlive() must check if it's ready. It's the right solution? Patch: Index: src/childapp.py === RCS file: /cvsroot/freevo/freevo/src/childapp.py,v retrieving revision 1.49 diff -r1.49 childapp.py 132c132 --- ready = False 223c223,225 --- self.ready = True 246a249,250 if not self.ready: # return true if constructor has not finished yet return True 247a252 - The second issue is with stop_osd. I need to stop the osd, since my app uses SDL and can display in framebuffer and dxr3. I'm using ChildApp2 and leave stop_osd=2, so it must stop the osd when OSD_STOP_WHEN_PLAYING=1 but instead of just stop the osd, it exits and leaves mplayer playing! What I should do? I'll commit my code later tonight, but first I want to be sure about childapp. Also, if someone is good with Threads, please take a look at MPAV source, try to optimize it and to find possible dead locks. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Problems 2 - 2004-02-13
Hello, More problems, now trying to fix web interface. I tried to use gettext there, but I need to get gettext to use unicode, else I get weird chars... but then it becomes a real mess! I'm quite lost! Changing gettext to use unicode was easy, but many sources use print _(...), but many languages uses non-ascii chars and it returns in unicode - BOOM! Solution: use String(_(...)). It was easy to convert. But when it come to web interface, what a pain! I have filenames in UTF-8, but reading them raw breaks (UnicodeError), having them unicode and the passage between pages breaks it. Using encoding('latin-1') from incoming seems to work, but I doesn't know if it's the standard... so I'm researching a bit more. If you have some ideas on how to fix those, please send. I doesn't expect to commit anything soon, but let me know as fast as you can so I can test it here. Gustavo __ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/share/images/gant - New directory
--- Aubin Paul [EMAIL PROTECTED] escreveu: Well, is someone making an alternate stylesheet? Not yet. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] logo (was: Some more web ideas...)
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Hi, Aubin Paul wrote: I've commited the new web interface, but I felt kind of bored with the old logo (no offense to the designer) so I made a slightly different one which I'm using for my blurr splashscreen I think this should be the time to discuss a Freevo logo. We have one on the hompage (the old webserver logo), one in most skins (logo) and also one used by Gustavo (logo_david). Now we have a new one. I guess we should decide what logo should be the official freevo logo. sure! Right now I prefer the new logo from Aubin, only that I don't like the Font used for the Text Home Theatre PC Platform. But if someone else has a nice idea, please send it. I vote Aubin's. Aubin: about your new splashscreen: is there a reason why you didn't make the logo transparent to make the background visible? And what about adding the different logos from user programs at the bottom again? Yes, I agree with dischi. And, what about a skin with the colors in the splashscreen? I really liked it! Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: AW: [Freevo-devel] logo (was: Some more web ideas...)
--- Jan Grewe [EMAIL PROTECTED] escreveu: Sorry for being a showstopper, but i think choosing a official logo from those logos seems ... Too fast? I like the first logo more than the new one, it looks more classy! If you're getting _that_ serious searching a official logo, i'll whip up all my photoshop skillz, maybe there's something interesting in the end... What about a vote for the logo, maybe even on the webpage, and maybe maybe even with a little competition (no prizes, though), i think there a lot of people, who check the webpage but no the mailing-lists, who have GREAT graphic skills! The idea is good, but I don't think there are many designers out there. We really need one to work with us, so if you know one or is one, please help. We could open a poll for the logo and another for skins. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Some more web ideas...
--- Aubin Paul [EMAIL PROTECTED] escreveu: I've commited the new web interface, but I felt kind of bored with the old logo (no offense to the designer) so I made a slightly different one which I'm using for my blurr splashscreen, and also for the local copy of the web interface... thoughts or ideas? Kinda yahoo!, but I really liked it! Again, thank you! Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Web Interface problems using Unicode
Hello, Guys playing with the web interface: There are some unicode problems right now, when using unicode names, like in local_conf.py to provide path or some string (ie: AUDIO_ITEMS) the whole page is converted to unicode and Twisted spit out a error message saying it expected a string (str) but received something different (unicode). Better to use UTF-8 as our document style (?xml ...) and then convert things to it (some_string.encode( utf-8 )). Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/share/images/gant - New directory
Aubin, Could you code an interface to read all CSS from some dir and them use them as alternative stylesheets: link rel=alternate stylesheet media=screen type=text/css title=SOME TITLE href=/path/to/styleX.css / And maybe let user to choose the default stylesheet? It would be really cool! Gustavo --- Aubin Paul [EMAIL PROTECTED] escreveu: You're right... I should have dug deeper. Looks like it works... So, I just wanted to see if I have to the go ahead to commit the new web interface... Short changes list: * Removed as much of the embedded design as possible, 99% is in CSS now * Converted most tags to XHTML 1.0 standard * Changed layout tables into CSS; content tables are still there * Respect the user configuration on time display * Added lots of placeholder tags so the design can be altered pretty substantially without touching the code. (This means using span/div/etc. where possible and using 'display: none' if it's not in *my* design, but might be used by someone else. * Many minor cosmetic changes On Mon, Feb 09, 2004 at 12:23:34PM +0100, Dirk Meyer wrote: Aubin Paul wrote: So icondir = os.path.join(config.ICON_DIR, 'status') has ICON_DIR based on the skin? No, that code needs to be changed. config.ICONDIR is the normal share/icons. Were even that code is, it should _not_ set an icon dir variable. There is the function skin.get_icon(name): | icon = util.getimage(os.path.join(self.settings.icon_dir, name)) | if icon: | return icon | return util.getimage(os.path.join(config.ICON_DIR, name), '') but I also see that there is a wrapper in area.py if you use loadimage (or drawinage with a filename): | if image.find(config.ICON_DIR) == 0 and image.find(self.settings.icon_dir) == -1: | new_image = os.path.join(self.settings.icon_dir, image[len(config.ICON_DIR)+1:]) | if os.path.isfile(new_image): | image = new_image So yes, maybe it already works if you put stuff from icons/foo/bar.png to icons/themes/blurr/foo/bar.png Dischi -- There can't be a crisis today, my schedule is already full. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/share/images/gant - New directory
--- Aubin Paul [EMAIL PROTECTED] escreveu: Wouldn't a config directive work or something? Because showing a configure window is a bigger project... Aubin I thought something simpler. First we could just add one alternative stylesheet tag per file in some dir, ie: /styles, then we could have some option in local_conf.py to select one as the default. Later, if there is demand for it, we could add some config screen. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] thoughts.
--- Aubin Paul [EMAIL PROTECTED] escreveu: True... though there will be warning if we change the default, in the sense that it will accompany a pretty significant release with lots of other changes... and the old behaviour will always be available for those who want it. Personally, I don't mind which is the default, as long as both options are there I can configure things the way I'd like. I do admit the left/right stuff and pgup/pgdown stuff is more intuitive the new way we're talking about Since dischi, even liking the old navigations key most, changed the behaviour to now enter/go-back in menu with right/left arrows, we should also make the new behaviour the default and warn users (put it in the release note). Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: AW: [Freevo-devel] thoughts.
We should put in the release note something like: New navigation keys X, Y, ... Gustavo --- Jan Grewe [EMAIL PROTECTED] escreveu: But make sure that you warn them with something else than just a log message, not everybody looks in the log, by default you shouldn't ever look in the log, right? ;-) /jan -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Gustavo Sverzut Barbieri Gesendet: Freitag, 6. Februar 2004 11:08 An: [EMAIL PROTECTED] Betreff: Re: [Freevo-devel] thoughts. --- Aubin Paul [EMAIL PROTECTED] escreveu: True... though there will be warning if we change the default, in the sense that it will accompany a pretty significant release with lots of other changes... and the old behaviour will always be available for those who want it. Personally, I don't mind which is the default, as long as both options are there I can configure things the way I'd like. I do admit the left/right stuff and pgup/pgdown stuff is more intuitive the new way we're talking about Since dischi, even liking the old navigations key most, changed the behaviour to now enter/go-back in menu with right/left arrows, we should also make the new behaviour the default and warn users (put it in the release note). Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] [WATERMARK FOR GAMES MENU]Watermarks for games
--- [EMAIL PROTECTED] escreveu: Here i a small watermark useful for the optionnal games menu. If you want, you can upload it in Freevo under share/images/watermarks And modify the skin info.fxd at the 'games' line. It's cool, but doesn't fit in any of our skin visual :( Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Non-Latin1 characters in Freevo
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: Hello, Just commited the necessary changes to support non latin-1 filenames. It Works-For-Me (TM) using LANG=pt_BR.UTF-8 and non-ascii (portuguese) chars so it should work with others, please test. I just tested the Video, Audio and Image modules, 'cause I don't have games/commands modules, so if you have it and uses non-ascii chars, please test. I can't test it right now, but I also had the idea to do it. So you've done it, great. But I guess we need some testing, because I know there are some bad things in the string/unicode world: Yes, they're... If you check the cvs logs you see my changes are very punctual, but I spent a lot of time making it work... and discovering where it breakes... as you mentioned below, it generally breaks when doing str(), cause python uses ASCII as default encoding. One possible solution is to keep it unicode as far as possible and when we need to make it a string, we should use some testings, like: if type( possible_string ) == unicode: s = possible_string.encode( utf-8 ) or something else, like latin-1. I'm for using utf-8 to output since it works everywhere, given you have the font. The default encoding in Python 2.3 is 'ascii'. You can't change that. If you have a string (when I say string, I mean str()) which non ascii chars (e.g. latin-1), Talking to people in #python I discovered a package called site which let you change it. But from what I understand, it changes the whole system, not just the program. you can't just run unicode(mystring), it would cause an UnicodeError, because Freevo want's to use the 'ascii' encoding. The correct way is unicode(mystring, 'latin-1') or in our case replace latin-1 with config.LOCALE. Now we have config.encoding, which uses (in order) FREEVO_LOCALE, LANG and LC_ALL. It contains the second element in the pair: LANGUAGE.ENCODING. If you want freevo to use UTF-8 (my case), just do: FREEVO_LOCALE=pt_BR.UTF-8 freevo Now we can keep all internal strings as unicode. But the problem is also the way back. Yes. And I would apreciate if you devs look at my changes and check if I'm converting it to string (.encode(...)) when we could keep it unicode. Some functions like os.X want string objects. You can pass string objects with non ascii characters, no problem, _but_ if you pass unicode objects with non ascii in it, it will use the default encoding (ascii again) and will raise an UnicodeError again. If you use os.listdir( u'string' ) it returns (if possible, if not it returns a string. must check. I did it one place, maybe we need to check others too) a list of unicode objects. Others like statvfs doesn't, so you need the .encode( ... ) The major problem I see is with metadata. I saw that ogg uses utf-8 internally, but if others don't it will become a real mess, since the metdata probably come from the internet and then you have no way to guess what encoding to use. You did the starts changing all internal strings to Unicode, great. But we should search for the following stuff: Every string sthat goes into Freevo must be Unicode. If it comes from fxd files, this is no problem because the xml parser uses unicode. On the other hand, we have directory listings, you convert them to Unicode. I had some bad problems with that, let's see if you implementation works better than my first draft. Second is the outgoing. Every function needed a string, should get an Unicode object converted with the current locale. I read about unicdoe version od all os operations, but I couldn't find them. I always use .encode() It will need some time to convert all parts of Freevo. This you use even non Latin-1 (what charset is it?), we should be able to trace all the bugs. But I expect Freevo to be unstable because of this for at least 2 weeks. But it had to be done sooner or later, so good work. My charset could be considered latin-1 (iso8859-1), but contains chars outside ASCII range, and as I'm using utf-8 as my encoding it becomes 2 byte long... when you transform it to ascii it becomes two weird chars... I commited it soon so people could test. I don't use freevo daily and have few non-ascii filenames/metadata, so I can't test it much more. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Version 1.5 Roadmap... Revisited
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: --- Aubin Paul [EMAIL PROTECTED] escreveu: Just thought we should follow up on this roadmap to see where we are. Items 1 and 2 are done... The background work for 3 and 4 are done but I still think we should wait for 1.5 to be done before integrating them. I don't think so... if there's no outstanding bug in 1.4.x, we can wait a little more and get this with 1.5... (I'm supposing that won't take too much time, since the backend is ready) Agreed. But for 1.5 I would start with a pre release, marked as unstable. Save users should only switch to the final 1.5, which will need some time (code freeze, rc releases to hunt bugs). Ok. A prerelease would be cool, so users can give some feedback to changes like the unicode one... Perhaps we should do a release candidate? The only thing I would like to see is configurable support for the CHUP/CHDOWN stuff Gustavo and I were talking about. Configurable support is good and probably easy using events... (dischi?) I liked the old way. So I would like to have an option in config to set the LEFT/RIGHT stuff back to the way it was. Sorry. I did feel it was more usable that way. You can still have the chan+/- to go one screen down. As of right now, I have no outstanding issues that I'm aware of... I am. Still our biggest point on the wish list and a real show stopper: manual record. Not everyone has xmltv listings! What's the problem to get manual record working right now? We really need to state a deadline to code, since I've just submitted changes to use unicode internally and rshortt said (on IRC) that he's playing with PyUI to replace (finally!) our GUI, but he said it will take some time. We should focus on making things stable right now. I have some smaller things on my todo list (some stuff in the mediainfo code isn't finished). Ok. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Prob with System Encoding
--- Jan Grewe [EMAIL PROTECTED] escreveu: I have this message in my log when i start freevo: WARNING:Could not determine system encoding! Did look in FREEVO_LOCALE, LANG and LC_ALL environment variables for 'l anguage.encoding' pair, but nothing found! Using ascii What do i have to set to make it go away? Our first tester :D It uses one of the 3 environment variables to determine your system encoding: FREEVO_LOCALE, LANG and LC_ALL. One of them should be set with a pair: language_code.encoding, in your case de.UTF-8, since your filename have utf-8 chars (\xe4 == ä). FREEVO_LOCALE=de.UTF-8 freevo should do. BTW, before you got weird chars when displaying that filename? I think it's responsible for those: snip Yes. It's. Maybe we should default to latin-1 instead of ascii? At least it will avoid those crashes... but only for latin-1 based files... however people in russia and others will keep with problems... BTW, I thought the message was very verbose, but it didn't work for you. Could you suggest a better message so users can figure out and set those environment vars? Maybe: WARNING: Could not determine system encoding! Please set FREEVO_LOCALE, LANG or LC_ALL to have your system encoding. For example, Deutsch users with UTF-8 filenames should do export FREEVO_LOCALE=de.UTF-8 before running freevo. ?? Oh, and PLEASE let me choose in the config if i want that new UP/DOWN/LEFT/RIGHT choosing/selecting . i like the old way much more! That's my bad (also :() Dischi will work on this. But, why didn't you like the new way? You can still go one screen up/down using CH+/-. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Crash on Detach
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Jan Grewe wrote: Lalala, again ;-) Yep, Gustavo moved the internal stuff to Unicode. I guess there is a check if it's a string somewere. But now it is no string, it's a Unicode and this fails. I guess with the latest Unicode changes Freevo moves to very unstable for non ascii people. Strings don't have the .get_width() method, so it's not related to unicode. Maybe it expects a image and receives a string... then it would crash even with str. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Prob with System Encoding
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Jan Grewe wrote: I have this message in my log when i start freevo: WARNING:Could not determine system encoding! Did look in FREEVO_LOCALE, LANG and LC_ALL environment variables for 'l anguage.encoding' pair, but nothing found! Using ascii maybe we should use latin-1 as default? YES Gustavo we should make sure that EVERY string in Freevo works. We Gustavo should wrap the encoding stuff. Better remove some chars you Gustavo can't encode than crashing. If we use latin-1 as default encoding, it will remains the old behaviour. But yes, we can use the 3rd parameter (errors): s = unicode( s, config.encoding, replace ) and: s = s.encode( config.encoding, replace ) I'll commit those changes if you agree. File /usr/lib/python2.3/site-packages/freevo/util/fileops.py, line 192, in totalspace s = os.statvfs(path) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 24: ordinal not in range(128) This is what I was afraid of: path is unicode, python uses 'ascii' to convert and boom! This only happens when you use the ascii stuff. In fileops i have the code to convert it to string using .encode(), but he was using ascii so it crashed and remained as unicode, then python did itself the conversion and bbo. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Non-Latin1 characters in Freevo
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: Yes, they're... If you check the cvs logs you see my changes are very punctual, but I spent a lot of time making it work... and discovering where it breakes... as you mentioned below, it generally breaks when doing str(), cause python uses ASCII as default encoding. One possible solution is to keep it unicode as far as possible and when we need to make it a string, we should use some testings, like: if type( possible_string ) == unicode: s = possible_string.encode( utf-8 ) We should check were we need it and wrap this functions. We only need it when outputing from Freevo and our outputs are 1. the _debug_ function, 2. some stuff in osd.py and 3. calling Python functions, most of all the os-calls. Right now it seems to break here and there. Yes. I code a util/unicode.py with str2unicode and unicode2str, that uses config.encoding, so you don't have to pass it everytime. it works everywhere, given you have the font. The default encoding in Python 2.3 is 'ascii'. You can't change that. If you have a string (when I say string, I mean str()) which non ascii chars (e.g. latin-1), Talking to people in #python I discovered a package called site which let you change it. But from what I understand, it changes the whole system, not just the program. Yes, in site.py is a variable to set the locale. But it's fixed to 'ascii' and a warning about changing it. yes :( you can't just run unicode(mystring), it would cause an UnicodeError, because Freevo want's to use the 'ascii' encoding. The correct way is unicode(mystring, 'latin-1') or in our case replace latin-1 with config.LOCALE. Now we have config.encoding, which uses (in order) FREEVO_LOCALE, LANG and LC_ALL. It contains the second element in the pair: LANGUAGE.ENCODING. If you want freevo to use UTF-8 (my case), just do: FREEVO_LOCALE=pt_BR.UTF-8 freevo Also try config.LOCALE. We use it very often, so we not reuse a variable. I'll Now we can keep all internal strings as unicode. But the problem is also the way back. Yes. And I would apreciate if you devs look at my changes and check if I'm converting it to string (.encode(...)) when we could keep it unicode. Maybe we should create our own object. This whole enocde, decode, unicode() stuff is making me crazzy. And it looks gad in the code if we encode and decode all the time. class freevostring: def __init__: creates a string and converts it to unicode internaly def __str__ returns the string as str() But are there member functions like __unicode__ and __add__ (for x + y)? We would need that. Maybe inherit from Unicode and only fix the str() function inside that? As I said above, I did the str2unicode and unicode2str, but that's a better approach. If you use os.listdir( u'string' ) it returns (if possible, if not it returns a string. must check. I did it one place, maybe we need to check others too) a list of unicode objects. Others like statvfs doesn't, so you need the .encode( ... ) Yes, IMHO it's very ugly to encode and decode all the time. That's very bad in Python right now. very bad is that there's no easy way to change site encoding :( The major problem I see is with metadata. I saw that ogg uses utf-8 internally, but if others don't it will become a real mess, since the metdata probably come from the internet and then you have no way to guess what encoding to use. All data coming to freevo needs to be converted to unicode if they are string. And we should always make sure there will be no UnicodeError ever! sure. I commited it soon so people could test. I don't use freevo daily and have few non-ascii filenames/metadata, so I can't test it much more. I will try which German Umlauts (äüöß) Ok, we need it. BTW: please check vfs, since most of strings comes from there, fixing there should fix everywhere. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Prob with System Encoding
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: Oh, and PLEASE let me choose in the config if i want that new UP/DOWN/LEFT/RIGHT choosing/selecting . i like the old way much more! That's my bad (also :() Dischi will work on this. Better you do this, you know better were you changed stuff. Ok, I do. I just changed menu.py, it checks for MENU_LEFT, MENU_RIGHT and others. But I don't know how to make it configurable since I don't know the event system. Maybe there's a way to define MENU_PAGEDOWN and then associate LEFT, RIGHT, CH+, CH- and possible other input with that action? Also, how to have conditional keys? I mean, LEFT should work one way if it's in single column mode and other way if it's in multiple column mode... Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Non-Latin1 characters in Freevo
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Hi, I was just wondering: why are we doing this at all? I mean, we get a dirlisting. This is something, maybe Unicode, maybe not. If we convert it to Unicode and than back to add to the os functions, maybe we even break the string. Proposal: we don't change our filesname to string. We don't change them at all. listdir gives us the names as the filenames know them. If it is unicode, we ony need to transform the filename to Unicode when we create the item name from it, right? Right. Proposal accept :D Your implementation now works here. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: AW: [Freevo-devel] Prob with System Encoding
Hi Jan, Dischi and I are working on encoding problem... it's real mess right now. If you want to take part and help debug go to IRC, server irc.freenode.net, channel #freevo About the navigation stuff, I'll take a look at it later Gustavo --- Jan Grewe [EMAIL PROTECTED] escreveu: Our first tester :D Unfortunately, yes ;- It uses one of the 3 environment variables to determine your system encoding: FREEVO_LOCALE, LANG and LC_ALL. One of them should be set with a pair: language_code.encoding, in your case de.UTF-8, since your filename have utf-8 chars (\xe4 == ä). FREEVO_LOCALE=de.UTF-8 freevo should do. BTW, before you got weird chars when displaying that filename? Sorry, that didn't work, i tried de.UTF-8 and de_DE.UTF-8, but i still get the error! The characters like ä/ö/ü where displayed correctly before (and still now, except when i select an item with a character like that in it, then = crash) Yes. It's. Maybe we should default to latin-1 instead of ascii? At least it will avoid those crashes... but only for latin-1 based files... however people in russia and others will keep with problems... BTW, I thought the message was very verbose, but it didn't work for you. Could you suggest a better message so users can figure out and set those environment vars? Maybe: WARNING: Could not determine system encoding! Please set FREEVO_LOCALE, LANG or LC_ALL to have your system encoding. For example, Deutsch users with UTF-8 filenames should do export FREEVO_LOCALE=de.UTF-8 before running freevo. I knew what the message should tell me, but on the one hand i didn't know where to set it (local_conf.py?) and on the other hand i didn't know which encoding would be the correct one! That's my bad (also :() Dischi will work on this. But, why didn't you like the new way? You can still go one screen up/down using CH+/-. My remote has a 5-way button, so i mapped everything to this ... And i think you should let the user switch between the old style and the new, not force-feed him the new and only give him the option to use the old! Let them use it the old style, but give the option of switching to the new one Gustavo /jan __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Player Window redesign...
--- Aubin Paul [EMAIL PROTECTED] escreveu: I decided I wanted to see something a little different for the player screen in my skin, so I made some changes and I'm hoping to hear what other people think: http://freevo.sourceforge.net/preview/playerrevised.jpg I still like the previous one more. IMHO there is not the place to use that frame... and you don't use it anywhere, so using there breaks the visual. Maybe if you use it elsewhere then you can use it there, but IMO you should change the shape, maybe something like the current player or something even better. BTW, something totally off your skin: it would be cool if someone develop a 3d inflated skin, with the player looking with volume, menus idem... it will kick ass :D BTW2, I was in beach last weekend and take some pictures, it's too beautiful I'm thinking about a Brazilian Beach skin... Maybe I put something together in next weekend, what do you think about that? Would a skin based on photos be cool? Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Player Window redesign...
It doesn't look that weird, but it breaks the visual. Maybe it's better you keep 2 skins, blurr2 and blurr2-frames... ? (not sure also :( ) Gustavo --- Aubin Paul [EMAIL PROTECTED] escreveu: I thought it worked because it was a full screen player, so changing the frame in that one location doesn't seem too weird. Gustavo Sverzut Barbieri wrote: --- Aubin Paul [EMAIL PROTECTED] escreveu: I decided I wanted to see something a little different for the player screen in my skin, so I made some changes and I'm hoping to hear what other people think: http://freevo.sourceforge.net/preview/playerrevised.jpg I still like the previous one more. IMHO there is not the place to use that frame... and you don't use it anywhere, so using there breaks the visual. Maybe if you use it elsewhere then you can use it there, but IMO you should change the shape, maybe something like the current player or something even better. BTW, something totally off your skin: it would be cool if someone develop a 3d inflated skin, with the player looking with volume, menus idem... it will kick ass :D BTW2, I was in beach last weekend and take some pictures, it's too beautiful I'm thinking about a Brazilian Beach skin... Maybe I put something together in next weekend, what do you think about that? Would a skin based on photos be cool? Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] thoughts.
--- Chris Griffiths [EMAIL PROTECTED] escreveu: The tivo menu system is very fast once you get used to it. Pretty all navigation can be done via just the arrow keys / direction pad. right enters a new menu / selects an option (i.e. play movie). When you're done with the movie left will back you out etc, more lefts will back you up the menu structure. CH+/CH- work as page up, page down. There is a select button, but its very rare that you _need_ to use that rather than the direction keys - one place that springs to mind is the alphabet grid where you select letters to form a name for searching. commited to CVS, src/menu.py, rev. 1.82. Please test it. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] thoughts.
Tivo is really cool. Now (CVS) we support, in single column mode, LEFT to go back and RIGHT to enter menu/play items, but no visual return on that. I don't think it's a problem, since when you get used to it you don't need arrows to explain to you anymore. Gustavo --- Chris Griffiths [EMAIL PROTECTED] escreveu: Here's an animated .gif which shows how tivo indicates if up/down/left/right is appropriate. http://www.tivo.com/i/1.0/1.2_animscreen.gif On Wed, 04 Feb 2004 15:34:26 -0500, Aubin Paul [EMAIL PROTECTED] said: Bold is probably not going to look much different... it's not difficult to do, just change the font definitions, and you're right about the colour, it's not easy to discern low contrast color changes on a low resolution screen. The Tivo idea could work, we could just make a plugin to send ENTER instead of RIGHT since right just jumps to the bottom of the menu right now. Chris Griffiths wrote: Bold? using color alone might cause problems for people who are color-blind. On the tivo you get an arrow next to it if theres a sub-menu to that option, but this only works as all navigation can be done via up/down/left/right (while rules by the way, you just keep your thumb on the joypad-like bit of the remote). On Wed, 4 Feb 2004 08:13:43 -0500, Aubin Paul [EMAIL PROTECTED] said: On Wed, Feb 04, 2004 at 02:04:09AM -0300, Gustavo Sverzut Barbieri wrote: Ok, so maybe colors? Since dirs, pl and files are grouped, colors should suffice. I agree with you that it's too computer-y, but [] and PL are too :( That might work... though the [] seem ok to me... I'm thinking about how I could make the directories/pl files look different without looking weird... I want to use it elsewhere, but I'm going to finish this skin first. See my screenshot for an alternate player I posted yesterday. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] thoughts.
--- Adam Stephens [EMAIL PROTECTED] escreveu: i love the tivo interface. what about page up and down -adam Page up/down was mapped to ch+/- already. what you mean with i love the tivo interface? You want those arrows? IMHO they just bloat the interface... Arrows are useful as in listings to show that there are more items one screen down/up, like freevo is now. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] thoughts.
Really? So change that. Gustavo --- Aubin Paul [EMAIL PROTECTED] escreveu: The way we have that now is something I've never liked. I changed it about a year ago to have CHUP/CHDOWN go page at a time, but everyone else preferred going from the top to the bottom of the list on those keys... You can hit CHDOWN twice to go to the next page now... On Wed, Feb 04, 2004 at 05:55:45PM -0500, Adam Stephens wrote: i love the tivo interface. what about page up and down -adam On Feb 4, 2004, at 17:48, Gustavo Sverzut Barbieri wrote: Tivo is really cool. Now (CVS) we support, in single column mode, LEFT to go back and RIGHT to enter menu/play items, but no visual return on that. I don't think it's a problem, since when you get used to it you don't need arrows to explain to you anymore. Gustavo --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] thoughts.
How, that was a long time ago (15months)... that time we still had the sub menu. Maybe you should ask krister in private if he didn't reply to this thread or even change the behaviour and wait for user comments. Gustavo --- Aubin Paul [EMAIL PROTECTED] escreveu: It was Krister... http://cvs.sourceforge.net/viewcvs.py/freevo/freevo/Attic/menu.py (See 1.31-1.32) Aubin On Wed, Feb 04, 2004 at 11:38:50PM -0300, Gustavo Sverzut Barbieri wrote: Who reversed your change? Could you please ask him and inform that people like the other way most? Gustavo --- Aubin Paul [EMAIL PROTECTED] escreveu: I did it once... it was changed back; so I won't be changing that again... On Wed, Feb 04, 2004 at 11:28:09PM -0300, Gustavo Sverzut Barbieri wrote: Really? So change that. Gustavo --- Aubin Paul [EMAIL PROTECTED] escreveu: The way we have that now is something I've never liked. I changed it about a year ago to have CHUP/CHDOWN go page at a time, but everyone else preferred going from the top to the bottom of the list on those keys... You can hit CHDOWN twice to go to the next page now... On Wed, Feb 04, 2004 at 05:55:45PM -0500, Adam Stephens wrote: i love the tivo interface. what about page up and down -adam On Feb 4, 2004, at 17:48, Gustavo Sverzut Barbieri wrote: Tivo is really cool. Now (CVS) we support, in single column mode, LEFT to go back and RIGHT to enter menu/play items, but no visual return on that. I don't think it's a problem, since when you get used to it you don't need arrows to explain to you anymore. Gustavo --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel __ Yahoo! GeoCities: 15MB de espa?o gr?tis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel __ Yahoo! GeoCities: 15MB de espa?o gr?tis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel __ Yahoo! GeoCities
Re: [Freevo-devel] Version 1.5 Roadmap... Revisited
--- Aubin Paul [EMAIL PROTECTED] escreveu: Just thought we should follow up on this roadmap to see where we are. Items 1 and 2 are done... The background work for 3 and 4 are done but I still think we should wait for 1.5 to be done before integrating them. I don't think so... if there's no outstanding bug in 1.4.x, we can wait a little more and get this with 1.5... (I'm supposing that won't take too much time, since the backend is ready) Perhaps we should do a release candidate? The only thing I would like to see is configurable support for the CHUP/CHDOWN stuff Gustavo and I were talking about. Configurable support is good and probably easy using events... (dishci?) But we must have good defaults and the one you proposed is good enough for me. As of right now, I have no outstanding issues that I'm aware of... We really need to state a deadline to code, since I've just submitted changes to use unicode internally and rshortt said (on IRC) that he's playing with PyUI to replace (finally!) our GUI, but he said it will take some time. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] thoughts.
--- Aubin Paul [EMAIL PROTECTED] escreveu: On Wed, Jan 28, 2004 at 10:00:58PM -0300, Gustavo Sverzut Barbieri wrote: I need to THANK YOU VERY MUCH! Now our skins can attrack more users :D I really like those new icons (and watermark images as well). But some of my previous remarks continues: - Use icons to represent directories, playlists and maybe even files... That [dir] and PL: playlist sucks very hard, IMO :( You're welcome to add that to an inherited skin, but I don't like to use too many icons... file type icons especially make me feel like it's too computer-y instead of sleek which is what I'd want on a TV. Everything looks cluttered, IMHO with icons outside of an image view, and too much like a file manager... I don't want konqueror or Windows Explorer on my TV :) Ok, so maybe colors? Since dirs, pl and files are grouped, colors should suffice. I agree with you that it's too computer-y, but [] and PL are too :( - Change colors/fonts/sizes/font-weight of text in InfoArea. You don't need to put labels there, but make it a little more clear what is the title, what's artist and so on... Well, I'm not sure how to change those... the artist is big, the album is a little smaller than the artist and the rest are about the same. The rest is ok, problem is between album artist. Maybe colors? BTW, I'm suggesting colors but I'm not good with them :( It's just an idea, I have no clue on what color to use Another thing, now quite personal thing, i want to see more things like the frame in WeatherPlugin, maybe around InfoArea and I would like to see some menu selection extrapolating off the screen (just like the Music Player does in the both left/right sides). I want to use it elsewhere, but I'm going to finish this skin first. Good. Gustavo __ Yahoo! GeoCities: 15MB de espaço grátis para criar seu web site! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Preview updated...
--- Aubin Paul [EMAIL PROTECTED] escreveu: I've updated my screenshots of the 1.5 version of Freevo... o New arrow icons match the rest o Fixed the padding around album covers o Moved the detachbar to the top of the screen. o More space on the screen for listing/info/etc. with the old detachbar removed. o A different set of photos in the Image Viewer so you can see the watermark. o My cleaned up station icons in the TV Guide (wrote a quick script in my image editor to resize the images to 10:4 ratio) Thoughts? They look even better! My previous complaints goes on, though. :) Maybe if you find out some cool icons for dirs and playlists (like the ones you're using) I could make an alternative skin. About the tvguide images, maybe that script could remove the white color (turn it transparent)? But maybe it doesn't look good 'cause the anti-alias (light-red in the cnn case) will make it strange, in that case, leave it as is. Gustavo __ Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] thoughts.
--- Aubin Paul [EMAIL PROTECTED] escreveu: I made a small set of preview screenshots to show some of the neat stuff in Freevo 1.5 (?) and I'd like to announce it on the website, but thought I'd run it by the other devs first: http://freevo.sourceforge.net/preview/ I didn't take shots of any other skins since I just wanted this to be a sort of mini-feature tour. When we're ready to do a release, I'll do a set of screenshots for the Noia skin as well. I need to THANK YOU VERY MUCH! Now our skins can attrack more users :D I really like those new icons (and watermark images as well). But some of my previous remarks continues: - Use icons to represent directories, playlists and maybe even files... That [dir] and PL: playlist sucks very hard, IMO :( - Change colors/fonts/sizes/font-weight of text in InfoArea. You don't need to put labels there, but make it a little more clear what is the title, what's artist and so on... Another thing, now quite personal thing, i want to see more things like the frame in WeatherPlugin, maybe around InfoArea and I would like to see some menu selection extrapolating off the screen (just like the Music Player does in the both left/right sides). There are alt-tags but no captions yet... No problems with captions, it's [almost] clear enough what is what. Wonderful job! Gustavo __ Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Movie thumbnailing error
--- Dirk Meyer [EMAIL PROTECTED] escreveu: return image != self.image UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 62: Not again :-( I hate this unicode/string stuff. Can you send me the exact filename please. build if i.id() == selected_id: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 7: ordinal not in range(128) And this filename, too please. I'm using utf8 in my fs and as I'm brazilian I have some chars that break it too, like á(aacute;). When it doesn't break, it display wrong chars in menus. I'll work on this later. The solution seems to understand the LC environment variables and then encode() to fix it. A better solution would be to work with utf8 internally and convert every item to it. Gustavo __ Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Movie thumbnailing error
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Gustavo Sverzut Barbieri wrote: I'm using utf8 in my fs and as I'm brazilian I have some chars that break it too, like á(aacute;). When it doesn't break, it display wrong chars in menus. I'll work on this later. The solution seems to understand the LC environment variables and then encode() to fix it. A better solution would be to work with utf8 internally and convert every item to it. I have some problems with utf-8 chars, e.g. a character outside the 128 Bit range, but a valid latin-1 char couldn't be transformed to unicode using encode. But print worked. So I can only say: good luck, you need it. yes, I really need it! Today I spent half day debugin unicode + utf8 in a PyQT tutorial I'm trying to make, so I can teach some friends how to develop rapid GUIs using Linux. Man, it's quite hard to understand the logic. But you need the codecs, unicode( string, utf8 ), unicode( string, latin-1 ), and stuff. But you need to know how the data was encoded so you can transform it to unicode. Example: Save a file file_iso8859-1 with iso8859-1 chars. Then run the following code: f = open( file_iso8859-1, r ).read() print f print unicode( f, iso8859-1 ) If you use an unicode terminal you'll see the first line with weird chars, and the second line as expected (the chars converted to unicode). Gustavo __ Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Re: Metadata
--- Dirk Meyer [EMAIL PROTECTED] escreveu: Hi, I just finished a file called metadata.py. This file includes a basic Info class, all items should use as item.info. This Info includes mmpython info, not saved variables (like variables parsed from fxd files) and saved variables for this item. Right, you can now save any kind of information for an item, as long as it's based on a file or a disc. It's not possible to store informations for created items like movies from fxd files. I will think about how to add it. How does it work? Similar to the mmpython cache (which is now inside freevo), the data will be stored in the parent directory in the overlay in a file called freevo.cache. This is pickled data, you can't read it. As example I converted the AudioParser. It now doesn't write folder.fxd files, it adds the info the the freevo.cache file. This is a better solution, because now you can have two kinds of audio information: one in the cache written by the parser and the second in the folder.fxd. In most cases, you don't need the folder.fxd anymore. Delete it (makes it faster). If e.g. the album information is wrong, you can set the information in a folder.fxd to the correct value. So basicly: folder.fxd for something I write, the cache file for something a script writes. Simple as that. But there is more: two more examples are the auto bookmark (adding resume to the video item menu) and the video variable 'deinterlace'. This informations are now stored inside the freevo.cache. So if you like, you can also store 'last played'. I'll test it as soon as I go home. In the mean time, you could use it to remember last image rotation. If one rotates the image in image viewer, it should stay that way when he return. Gustavo __ Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis! http://br.geocities.yahoo.com/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel