Skip to content
notnac edited this page Jan 21, 2023 · 78 revisions

Windows installation

(Return to Installation ToC)

Before you begin

  • Windows 10 is the minimum version supported by the get_iplayer developers, though get_iplayer should run on Windows XP and later.
  • Windows 7 is the minimum version required by the bundled versions of ffmpeg and AtomicParsley. ffmpeg is required to convert downloaded files to MP4 and AtomicParsley is required to add metadata tags. In order to use get_iplayer on Windows XP/Vista, you must install compatible versions of ffmpeg and AtomicParsley in C:\Program Files\get_iplayer\utils\bin or C:\Program Files (x86)\get_iplayer\utils\bin.

Installing

Windows users should install get_iplayer with the provided installers. The installers are for Intel/AMD systems only. Download the latest versions from:

https://github.com/get-iplayer/get_iplayer_win32/releases/latest

The installers are the files under "Assets" whose names end in "setup.exe". The "windows-x64" installer is for 64-bit Windows only. The "windows-x86" installer can be used on 32-bit and 64-bit Windows. The files with names ending in ".sha256" contain checksums that can be used to validate the downloaded installers.

The installers include all necessary dependencies: AtomicParsley, ffmpeg and a customised version of Strawberry Perl. This is the only supported configuration of get_iplayer on Windows. If you use any other version of these tools, your installation of get_iplayer is not supported.

Before installation, close all running instances of get_iplayer, including any Web PVR Manager server window that is open.

Double-click the installer to launch it and follow the wizard steps. The installer is not signed, so you will first be presented with the Windows UAC prompt to allow it to make changes to your system. An "All Users" installation will be performed, with get_iplayer installed into C:\Program Files\get_iplayer or C:\Program Files (x86)\get_iplayer and Start Menu shortcuts created for all users.

If the installation hangs or fails, it may be due to your anti-virus software. Anti-virus and related software have been known to interfere with get_iplayer installation. If you are not comfortable disabling your anti-virus software, then do not make any further attempt to install get_iplayer. Otherwise, completely disable all components of your anti-virus and related software (if present on your system) and then retry the installation. Be sure to re-enable your anti-virus after installation.

Tutorials

Once get_iplayer is installed, check out some tutorials to help you get started.

Command-line interface (CLI)

  1. To start the CLI go to get_iplayer -> get_iplayer on the Start Menu. In the Windows 8 Start screen, click the get_iplayer tile. The CLI will launch in a console window. The working directory of the console window will be your home directory (%HOMEDRIVE%%HOMEPATH%). You may also open a normal command prompt (cmd.exe) and run get_iplayer commands there.

    NOTE: Do not launch get_iplayer.cmd (in the installation directory) directly from Windows Explorer. The batch file will quit immediately after updating the programme cache. You must run get_iplayer from the Start Menu or in a command prompt window for it to work properly.

  2. Upon launch, get_iplayer will update its programme index cache if necessary. If yours is a new installation, the update will take longer than usual since get_iplayer will be building a full 30-day cache. When updating has completed, you will see a cursor waiting at a command prompt. The prompt will look something like C:\Users\jbloggs>. Type your get_iplayer commands at the prompt, then hit Return after each one to run it. See the documentation for examples of get_iplayer commands.

  3. The default location for recorded programmes is the iPlayer Recordings folder on your Windows desktop. If get_iplayer cannot locate your desktop folder, it will download into your working directory. If you wish to use a custom location, set it in your get_iplayer preferences. For example:

     :: single directory for TV and radio
     get_iplayer --prefs-add --output="D:\get_iplayer"
     :: separate directories for TV and radio
     get_iplayer --prefs-add --output-tv "D:\get_iplayer\tv" --output-radio "D:\get_iplayer\radio"        
    

Web PVR Manager (WPM)

