Donate Share

PyKaraoke

File Release Notes and Changelog

Release Name: 0.4

Notes:
All modifications for v0.4 have been kindly contributed by Will Ferrell.

This release introduces several small changes and improvements. pycdg.py 
now accepts several command-line options; run "pycdg.py --help" to see a
full list. You can now specify the width and height of the output window,
and specify its position on the screen. You can now also start the output
window in fullscreen mode. Finally, the desired maximum frames per second can be specified on the command line.

Other cosmetic changes include adding a key binding, [Q], to quit the 
player immediately (the [ESC] key binding for this remains as well), and 
hiding the mouse cursor when it's inside the player window (or entirely 
when the player is full screen).


Changes: * Use optparse to support additional command-line options (optparse is included in Python 2.3 and newer, on all standard Python-supporting platforms); run "pycdg.py --help" to see a full list of supported options. * Permit user to specify window's starting X and Y positions * Permit user to specify window's starting X and Y sizes * Permit user to start the player in fullscreen mode * Permit user to specify FPS on command line, defaults to 60 * Pass cdgPlayer.__init__() an "options" object now instead of a filename; contains size_x, size_y, pos_x, pos_y, fullscreen, cdgFileName * cdgPlayer.run(): it's pedantic, but use self.Close() instead of setting self.State manually * Add key binding "q" to exit ([ESC] still works) * Hide the mouse cursor (both in fullscreen and in windowed mode) * Fix "Frames Per Second" so it's honored (previously it was ignored because curr_pos wasn't always updated as often as needed) * Change order of import statements so local versions of pygame, Numeric can be picked up if present. * Check for all mixed-case cases of matching audio files (mp3, ogg) * Misc. tab/spacing fixes in "constant" definitions