MythPyWii Bugfixes and Enhancements

Software Bugs

Image by FastJack via Flickr

I’ve just updated MythPyWii to handle the connection to Mythfrontend more smoothly, and to give feedback via the wiimote on error/disconnect. (i.e. if myth closes, the wiimote shakes, and the LED pattern changes to [ . # # . ] instead of [ # . . # ] just before the wiimote turns itself off). This means if there are issues connecting to Mythfrontend you can retry again simply by pressing 1&2 once more (fix any issues first though – e.g. closed mythfrontend/no remote interface enabled).

I’ve fixed a little bug with timestretching, and have also improved the timestretch responsiveness by emulating not just the left/right keys but also the up/down keys (which increase/decrease timestretch by 0.25 instead of just 0.05).

As always, download the latest version of MythPyWii here.

Ah hah, an update to Zemanta has just been released! Integration with Facebook and Flickr, eh? I best sign up for a Flickr account then, I suppose… Argh! They seem to have broken images with my theme – I fixed it by adding this CSS to my theme (copied from firebug):

.alignright { float:right; } .wp-caption { -moz-border-radius-bottomleft:3px; -moz-border-radius-bottomright:3px; -moz-border-radius-topleft:3px; -moz-border-radius-topright:3px; background-color:#F3F3F3; border:1px solid #DDDDDD; margin:10px; padding-top:4px; text-align:center; }

Reblog this post [with Zemanta]

Tags: , ,

Bookmark and Share

4 Responses to “MythPyWii Bugfixes and Enhancements”

  1. AdamBomb42x Says:

    Should MythPyWii work in MythVideo? It works when watching DVDs, but not when I’m watching a video. Have I done some thing wrong, or is because MPW doesn’t communicate with mplayer?

  2. Benjie Says:

    The latter. However you can circumvent this by using the Internal player to play most video formats. It’s not default, but it works great for me for most formats. Here’s how to do it:

    Open up the file types config within MythTV (for me it is at “Utilities/Setup > Setup > Media Settings > Videos Settings > File Types”)
    Change the “Extension” so that it has the video extension you want to play selected (e.g. “avi”).
    Change the command to “Internal” (capital I, no quotes)
    DISABLE “Use default player” and disable “Ignore”
    Done.

    Now your videos should play through MythTV’s internal player. You may find that not all video formats will do this, but the Internal player supports more formats all the time.

  3. alister Says:

    Problem (& fix) with mythpywii

    tryig to use the current version of mythpywii on a fedora 12 system once the remote connects I get the following error:

    TypeError: wmcb() takes exactly 2 arguments (3 given)

    this seems to be because wmcb() is being sent an unexpected 2nd tupple of arguments

    a quick hack to prevent the error is to change

    def wmcb(self, messages):

    to
    def wmcb(self, messages,dummy=”"):

    this seems to work & as the dummy variable is optional should not break existing implementations

    the 2nd tupple appears to have somthingto do with the acceleration of the handset but I am not 100% certain.

    Hope this helps someone

  4. Benjie Says:

    Hi Alister, thanks for that, it’s because I use an older version of CWiiD at home which doesn’t have the 3rd parameter. Your fix is basically the same as mine which is documented here: http://www.benjiegillam.com/2008/09/new-minor-mythpywii-release-r15/ :)

Leave a Reply