Metadata-Version: 2.4
Name: kurmann-mediathek-manager
Version: 0.1.0
Summary: Generiert statische HTML-Bibliotheken aus Videodateien – archivierungsfähig, ohne Server, ohne Datenbank.
License: MIT License
        
        Copyright (c) 2026 Patrick Kurmann
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/kurmann/mediathek-manager
Project-URL: Repository, https://github.com/kurmann/mediathek-manager
Project-URL: Changelog, https://github.com/kurmann/mediathek-manager/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/kurmann/mediathek-manager/issues
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer>=0.12
Requires-Dist: rich>=13
Requires-Dist: jinja2>=3
Requires-Dist: pyyaml>=6
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Dynamic: license-file

# Mediathek Manager

Generiert statische HTML-Bibliotheken aus Videodateien — archivierungsfähig, ohne Server, ohne Datenbank.

Das Tool scannt Verzeichnisse mit Videodateien (M4V, MP4, MKV), extrahiert eingebettete Metadaten (Titel, Tags, Kapitel, Beschreibungen, Cover Art) und generiert eine navigierbare HTML-Bibliothek direkt neben den Videos. Jedes Verzeichnis wird eine eigenständige, modulare Bibliothek mit Stichwort-Index, Album- und Genre-Übersichten.

## Voraussetzungen

- Python >= 3.11
- ffprobe und ffmpeg (für Metadaten-Extraktion und Thumbnails)

## Installation

```bash
# Via PyPI
pip install kurmann-mediathek-manager

# Lokale Entwicklung
uv sync
```

## Verwendung

```bash
# Bibliothek generieren
mediathek-manager generate /pfad/zum/videoverzeichnis

# Nur scannen (zeigt gefundene Videos und Metadaten)
mediathek-manager scan /pfad/zum/videoverzeichnis

# Konfiguration
mediathek-manager config list
mediathek-manager config set ffprobe.path /usr/local/bin/ffprobe
```

## Konfiguration

Persistente Konfiguration unter `~/.config/mediathek-manager/config.toml`:

```toml
[tools]
ffprobe_path = "ffprobe"
ffmpeg_path = "ffmpeg"

[thumbnails]
fallback_seconds = 10
```

## Änderungsverlauf

Siehe [CHANGELOG.md](CHANGELOG.md).

## Lizenz

MIT — siehe [LICENSE](LICENSE).
