# AGENTS.md

The Free Software Media System - Server Backend & API

## Setup

```
# TODO: the install command. No lockfile was found, so this could not be inferred.
```

## Commands

```
# TODO: nothing declares a build or test command, so an agent has to guess.
# This is the single most valuable section of this file. Fill it in.
```

## Layout

- `MediaBrowser.Controller/` 387 source files
- `MediaBrowser.Model/`      307 source files
- `src/`                     294 source files
- `tests/`                   235 source files
- `Jellyfin.Api/`            169 source files
- `MediaBrowser.Providers/`  159 source files

## Conventions

- Tests live alongside the code they cover, following `tests/Directory.Build.props`.
- CI defines what passing means. See `.github/workflows/ci-codeql-analysis.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs` is 345KB. It will not fit comfortably in context, so read it in parts.
- No lockfile is committed, so an install here may not match what CI produced.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
