Metadata-Version: 2.4
Name: fastpluggy-video-browser
Version: 0.2.1
Summary: Personal YouTube — browse and stream videos from an Immich instance
Author: FastPluggy Team
License-Expression: MIT
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: FastPluggy>=0.4.0
Requires-Dist: loguru
Requires-Dist: sqlalchemy>=2.0
Requires-Dist: psycopg2-binary
Provides-Extra: e2e
Requires-Dist: fastpluggy-cli; extra == "e2e"
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: httpx>=0.27; extra == "dev"
Provides-Extra: tests
Requires-Dist: pytest>=7.0; extra == "tests"
Requires-Dist: httpx>=0.27; extra == "tests"
Requires-Dist: pytest-cov>=4.0; extra == "tests"
Dynamic: license-file

# video_browser

![Video Browser](https://img.shields.io/badge/FastPluggy-Video%20Browser-purple)
[![Release](https://gitlab.ggcorp.fr/open/fastpluggy/private_plugins/video_browser/-/badges/release.svg)](https://gitlab.ggcorp.fr/open/fastpluggy/private_plugins/video_browser/-/releases)
[![Pipeline Status](https://gitlab.ggcorp.fr/open/fastpluggy/private_plugins/video_browser/badges/main/pipeline.svg?key_text=CI)](https://gitlab.ggcorp.fr/open/fastpluggy/private_plugins/video_browser/-/pipelines?ignore_skipped=true)
[![Coverage](https://gitlab.ggcorp.fr/open/fastpluggy/private_plugins/video_browser/badges/main/coverage.svg)](https://gitlab.ggcorp.fr/open/fastpluggy/private_plugins/video_browser/-/pipelines)

Personal YouTube — browse, search, and stream videos from an Immich instance via direct PostgreSQL access.

## Install

```bash
pip install fastpluggy-video-browser
```

## Usage

Configure the following settings (via env vars or the FastPluggy admin UI):

| Setting | Default | Description |
|---------|---------|-------------|
| `IMMICH_DB_URL` | `postgresql://postgres:postgres@localhost:5432/immich` | Immich PostgreSQL connection string |
| `IMMICH_UPLOAD_PATH` | *(required)* | Host-side mount of Immich's `/usr/src/app/upload` volume |
| `IMMICH_THUMBS_PATH` | *(auto)* | Thumbnails path — defaults to `{upload_path}/thumbs` |
| `IMMICH_ENCODED_VIDEO_PATH` | *(auto)* | Transcoded video path — defaults to `{upload_path}/encoded-video` |
| `VIDEOS_PER_PAGE` | `24` | Videos per page in grid view |

Browse to `/plugin-pkg/video_browser/` after enabling the plugin.
