BBC iPlayer Radio 9.3.2

A small update to BBC iPlayer Radio. I’ve been having some reports that the program is having problems connecting to the Internet. I can’t replicate the problems here, sadly. But I’ve made the error message provide more information, so hopefully I’ll be able to get to the bottom of it!

A couple of other little bugfixes, including a fix for Windows 7 machines without .Net 4, and removing some Windows Firewall code that I now realise is redundant (and who knows, might be causing the connection problems!)

  • BBC iPlayer Radio 9.3.2 Installer

BBC iPlayer TV 7.5.0

I’ve updated BBC iPlayer TV to 7.5.0. For 7.3 and 7.4 I was using a JavaScript interface, but the new “Have you got a BBC TV Licence?” dialogue and other changes appears to have broken it (again!)

I’ve therefore gone to using the venerable Microsoft Active Accessibility (MSAA) interface to hunt down and press the correct buttons on the iPlayer page. This is a bit slow, and you’ve lost the mechanism for pause or skipping. I could put that in another time, but for now it works, and that’s the main thing. You’ve also sadly lost the switching interface, but I suspect no-one was using it!

Updated BBC Live Radio

A simple update to BBC Live Radio today, to version 3.2.0, so three radio stations that haven’t worked for a while now work again:

  • BBC World Service
  • Classic FM
  • National Public Radio (NPR)

Of course, two of these aren’t BBC stations, but never mind! What NPR and Classic FM have in common is that the URLs change relatively frequently, which breaks my code – I’m not using a documented, supported API, I’m just finding the URL by investigating the website and coding it in. It’s a pain to maintain, since I don’t know they are broken until someone tells me, then I have to go and fix them. Still, because people tell me, I know people use it, so there we are.

The BBC World Service one is more interesting. It also exists in the official BBC API, but doesn’t seem to work correctly. So I’ve found the URL by searching and put in that working one. I know the World Service is a bit of a separate part of the BBC, and I know the Internet services provided by the BBC have been stitched together gradually over many years from my conversations with BBC engineers going back fifteen years. So I suppose this simply represents this internal division.

MSAA, UIA and WPF

A technical note today for programmers.

Screenreaders (blind users) interact with Windows programs through accessibility APIs. The most modern is UI Automation. But the first, and possibly most important still, is MSAA, Microsoft Active Accessibility. Windows will supply information from one interface to the other system if required, so most of the time you shouldn’t have to worry too much.

I’ve been doing some .Net programs using WPF or XAML (that is, not WinForms) and here’s a quick guide to what I’ve found:

  • Buttons and CheckBoxes work fine just as they are. In fact, don’t set any Automation properties or you’ll get odd-looking controls in MSAA.
  • ListBox, ComboBox, TextBox, ProgressBar work fine for their contents just as they are. But:
  • Labels don’t label Listbox/ComboBox/TextBox/ProgressBar unless you use LabeledBy.

In C++ applications you associate labels (e.g. “Enter username:”) with the control they are labelling (e.g. a textbox for the username) by using tab order. The label with tab index N labels the control with tab index N+1. So label with tab index 0 provides the name to the combobox with tab index 1.

In WPF you have to set this explicitly using AutomationProperties.LabeledBy, like this:

<Label Content="A ListBox Control:" x:Name="lblList"></Label>
<ListBox AutomationProperties.LabeledBy="{Binding ElementName=lblList}">
  <TextBlock>Elephant</TextBlock>
  <TextBlock>Koala</TextBlock>
</ListBox>


Note the funky “Binding” code – you can’t just use the x:Name of the label. Notice also that your Label must have an x:Name! You can also use a TextBlock instead of a label. Generally the pattern is:

<TextThing Content=”The label for the other control” x:Name=”textThingLabel” />
<OtherControl AutomationProperties.LabeledBy=”{Binding ElementName=textThingLabel}” />


Anyway, that suffices for the basics of MSAA/UIA support for WPF if you’re writing .Net Windows applications.

Both BBC Radio programs now updated, including Windows XP support

Tonight I’ve updated BBC Live Radio to version 3.0, and I believe that it now works with the new BBC Radio live streams for Windows XP and later. Last week I updated BBC iPlayer Radio to version 9.1, and I believe that this now works for playing 7-day catch-up radio programmes using the new HLS format, again on Windows XP and later. Thanks for bearing with me, and let me know of any problems you find.

Here’s some notes about the new versions:

  • The BBC Live Radio programme is now using the new HLS streams for Windows 8 and later. Windows 7 and earlier won’t play these streams, so it falls back to the ShoutCast MP3 streams. These will be turned off by the BBC in 2016, on current plans, so Windows 7 and earlier will break again.
  • In BBC Live Radio at present I simply pick the first HLS stream available, which is probably not the best choice (non-optimum bitrate, or wrong international/not international version, or whatever).
  • The BBC iPlayer Radio programme simply converts the downloaded AAC file to MP3 to play it, using FFMPEG, which can take a little time, and there is no progress indicator yet. Users will probably think it has hung, but give it a little time.

BBC iPlayer Radio 9 released: still to fix AAC support

Both WebbIE BBC programs have now been updated to the new system, but they may not work yet if you have Windows 7 or earlier

Summary: both WebbIE BBC programs have now been updated to the new system, but they may not work yet if you have on Windows 7 or earlier.

Yesterday I released BBC iPlayer Radio 9. This new version works again with the BBC on-demand seven-day radio catch-up service, after the BBC shut off the old Windows Media service. It works the same except that instead of playing a programme immediately, it has to download it to your computer first. This can take a while, but downloaded programmes are saved for the next seven days so you only have to do it once.

