Fix typo in the regex table in create_xml().
fix schedule URLs and channel names

fix moved schedule URLs; make channel names more consistent
Revert "Remove content decoding/encoding for I/O streams"

This reverts commit 969bd348e317003b88904671c3d25b76c0509307.
Ensure podcast saved as binary file on Windows
Revert "Updated SWF player URL"

This reverts commit 797d91db090ff9b75cc2f2b00e9d03e5d07a2c2f.
Fix functionality broken by Oct 2014 BBC changes

Downloads from full URL now scraped for JSON config block to verify
episode page.  JSON playlists now used as fallback if XML playlist
indicates programme not available.
BBC Oct 2014 changes: Get thumbnails and guidance flag from JSON playlists

Added thumbnails and guidance flag to information gathered from JSON
playlists.
Oct 2014 BBC changes: Metadata fixes

Some metadata values no longer available > 7 days, so implement
substitutes where possible.
Fallback expiry should be 30 days
Reverse expiry changes
Fix backslash stripping in JSON playlist
Get expiry date from stream data
Only keep first category level from RDF files
Removed RDF category parsing
Revamp version parsing in JSON playlist
Restored RDF category parsing
Tweaked JSON playlist parsing
Added HTML scraping for version PIDs (TV only)
More metadata fixes for JSON playlist and HTML scraping

- Try to avoid taking title from JSON playlist - it's broken
- Ensure all JSON/HTML parsed values are place in $prog hash
- Move *short variable generation to pick up JSON/HTML parsed values
Added --swfurl option

Use --swfurl to specify Flash player URL used by rtmpdump for
verification.  Shortcut for --rtmp-tv-opts="--swfVfy=<URL>".