Am Dienstag, 07. Oktober 2008 22:13:33 schrieb Duncan Webb: > Hans Meine wrote: > > Am Dienstag, 07. Oktober 2008 17:45:35 schrieb Duncan Webb: > >> - ('MPLAYERVIS_FULL_MPLAYER_ASPECT', '4:3', > >> "Aspect ratio of the visualization widget in fullscreen mode.. Must be > >> one of '4:3' or '16:9'") > >> [...] > >> + > >> ('MPLAYERVIS_FULL_MPLAYER_ASPECT', '4x3', > >> + "Aspect ratio of the visualization widget in fullscreen > >> mode.. Must be one of '4x3' or '16x9'") ] > > > > Hmm. I prefer the first syntax - couldn't one retain the old config > > values and simply .replace that in Python code? (How old is this config > > key? If no users are likely to be affected, I don't really care.) > > I don't disagree with you about the syntax. The problem I encountered is > that the avi file names are directly linked to the format and when I was > on a Windows box the code wouldn't check out.
My thought was that a better fix would have been to compose the filename not with config.MPLAYERVIS_FULL_MPLAYER_ASPECT directly, but with config.MPLAYERVIS_FULL_MPLAYER_ASPECT.replace(":", "x"). Greetings, Hans ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel