RepositoryC#SESweden
enoch85

enoch85/bazarr-jellyfin

Search and download subtitles directly from Jellyfin using your Bazarr instance.

203stars
1forks
0issues
3views

Featured achievements

The project's latest awards

2
TINIX TRENDING·Topic: bazarr

#2 Repository of the week

5
TINIX TRENDING·Topic: jellyfin-plugin

#5 Repository of the week

1
TINIX TRENDING·Topic: bazarr

#1 Repository of the week

Jellyfin Bazarr Plugin

GitHub Release License

Overview

This plugin integrates Jellyfin with Bazarr to provide on-demand subtitle searching and downloading. Instead of navigating to Bazarr's web UI, users can search and download subtitles directly from Jellyfin's native subtitle interface.

Features

  • Native Integration - Uses Jellyfin's built-in subtitle search UI
  • Movies & Episodes - Full support for both content types
  • Smart Caching - Results cached for 1 hour to avoid repeated searches
  • Background Search - Long searches continue in background, UI stays responsive
  • One-Click Download - Select and download subtitles instantly
  • Auto-Refresh - Library automatically refreshes after download

How it works

1. Edit subtitle

image

2. Choose language, and hit search

image

3. If the search takes longer than your set value (default 25 seconds), this placeholder pops up.

image

Architecture

Data Flow

flowchart TB
    subgraph media[Shared Media Folders]
        folders["/movies    /tv"]
    end
    
    subgraph arr[*arr Stack]
        sonarr["Sonarr (:8989)"]
        radarr["Radarr (:7878)"]
        bazarr["Bazarr (:6767)"]
        sonarr --> bazarr
        radarr --> bazarr
    end
    
    subgraph jf[Jellyfin]
        plugin[Bazarr Plugin]
    end
    
    bazarr -->|writes subtitles| media
    media -->|reads| jf
    plugin <-->|API| bazarr

Search & Download Flow

Search Flow

flowchart TB
    A[User clicks Search] --> B[Plugin receives TMDB/TVDB ID]
    B --> C[Lookup Bazarr ID]
    C --> D[Search subtitles]
    D --> E{Results within 25s?}
    E -->|Yes| F[Return subtitle list]
    E -->|No| G[Return placeholder]
    G --> H[Search continues in background]
    H --> I[Results cached 1 hour]
    I --> J[Click Search again]
    J --> F

Download Flow

flowchart TB
    A[Select subtitle] --> B[Plugin decodes ID]
    B --> C[POST to Bazarr]
    C --> D[Bazarr downloads .srt]
    D --> E[Trigger library refresh]
    E --> F[Subtitle in player]

Installation

From Repository (Recommended)

  1. Go to Dashboard → Plugins → Repositories
  2. Add: https://raw.githubusercontent.com/enoch85/bazarr-jellyfin/main/manifest.json
  3. Install "Bazarr" from Catalog
  4. Restart Jellyfin

Manual Installation

  1. Download latest release from GitHub Releases
  2. Extract to plugins directory:
    • Linux: ~/.local/share/jellyfin/plugins/Bazarr/
    • Docker: /config/plugins/Bazarr/
    • Windows: %AppData%\Jellyfin\plugins\Bazarr\
  3. Restart Jellyfin

Configuration

Navigate to Dashboard → Plugins → Bazarr:

