Those of you running Python-iView should do an update to get the latest version, which contains a number of bug and compatibility fixes.
To update an existing Python-iView system, change to the directory where you installed it, and run:
$ bzr pull
Then, to support the new SWF verification ‘feature’, you will need to download and install rtmpdump, and install the resulting rtmpdump_x86 executable into somehere like /usr/local/bin.
(For those of you content with having their videos cut out every 8MB, feel free to continue using FLVStreamer — Python-iView will try both FLVStreamer and rtmpdump.)
If you don’t already have Python-iView, see the original post for instructions on how to get it.


Hi, I managed to get all the dependencies installed on OS X and it will run fine (both the cli and the gtk version, though its strange that the cli version seems to depend on gtk too)
However if I try to download something I get the errors below, any ideas??
That’s a very interesting case there. I just looked in my programme, and this is what I got:
Looks like the program IDs are no longer necessarily prefixed with their channel (e.g.
catch_up). As you can see, the program you tried to download (highlighted in bold) isn’t prefixed. My code doesn’t accommodate for that, and crashes if you specify a non-prefixed program ID (which I presume you may have encountered, which is why in your output, I can seecatch-up/torchwood_09_02_06rather thantorchwood_09_02_06).Just pushed a fix to handle this. Run
bzr pull, and then run./iview-cli -d torchwood_09_02_06— make sure you now enter the program ID exactly as it appears in the programme.Hi
That fixed the problem I was having earlier but it is still doing it, I picked a completely different show and copied it exactly as listed and it still doesn’t work
Weird.
./iview-cli -d faves/crashzone_09_02_05works fine for me. Make sure you deletecrashzone_09_02_05.flvif you do decide to try it again.(rtmpdump is quite buggy when resuming downloads. FLVStreamer is a lot more mature and stable, but unfortunately doesn’t support SWF verification.)
Oh, with regards to the CLI interface requiring GTK+: that is because it uses a GtkTreeModel structure internally for representing the iView programme, whether graphical or non-graphical.
Originally I had the programme stored in normal Python lists, and then converted the list to a TreeModel. However, I theorised that it would take twice as much memory to do so, so I now work with a TreeModel directly, which also simplifies the code.
I’ve tried it with FLV streamer and it appears to do the same thing, except there is no debug output for flvstreamer
It does however create a blank file where the stream should be.
I think there is a bug when run under OS X that causes the url string that gets sent to rtmpdump or flvstreamer to be incorrect and thus it can’t locate the file
Is there away I can get a more verbose output to determine what the problem may be?
I think I found the problem, and its with the path that your app sends to rtmpdump, I used another script and I get
DEBUG: Property:
DEBUG: Property:
DEBUG: Property:
DEBUG: Property:
Notice that istead of just beachedaz_09_01_07 it has /flash/playback/_definst_/beachedaz_09_01_0