Skip to content

A smallish (100MB) Docker image that hosts the get_iplayer PVR and automatically keeps itself up-to-date with the latest version of get_iplayer

Notifications You must be signed in to change notification settings

bmrussell/docker-get_iplayer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get_iplayer PVR Docker image

NB: Forked from https://github.com/Marginal/docker-get_iplayer

The Dockerfile is mainly unchanged but this fork moves some environment variables from the Dockerfile to a docker compose file which is my preferred way of working.

This is a smallish (100MB) Docker image that hosts the get_iplayer PVR. It automatically keeps itself up-to-date with the latest version of get_iplayer.

The PVR recording feature runs hourly. The get_iplayer version is updated daily.

Image configuration

The PVR can be accessed by default on port 1935/tcp. Set the environment variable PORT to override.

Downloaded TV & radio files will be placed in the /output bind mount.

Environment variables PUID and PGID can be set to dictate the owner and group of downloaded files in the .env file (useful if you're putting these files in a shared folder).

Example:

UID=1000
GID=1000
OUTPUT=/destination/on/host

Replace /destination/on/host with your preferred location to save files to.

If you're running behind a reverse proxy set the environment variable BASEURL to the full proxy URL.

Example invocation

This makes the PVR available on port 1935, and makes downloaded files owned by the current user:

docker-compose up -d

Once running use from the commandline as:

docker exec -it iplayer /bin/sh -c "get_iplayer --url $url"

get_iplayer configuration

get_iplayer's configuration and cache will be written to the .get_iplayer subfolder under the /output bind mount. You can set get_iplayer options in the file /destination/on/host/.get_iplayer/options.

Refer to the file options.sample for examples, including how to setup to send a Slack notification after a download.

Migrating an existing get_iplayer installation

  1. Copy your existing .get_iplayer folder over to /destination/on/host/.get_iplayer .

  2. If you have a .get_iplayer/options file, open it in a text editor and remove any output, outputradio and/or outputtv statements.

  3. Open the file .get_iplayer/download_history in a text editor, search for "/old/destination/folder/" and globally replace with "/output/".

About

A smallish (100MB) Docker image that hosts the get_iplayer PVR and automatically keeps itself up-to-date with the latest version of get_iplayer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 56.7%
  • Dockerfile 43.3%