Skip to content

Commit

Permalink
refactor: clean up partial key generation, update the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
iomz committed Jun 7, 2023
1 parent b3afc0b commit 6d2a46e
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 665 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
[![Docker](https://github.com/iomz/radicron/actions/workflows/docker.yml/badge.svg)](https://github.com/iomz/radicron/actions/workflows/docker.yml)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

Sometimes we miss our favorite programs on [radiko](https://radiko.jp/) and they get vanished from http://radiko.jp/#!/timeshift – let's just keep them automatically saved locally.
Sometimes we miss our favorite shows on [radiko](https://radiko.jp/) and they get vanished from http://radiko.jp/#!/timeshift – let's just keep them automatically saved locally, from AoE.

**Disclaimer**:

- Only works from an IP address within Japan (currently).
- Do not use this program for commercial purposes.
- Never use this program for commercial purposes.

---

Expand All @@ -21,11 +20,12 @@ Sometimes we miss our favorite programs on [radiko](https://radiko.jp/) and they
- [Try with Docker](#try-with-docker)
- [Build the image yourself](#build-the-image-yourself)
- [Credit](#credit)

<!--toc:end-->

# Configuration

You first need to create a configuration file (`config.yml`) to list programs to look for:
Create a configuration file (`config.yml`) to define rules for recording:

```yaml
area-id: JP13 # if unset, default to "your" region
Expand All @@ -35,15 +35,15 @@ interval: 168h # fetch every 7 days (Valid time units are "ns", "us" (or "µs"),

rules:
airship: # name your rule as you like
station-id: FMT # (optional) the staion_id
station-id: FMT # (optional) the staion_id, if not available by default, automatically add this station to the watch list
title: "GOODYEAR MUSIC AIRSHIP~シティポップ レイディオ~" # this can be a partial match
citypop:
keyword: "シティポップ" # search by keyword
keyword: "シティポップ" # search by keyword (also a partial match)
window: 48h # only within the past window from the current time
hiccorohee:
pfm: "ヒコロヒー" # search by pfm
watchman:
station-id: LTBS
station-id: TBS
pfm: "宇多丸"
dow: # filter by day of the week (e.g, Mon, tue, WED)
- fri
Expand Down
Loading

0 comments on commit 6d2a46e

Please sign in to comment.