An open API service indexing awesome lists of open source software.

https://github.com/dadav/thek

Thek is a small recording scheduler for the german mediathek.
https://github.com/dadav/thek

golang hacktoberfest mediathek

Last synced: 8 months ago
JSON representation

Thek is a small recording scheduler for the german mediathek.

Awesome Lists containing this project

README

          

# thek

**thek** is a small tool to schedule recordings from the german mediathek.

## install

Run `make build && sudo make install`

## usage

Adjust the `config.yaml` to your needs and run the binary.

The binary has some flags (run `thek -h`):

```bash
thek is a tool to schedule recordings for shows of some german streams.

#########################################
The tool requires ffmpeg to work properly
#########################################

Usage:
thek [flags]

Flags:
-c, --config string path to the config (default "config.yaml")
-d, --debug enable debug mode
-h, --help help for thek
-j, --json enable json output
-v, --version version for thek
```

## configuration

**Example**

```yaml
---
defaults:
output_directory: output
safety_duration: 5m
file_exist_action: skip # possible actions: skip | rename | replace

stations:
3sat: "http://zdf-hls-18.akamaized.net/hls/live/2016501/dach/high/master.m3u8"
arte: "https://artesimulcast.akamaized.net/hls/live/2030993/artelive_de/index.m3u8"
zdf: "http://zdf-hls-15.akamaized.net/hls/live/2016498/de/high/master.m3u8"
zdfinfo: "http://zdf-hls-17.akamaized.net/hls/live/2016500/de/high/master.m3u8"
zdfneo: "http://zdf-hls-16.akamaized.net/hls/live/2016499/de/high/master.m3u8"
phoenix: "http://zdf-hls-19.akamaized.net/hls/live/2016502/de/high/master.m3u8"
ki.ka: "https://kikageohls.akamaized.net/hls/live/2022693/livetvkika_de/master.m3u8"

recording_tasks:
- station: zdfneo
show_keywords: the rookie
output_directory: ./output/the_rookie
safety_duration: 3m
file_exist_action: replace
```