However, there is another problem. The new AAC format used by the BBC works just great on my Windows 8 machine. But lots of users have contacted me to say that they get only a couple of seconds of audio on their machines before it stops, and they report it for both BBC iPlayer Radio and BBC Live Radio 2. It looks like on older versions of Windows, or Windows Media Player, or the K and KM versions of Windows, the BBC programmes won’t play.

Normally this is fixed by installing another piece of software called a codec or filter or plug-in and one user has reported exactly that. But until I get onto a Windows 7 machine next week in the test rig at work, I can’t confirm what versions of Windows are affected and I can’t identify the best plug-in to recommend.

Until then you have two options, both of which are quite technical, I’m afraid:

  1. Install another media player that does support AAC files, like VLC. Use BBC iPlayer Radio 9, and wait for the programme to download, then stop playing. Then open the File menu (Alt and F) and select the new menu entry, “Open in external media player”. This will launch whatever program Windows thinks handles AAC files – hopefully VLC.
  2. Try installing the codec that my user kindly suggested. I’m not naming him in case it goes wrong: remember, this is at your own risk! Orban AAC Plug-in – zip of Windows installer exe, unzip and run.

Update to BBC iPlayer TV 7.3.5

Details of the 10 Jan 2015 7.3.5 update to BBC iPlayer TV

The BBC iPlayer TV application broke in December: programmes would no longer start playing. I’ve now fixed this. The problem is that a Microsoft security update for Internet Explorer 11 stops my program talking to the web page to start the programme. People with Internet Explorer 10 were unaffected. People with Internet Explorer 11 would have to start programmes themselves. This is now fixed, and programmes should always start themselves correctly.

However, the security update prevents the skip and pause functions working: if you have Internet Explorer 11, you’ll find that these controls all disable after the programme loads and starts, and do not work with key presses. Sorry about that!

Technical notes on the problem.

WebbIE 4.5.0 now available

I’ve updated WebbIE 4 today, with some minor changes and bugfixes.

WebbIE 4 has supported the new HTML5 AUDIO and VIDEO elements for a couple of years, playing then in the page where they are found with a dedicated player control to make it easier for screenreader users – just play and stop, but that’s usually just what you need. I’ve now added ability to download and/or open the content of these VIDEO and AUDIO HTML5 elements directly in your default media player: the user just has to hit the Open button in the media player, and it will be opened in whatever is the default media handler is for your system. Note that this doesn’t work for embedded data URI elements! There are also new shortcut keys for the media player: Ctrl+P to play, Ctrl+O to open, and Space to stop.

Refresh in WebbIE re-parses the page, effectively, but doesn’t go and get the page anew. You can now press Shift and Control and R to perform a “proper” page refresh, reloading it from the server.

You can now open saved MHT files from File > Open, and I’ve added a TeamViewer download link to the Help menu for support purposes.

Finally, WebbIE no longer changes the case of URLs you type into the address bar, so if you are trying to access a web page on a case-sensitive server – like a Unix server – you’ll now be able to reach it.

Update to BBC iPlayer TV 7.3 restores Audio Described category

New BBC iPlayer TV version 7.3. At the beginning of November 2014 the BBC removed various data feeds from their website, including the one that gave the list of TV programmes available through BBC iPlayer with Audio Description. This meant that all the categories in the WebbIE BBC iPlayer TV programme broke overnight.

There’s no sign of the BBC restoring them, so I’ve removed all the categories in BBC iPlayer TV except for Audio Described. For Audio Described, since it’s so popular, I’ve hacked some code to pull the available programmes: it takes a little while to load, and you don’t get as much detail, but it works.

Other minor changes: I’ve added a Flash item to the Help menu that links straight to the Adobe site so it’s easier test/install Flash: Flash is the number 1 problem for users in using iPlayer TV. I’ve also added a TeamViewer menu item for easy technical support, simplified the UI for screenreader users tabbing around, and fixed turning off the voice that announces what is going on.

One Switch Mouse

Today we can make available a program for people with significant physical impairments, such as muscular dystrophy. One Switch Mouse was developed by Claro Software in 2010 and has generously been made available by them for free download from the WebbIE site.

Most of the WebbIE software has been based around screenreader users – typically visually-impaired or blind people. However, there are switch users of the WebbIE programs, and a few of the programs have been specially customised to work with switch access: using a dedicated single-clicking device instead of a mouse or keyboard, like a joystick or customised button.

Switch users typically have very limited movement. Progressive muscle wasting conditions like Duchenne’s Muscular Dystrophy or Amyotrophic Lateral Sclerosis (ALS – also known as Lou Gehrig’s disease) can leave people only able to make very limited, very weak movements – perhaps only a head move, or finger, or toe, or mouth puff.

However, many of these conditions leave the user’s cognitive functions intact – you’re as smart and aware as ever, you just can’t move, or talk, or write. This is incredibly frustrating, of course.

One Switch Mouse tries to help. The mouse is controlled by using one switch, and timing how long you hold it down to control direction of movement and mouse clicking. You can move the mouse around the screen and left-click, right-click, double-clicking, and even hold down and select. In conjunction with an on-screen keyboard for typing you therefore have complete control of a standard Windows computer – and all using one switch. It even works on the Windows login screen and the secure desktop!

One Switch Mouse is free: if you or someone you know or support might benefit, do please download it and try it out.