You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: pre-launch security, docs accuracy, and README restructure
Lock /api/search behind _require_auth() (was the only unauthenticated
API route), add auth enforcement test, remove false Bazarr auto-rescan
claims from docs, update contributor/test docs to lead with make test,
fix .eng.srt mismatch in test_single_video.py, reframe README as
GUI-first with Known Limitations section, add screenshot placeholders.
docker compose run --profile cli --rm -e MEDIA_PATH=/media/tv/ShowName/Season\ 01 cli
94
-
```
94
+
# Process entire media library
95
+
docker compose run --profile cli --rm cli
95
96
96
-
**Start the Web UI:**
97
-
```bash
98
-
docker compose up -d
99
-
# Open http://localhost:5000
97
+
# Process specific show/season
98
+
docker compose run --profile cli --rm -e MEDIA_PATH=/media/tv/ShowName/Season\ 01 cli
100
99
```
101
100
102
101
---
103
102
104
-
## Web UI (Optional)
103
+
## Web UI
105
104
106
105
The Web UI provides a browser-based interface for remote management, batch processing, and AI-powered keyterm generation.
107
106
@@ -115,13 +114,17 @@ Access at `http://localhost:5000` (or configure reverse proxy for remote access)
115
114
116
115
> **Security Note:** This app exposes media paths and triggers write operations. `DISABLE_AUTH=true` is the default in the example compose — suitable for local access only. For remote/production deployments, set `DISABLE_AUTH=false` and place a reverse proxy with authentication (OAuth2-Proxy, Authelia, Nginx basic auth) in front of the app.
4.Bazarr rescan triggers (if Web UI integration enabled)
263
+
4.Refresh your media server library to pick up new subtitles
261
264
262
265
### Complete Library Cleanup
263
266
@@ -308,6 +311,13 @@ id -g # Get your GID
308
311
309
312
---
310
313
314
+
## Known Limitations
315
+
316
+
-**Authentication**: `DISABLE_AUTH=true` is the default for local use. For remote access, place a reverse proxy with authentication in front of the app (see Security Note above).
317
+
-**CLI vs Web UI**: The CLI processes files synchronously and does not support AI keyterm generation, library scanning, or progress tracking. The Web UI provides all features including async batch processing, real-time progress, and AI keyterm generation.
318
+
319
+
---
320
+
311
321
## Contributing
312
322
313
323
Contributions welcome! Please feel free to submit issues or pull requests.
Copy file name to clipboardExpand all lines: tests/README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,19 @@
2
2
3
3
This directory contains comprehensive tests for the Subgeneratorr CLI tool.
4
4
5
+
## Quick Run (Recommended)
6
+
7
+
The fastest way to run all unit tests:
8
+
9
+
```bash
10
+
make test
11
+
# or: pytest tests/ -v
12
+
```
13
+
14
+
This runs the full pytest suite without needing Docker or API keys. The detailed CLI integration tests described below require Docker and a Deepgram API key.
15
+
16
+
---
17
+
5
18
## Contents
6
19
7
20
-[`CLI_TEST_PLAN.md`](CLI_TEST_PLAN.md) - Detailed test plan with all test cases
0 commit comments