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.
- Host: GitHub
- URL: https://github.com/dadav/thek
- Owner: dadav
- License: gpl-3.0
- Created: 2022-08-07T15:44:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-22T19:21:22.000Z (almost 4 years ago)
- Last Synced: 2025-04-13T02:03:22.474Z (about 1 year ago)
- Topics: golang, hacktoberfest, mediathek
- Language: Go
- Homepage:
- Size: 306 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```