Deploying python iView on Windows

I have recently been getting rather annoyed with the streaming problems with ABC’s iView. It started with intermittent cut outs, and then soon degraded to really bad lags and even audio and video getting out of sync, and playing at half or quarter speed. In a nutshell, it became unwatchable. I complained to the support of my ISP, iiNet, however they did not help – and maybe it isn’t entirely their fault either. Since streaming was broken, I thought why not buffer the entire program at a time instead, at least until iiNet and ABC fix their servers.

At first I used Yanksy’s iViewFox. However it ran incredibly slowly. So I decided to get Jeremy Visser’s python iView instead. The problem with that is that while python is theoretically cross platform, it is extremely hard to get working on a non-Linux, non-Mac box, and especially so when the application in question has multiple 3rd party dependencies. Judging from the comments on Jeremy’s blog, I think no one has managed to get it working on Windows yet, so I am posting a how-to for the benefit of those whose primary machine is a Windows box. Note that this requires your to install nine pieces of software in total to get working, and you need to edit environment variables, etc, so it can take a while.

Full instructions after the jump. Enjoy.


Download and install the following software. The order in which they are installed is somewhat important as some are dependencies of the others.
For each I have provided a link to both the developer’s page, plus a direct one to the distribution file. I have specified version numbers because not all versions play nice with each other – for example if your version of python is different, you will need to get different distributions of the python libraries.
Some software does not come with an executable installer and will actually involve manual installation that includes building the software. To do this, you will have to open up a command prompt, change directories to the location where the files are downloaded or uncompressed to, and enter the command lines detailed.
Note that special care has been taken to avoid folder or file names containing spaces – I use a programs folder instead of using the default Program Files.

  1. - Python
    Path should be automatically set, check it anyway
  2. - Bazaar
    Add bazaar to path
    Path should be automatically set, check anyway
  3. - PyGTK group

  4. -GTK+
    Simply extract folder to disk
    Path must be manually set
  5. -RTMP dump
    Simply extract the folder to disk
    Path must be manually set
  6. -Beautiful Soup

    python bdist
  7. -Python iView
    revision 341

    cd C:\Programs
    bzr branch
    REM edit to remove the slashes that precede usr (2X)
    python bdist
  8. Edit the environment variable, path to add or update these values:

    These values must be added to the path. If they are already there, or a point to previous version, just make sure you update them to point to the new one – pointing to both is problematic. If you installed in a different location, change accordingly.

  9. Run python iview
    python iview-gtk
    python iview-cli

    These files are actually python files, not compiled executables. They may be executed directly in *nix systems because the first line is

    #!/usr/bin/env python

    However, that obviously is not understood by Windows, so you will need to precede the name of the file with python to tell Windows to execute it using python.


Copyright © 2008-present Brendan Graetz