On Nov 04, Davide Alberani <[EMAIL PROTECTED]> wrote: > Movie instances have the character.currentPlayer attribute,
U-TURN: forget about it: currentPlayer is dead, long live to currentRole. :-) I've removed currentPlayer attribute from Movie objects; now _everything_ is managed by the good old currentRole attribute. Maybe it's not too intuitive, but will make client-side code _much_ easier to write. Now movie.currentRole can be a Character instance (if set parsing the filmography of an actor/actress) or a Person instance (when parsing the "filmography" of a character). The code in the CVS is uuugly, but I hope to improve it in the next days (documentation is still lacking). I think there's hope for a nice and working support for characters. :-) > - the utils.modifyStrings and helpers.makeModCGILinks functions now > take another parameter to handle characterRefs; this breaks > client-side code. Fixed: old code should work. -- Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel