Skip to content

Commit dab56eb

Browse files
authored
docs: a quick start that runs the current release with the shipped example config (#37)
Quick start pins 0.5.2 and fetches config.example.yaml, dynamic license badge, installation.md renamed getting-started.md, new usage page.
1 parent 0a79b03 commit dab56eb

4 files changed

Lines changed: 33 additions & 26 deletions

File tree

‎README.md‎

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="https://raw.githubusercontent.com/GeiserX/audio-transcode-watcher/main/docs/images/banner.svg" alt="audio-transcode-watcher banner" width="900" />
2+
<img src="https://raw.githubusercontent.com/GeiserX/audio-transcode-watcher/main/docs/images/banner.svg" alt="audio-transcode-watcher" width="900" />
33
</p>
44

55
<p align="center">
@@ -9,11 +9,11 @@
99
<p align="center">
1010
<a href="https://pypi.org/project/audio-transcode-watcher/"><img src="https://img.shields.io/pypi/v/audio-transcode-watcher?style=flat-square" alt="PyPI" /></a>
1111
<a href="https://github.com/GeiserX/audio-transcode-watcher/actions/workflows/tests.yml"><img src="https://github.com/GeiserX/audio-transcode-watcher/actions/workflows/tests.yml/badge.svg" alt="Tests" /></a>
12+
<a href="https://github.com/GeiserX/audio-transcode-watcher/blob/main/LICENSE"><img src="https://img.shields.io/github/license/GeiserX/audio-transcode-watcher" alt="License" /></a>
1213
<a href="https://hub.docker.com/r/drumsergio/audio-transcoder"><img src="https://img.shields.io/docker/pulls/drumsergio/audio-transcoder" alt="Docker Pulls" /></a>
13-
<a href="https://www.gnu.org/licenses/gpl-3.0"><img src="https://img.shields.io/badge/License-GPLv3-blue.svg" alt="License: GPL v3" /></a>
1414
</p>
1515

16-
Perfect for maintaining a music library in multiple formats -- lossless for archival, lossy for portable devices -- without lifting a finger. Drop a FLAC into your source folder and get ALAC, MP3, AAC, and Opus copies instantly.
16+
Keep one library in several formats: lossless for the archive, lossy for phones and cars. Drop a FLAC into the source folder and the ALAC, MP3, AAC and Opus copies appear in their own trees.
1717

1818
## Features
1919

@@ -28,30 +28,32 @@ Perfect for maintaining a music library in multiple formats -- lossless for arch
2828

2929
## Quick start
3030

31-
Write a `config.yaml` with a source and your outputs ([full example](https://github.com/GeiserX/audio-transcode-watcher/blob/main/docs/configuration.md)), then:
32-
3331
```bash
32+
curl -fsSL -o config.yaml https://raw.githubusercontent.com/GeiserX/audio-transcode-watcher/main/config.example.yaml
3433
docker run -d --name audio_transcoder -e CONFIG_FILE=/app/config.yaml \
3534
-v ./config.yaml:/app/config.yaml:ro -v /path/to/flac:/music/flac:ro -v /path/to/mp3:/music/mp3 \
36-
drumsergio/audio-transcoder:0.5.1
35+
drumsergio/audio-transcoder:0.5.2
3736
```
3837

38+
Edit `config.yaml` first so its outputs match the folders you mount; the example writes ALAC, MP3 and AAC. [Getting started](https://github.com/GeiserX/audio-transcode-watcher/blob/main/docs/getting-started.md) has Docker Compose and the full `docker run`.
39+
3940
## Documentation
4041

41-
- [Installation](https://github.com/GeiserX/audio-transcode-watcher/blob/main/docs/installation.md): Docker Compose and Docker CLI
42+
- [Getting started](https://github.com/GeiserX/audio-transcode-watcher/blob/main/docs/getting-started.md): Docker Compose and Docker CLI
4243
- [Configuration](https://github.com/GeiserX/audio-transcode-watcher/blob/main/docs/configuration.md): the full YAML example, supported codecs, `CONFIG_JSON`
43-
- [How it works](https://github.com/GeiserX/audio-transcode-watcher/blob/main/docs/how-it-works.md): sync and watch mode, folder mirroring, safety guards, performance, the verification tool
44+
- [Usage](https://github.com/GeiserX/audio-transcode-watcher/blob/main/docs/usage.md): what happens once it runs, and the verification tool
45+
- [How it works](https://github.com/GeiserX/audio-transcode-watcher/blob/main/docs/how-it-works.md): sync and watch mode, folder mirroring, safety guards, performance
4446
- [Development](https://github.com/GeiserX/audio-transcode-watcher/blob/main/docs/development.md): tests, building the image, contributing
4547
- [Roadmap](https://github.com/GeiserX/audio-transcode-watcher/blob/main/docs/ROADMAP.md)
4648

47-
## Related Music Tools
49+
## Related projects
4850

4951
| Project | Description |
5052
|---------|-------------|
5153
| [slskd-transform](https://github.com/GeiserX/slskd-transform) | Bulk upgrade your music library from lossy to lossless via Soulseek |
5254
| [telegram-slskd-local-bot](https://github.com/GeiserX/telegram-slskd-local-bot) | Automated music discovery and download via Telegram |
53-
| [quality-gate-encoder](https://github.com/GeiserX/quality-gate-encoder) (formerly jellyfin-encoder) | Automatic 720p HEVC/AV1 transcoding for Jellyfin |
55+
| [quality-gate-encoder](https://github.com/GeiserX/quality-gate-encoder) (formerly jellyfin-encoder) | Automatic 720p HEVC, H.264 or AV1 copies for Jellyfin |
5456

5557
## License
5658

57-
GPL-3.0, see [LICENSE](https://github.com/GeiserX/audio-transcode-watcher/blob/main/LICENSE).
59+
[GPL-3.0-or-later](https://github.com/GeiserX/audio-transcode-watcher/blob/main/LICENSE)
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installation
1+
# Getting started
22

33
## Docker Compose (Recommended)
44

@@ -29,7 +29,7 @@ outputs:
2929
```yaml
3030
services:
3131
audio-transcoder:
32-
image: drumsergio/audio-transcoder:0.5.1
32+
image: drumsergio/audio-transcoder:0.5.2
3333
container_name: audio_transcoder
3434
environment:
3535
- TZ=Europe/Madrid
@@ -60,6 +60,6 @@ docker run -d \
6060
-v /path/to/flac:/music/flac:ro \
6161
-v /path/to/mp3:/music/mp3 \
6262
--restart unless-stopped \
63-
drumsergio/audio-transcoder:0.5.1
63+
drumsergio/audio-transcoder:0.5.2
6464
```
6565

‎docs/how-it-works.md‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,4 @@ The service includes multiple guards to prevent data loss:
4444
- **Stability detection** -- Files are not processed until they have been stable on disk for a configurable period, avoiding partial reads during large copies or network transfers
4545
- **Low idle footprint** -- Uses inotify/FSEvents-based watching with minimal CPU usage when idle
4646

47-
## Verification Tool
48-
49-
A built-in verification tool checks that all outputs are in sync with the source:
50-
51-
```bash
52-
# Basic sync check
53-
docker exec audio_transcoder python /app/tools/verify_sync.py --config /app/config.yaml
54-
55-
# Thorough check including duration comparison
56-
docker exec audio_transcoder python /app/tools/verify_sync.py --config /app/config.yaml --check-duration -v
57-
```
58-
47+
To check that every output matches the source, see [Usage](usage.md).

‎docs/usage.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Usage
2+
3+
Once the container runs there is nothing to start by hand: it syncs on startup, then follows the source folder (see [How it works](how-it-works.md)). Put new files in the source folder, and each output gets its copy in the same Artist/Album path.
4+
5+
## Checking that the outputs are in sync
6+
7+
A built-in verification tool checks that all outputs are in sync with the source:
8+
9+
```bash
10+
# Basic sync check
11+
docker exec audio_transcoder python /app/tools/verify_sync.py --config /app/config.yaml
12+
13+
# Thorough check including duration comparison
14+
docker exec audio_transcoder python /app/tools/verify_sync.py --config /app/config.yaml --check-duration -v
15+
```
16+

0 commit comments

Comments
 (0)