The WPM is installed along with the CLI.

  1. To start the WPM go to get_iplayer -> Web PVR Manager on the Start Menu. In the Windows 8 Start screen, click the Web PVR Manager tile.

    NOTE: Do not launch get_iplayer_web_pvr.cmd (in the installation directory) directly from Windows Explorer. You must run the WPM from the Start Menu for it to work properly.

  2. The WPM server will launch in a console window and your default browser will be opened to this URL:

    http://localhost:1935

    If the WPM does not open in your browser automatically, click the link above or enter the address in your web browser.

  3. As an alternative to get_iplayer -> Web PVR Manager on the Start Menu, run get_iplayer_cgi at a command prompt and then click the link above or enter the address in your web browser.

  4. After the WPM has opened in your browser, select the programme types you wish to index (e.g., BBC TV, BBC Radio), then click the Refresh Cache button. A new tab or window will open that shows the cache being refreshed. If yours is a new installation, the update will take longer than usual since get_iplayer will be building a full 30-day cache.

  5. Stop the WPM by closing the console window where it is running.

Run PVR Scheduler

The scheduler is installed along with the CLI.

  1. To start the scheduler go to get_iplayer -> Run PVR Scheduler on the Start Menu. In the Windows 8 Start screen, click the Run PVR Scheduler tile. The scheduler will launch in a console window.

  2. Upon launch, the scheduler will run your PVR list and then wait 4 hours before running it again. This will continue until you stop the scheduler.

  3. As an alternative to get_iplayer -> Run PVR Scheduler on the Start Menu, run get_iplayer_pvr at a normal command prompt (cmd.exe).

  4. Stop the scheduler by closing the console window where it is running.

Notes

  • Do not launch get_iplayer or the Web PVR Manager with 'Run as administrator'. It will open the get_iplayer console window in C:\WINDOWS\system32, which is a system directory where you should not be working. It should not be necessary to run the CLI or WPM as an administrator.
  • When you launch get_iplayer and the Web PVR Manager, you are actually invoking batch scripts (.cmd files) that wrap the Perl scripts that comprise the applications. The batch scripts are required to set up the runtime environment for the associated Perl scripts. Any other method of launching get_iplayer or the Web PVR Manager is NOT SUPPORTED.
  • If you do not wish to have get_iplayer automatically update its programme index cache on launch, do not use the Start Menu shortcut. Run get_iplayer from a normal command prompt instead.
  • The installer will append the installation directory to the value of your system PATH environment variable. You can thus invoke the CLI from any command prompt (e.g., one launched from the taskbar) with any working directory by entering your get_iplayer command at the prompt and hitting Return. The Start Menu shortcut described above is installed for convenience.
  • The path for the embedded Perl (perl\bin subdirectory in installation directory) and the path to the included AtomicParsley and ffmpeg utilities (utils\bin subdirectory in installation directory) are not permanently added to %PATH%. They are temporarily prepended to %PATH% only when get_iplayer batch scripts are running. The bundled utilities can be referenced in --command strings as simply "AtomicParsley" or "ffmpeg".
  • If %PATH% is already quite large (>=2048 chars), e.g., because of other software packages that did not properly update %PATH% on install or uninstall, you may experience problems launching get_iplayer, perl or external programs. You may encounter error messages similar to "get_iplayer.cmd is not recognized as an internal or external command" or "Files was unexpected at this time". You may also encounter similar problems if your PATH environment variables contain invalid or corrupted file paths or mismatched quotes. First, try rebooting your machine. If that does not help, you will need to clean obsolete and invalid entries from your PATH environment variable settings. Run echo %PATH% from a command prompt to check the value. This should affect few users.

Upgrading

Check for new releases with get_iplayer -> Check for Update on the Start Menu, or use the following URL:

https://github.com/get-iplayer/get_iplayer_win32/releases

You can also check for new releases from the command line:

get_iplayer --release-check

Add to preferences for automatic weekly check:

get_iplayer --prefs-add --release-check

A notification message will be printed in your get_iplayer output once per week.

Updates can also be tracked with a feed from the GitHub repository:

https://github.com/get-iplayer/get_iplayer_win32/releases.atom

Upgrade to future releases by downloading the latest installer package and running it as described above. There is no need to uninstall the previous version of get_iplayer before installing a new version. You can simply install over the previous version. However, if you prefer to uninstall and re-install, that should work as well.

Uninstalling

Uninstall get_iplayer from Settings->Apps->Apps & features or Control Panel->Programs and Features.

Clone this wiki locally