Giter Site home page Giter Site logo

myitcvforks / docker-get_iplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marginal/docker-get_iplayer

0.0 1.0 0.0 14 KB

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

Shell 58.66% Dockerfile 41.34%

docker-get_iplayer's Introduction

get_iplayer PVR Docker image

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 (useful if you're putting these files in a shared folder).

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 run -d -e PUID=`id -u` -e PGID=`id -g` -p 1935:1935 -v /destination/on/host:/output marginal/get_iplayer:latest

Replace /destination/on/host with the path of a folder on the host machine where you would like the downloaded files to be placed.

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.

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/".

docker-get_iplayer's People

Contributors

marginal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.