SettingDescription
Bazarr URLYour Bazarr instance URL (e.g., http://localhost:6767)
Bazarr API KeyAPI key from Bazarr Settings → General
Enable for MoviesAllow subtitle search for movies
Enable for EpisodesAllow subtitle search for TV episodes
Search TimeoutUI timeout before showing placeholder (default: 25s). Search continues in background.

Click Test Connection to verify your settings.

Development

Prerequisites

  • .NET 9.0 SDK
  • Jellyfin Server 10.10+ for testing

Building

git clone https://github.com/enoch85/bazarr-jellyfin.git
cd bazarr-jellyfin
dotnet build

Testing

dotnet test

Release Process

git tag -a v1.x.x -m "Description" && git push origin v1.x.x

The GitHub Actions workflow automatically builds and publishes the release.

Reverse Proxy Setup

If Bazarr is behind an authentication proxy (Authentik, Authelia, Keycloak, etc.), the plugin cannot authenticate with OAuth2 - it only has an API key for Bazarr.

Solution: Bypass authentication for Bazarr's API paths.

Traefik + Authentik

http:
  routers:
    bazarr-api:
      rule: "Host(`bazarr.example.com`) && PathPrefix(`/api`)"
      service: bazarr
      # No authentik middleware - direct access
    bazarr-ui:
      rule: "Host(`bazarr.example.com`)"
      service: bazarr
      middlewares:
        - authentik
      priority: 1

Nginx

location /api/ {
    proxy_pass http://bazarr:6767/api/;
    # No auth for API
}

location / {
    proxy_pass http://bazarr:6767/;
    auth_request /auth;
}

Use the internal container name instead of the external URL:

Plugin config: http://bazarr:6767
Browser access: https://bazarr.example.com (with auth)

Security Note

Don't worry - this is safe:

  • Internal URLs (localhost, http://bazarr:6767) never leave your machine/Docker network
  • Bazarr's API key still protects all API endpoints, even without the auth proxy
  • You're only bypassing the external authentication layer, not removing security

Troubleshooting

Subtitle search shows "Search in progress"

This is normal - Bazarr is querying multiple providers which takes time. Wait 5-15 minutes and click Search again to see cached results.

Downloaded subtitle doesn't appear

The plugin triggers a library refresh after download. If it still doesn't appear:

  1. Manually refresh the item in Jellyfin
  2. Check that Bazarr successfully downloaded the file to the media folder

Movie/Episode not found in Bazarr

Ensure the item exists in Radarr/Sonarr and Bazarr has synced. The plugin matches by TMDB ID (movies) or TVDB ID (episodes).

Connection test fails with HTML/redirect errors

See Reverse Proxy Setup if using an authentication proxy.

Otherwise, verify your URL format:

  • Use base URL: http://localhost:6767 (not http://localhost:6767/api)
  • Check network access from Jellyfin to Bazarr
  • Test: http://your-bazarr-url/api/system/languages should return JSON, not HTML

License

GPLv3

Contributing

Contributions welcome! Please open an issue or PR on GitHub.

Similar Projects

Discover other similar projects and AI models.

RepositoryC#
metatube-community/jellyfin-plugin-metatube

MetaTube Plugin for Jellyfin/Emby

4.6k
Nov 30, 2026
RepositoryC#
intro-skipper/intro-skipper

Automatically detect and skip intro/credit sequences in Jellyfin

3.0k
Nov 30, 2026
RepositoryC#
cxfksword/jellyfin-plugin-metashark

jellyfin电影元数据插件

2.2k
Nov 23, 2026
RepositoryPython
NeptuneHub/AudioMuse-AI

AudioMuse-AI uses sonic analysis to rediscover forgotten songs, uncover hidden connections in your music library, and generate intelligent playlists for Navidrome, Jellyfin, LMS, Lyrion, Emby and Plex: no metadata or external services required.

3.1k
Dec 2, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

147.3k
Dec 1, 2026
RepositoryC#
jellyfin/jellyfin

The Free Software Media System - Server Backend & API

60.0k
Dec 1, 2026
RepositoryC#
Apps2Samsung/Apps2Samsung

One-click app installer for Samsung TVs, projectors and smart monitors (Tizen) -Jellyfin, Moonlight, and the whole community catalog.

2.8k
Nov 30, 2026
RepositoryC#
9p4/jellyfin-plugin-sso

This plugin allows users to sign in through an SSO provider (such as Google, Microsoft, or your own provider). This enables one-click signin.

1.4k
May 12, 2026
RepositoryC#
kookxiang/jellyfin-plugin-bangumi

bgm.tv plugin for jellyfin

1.2k
Nov 5, 2026