# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Beets
spec:
    description: |
        Beets is a self-hosted music library manager with a web UI. It catalogs your collection, automatically corrects metadata, fetches album art, and provides a browser-based interface to browse and play your library.
    coverImage: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/beets-icon.png
    icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/beets-icon.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Beets web UI
    tags:
        - Tool
        - Entertainment
        - Media
    readme: |
        # Beets

        A powerful music library manager that catalogs your collection, automatically corrects metadata, and provides a web-based interface for browsing and playback. Beets handles the tedious work of organizing music files so you can focus on listening.

        ## What You Can Do After Deployment

        1. **Visit your domain** — the Beets web UI is available on port 8337
        2. **Upload music** — place audio files in the `/downloads` volume for importing, or directly into `/music` for your library
        3. **Browse in browser** — the built-in web player lets you browse by artist, album, or track and play music directly
        4. **Manage via CLI** — use `beet import /downloads` to import new music with automatic metadata correction
        5. **Customize plugins** — edit the config at `/config/config.yaml` to enable plugins like fetchart, lyrics, lastgenre, and more

        ## Key Features

        - Web-based UI for browsing and playing your music library
        - Automatic metadata correction using MusicBrainz
        - Album art fetching and embedding
        - Duplicate detection
        - Extensible plugin system (lyrics, ReplayGain, genre tagging, etc.)
        - Smart queries for filtering your library
        - Support for MP3, FLAC, AAC, OGG, WMA, and most audio formats

        ## Volumes

        - `/config` — Beets configuration and database
        - `/music` — Your organized music library
        - `/downloads` — Drop folder for music files to import

        ## Configuration

        Edit `/config/config.yaml` inside the container to customize behavior. Enable the web plugin (enabled by default in this image) to serve the browser UI on port 8337.

        ## License

        MIT — [GitHub](https://github.com/beetbox/beets) | [Website](https://beets.io)
    services:
        - name: beets
          icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/beets-icon.png
          template: PREBUILT_V2
          spec:
            source:
                image: linuxserver/beets:2.8.0
            ports:
                - id: web
                  port: 8337
                  type: HTTP
            volumes:
                - id: config
                  dir: /config
                - id: music
                  dir: /music
                - id: downloads
                  dir: /downloads
            env:
                PGID:
                    default: "1000"
                PUID:
                    default: "1000"
                TZ:
                    default: Etc/UTC
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Beets es un gestor de bibliotecas musicales autoalojado con interfaz web. Corrige metadatos automáticamente, obtiene carátulas y permite navegar y reproducir tu colección desde el navegador.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a la interfaz web de Beets
        readme: |
            # Beets

            Gestor de bibliotecas musicales que cataloga tu colección, corrige metadatos automáticamente y ofrece una interfaz web para navegar y reproducir.

            ## Qué puedes hacer después del despliegue

            1. **Visita tu dominio** — la interfaz web de Beets está en el puerto 8337
            2. **Sube música** — coloca archivos en el volumen `/downloads` para importar, o directamente en `/music`
            3. **Reproduce en el navegador** — reproductor web integrado para navegar por artista/álbum/pista
            4. **Gestiona por CLI** — usa `beet import /downloads` para importar con corrección automática de metadatos
            5. **Personaliza plugins** — edita `/config/config.yaml` para habilitar fetchart, lyrics, etc.

            ## Características

            - Interfaz web para navegar y reproducir
            - Corrección automática de metadatos con MusicBrainz
            - Obtención e incrustación de carátulas
            - Detección de duplicados
            - Sistema de plugins extensible

            ## Licencia

            MIT — [GitHub](https://github.com/beetbox/beets)
    id-ID:
        description: |
            Beets adalah pengelola perpustakaan musik self-hosted dengan UI web. Otomatis memperbaiki metadata, mengambil sampul album, dan menyediakan antarmuka browser untuk menelusuri dan memutar koleksi musik.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses UI web Beets
        readme: |
            # Beets

            Pengelola perpustakaan musik yang mengkatalog koleksi, memperbaiki metadata secara otomatis, dan menyediakan antarmuka web untuk menelusuri dan memutar.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — UI web Beets tersedia di port 8337
            2. **Upload musik** — letakkan file audio di volume `/downloads` untuk impor, atau langsung di `/music`
            3. **Putar di browser** — pemutar web bawaan untuk menelusuri berdasarkan artis/album/trek
            4. **Kelola via CLI** — gunakan `beet import /downloads` untuk impor dengan koreksi metadata otomatis
            5. **Kustomisasi plugin** — edit `/config/config.yaml`

            ## Fitur

            - Antarmuka web untuk menelusuri dan memutar
            - Koreksi metadata otomatis dengan MusicBrainz
            - Pengambilan dan penyematan sampul album
            - Deteksi duplikat
            - Sistem plugin yang dapat diperluas

            ## Lisensi

            MIT — [GitHub](https://github.com/beetbox/beets)
    ja-JP:
        description: |
            Beetsはセルフホストの音楽ライブラリ管理ツールで、Web UIを搭載。メタデータの自動修正、アルバムアート取得、ブラウザで音楽コレクションの閲覧・再生が可能。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Beets Web UIにアクセスするためのドメイン
        readme: |
            # Beets

            音楽ライブラリの管理ツール。メタデータの自動修正とWebベースの閲覧・再生インターフェースを提供。

            ## デプロイ後にできること

            1. **ドメインにアクセス** — Beets Web UIはポート8337で利用可能
            2. **音楽をアップロード** — `/downloads` ボリュームにインポート用ファイルを配置、または `/music` に直接配置
            3. **ブラウザで再生** — アーティスト/アルバム/トラック別に閲覧・再生
            4. **CLIで管理** — `beet import /downloads` で新しい音楽をインポート
            5. **プラグインをカスタマイズ** — `/config/config.yaml` を編集

            ## 主な機能

            - Webベースの閲覧・再生UI
            - MusicBrainzによるメタデータ自動修正
            - アルバムアートの取得・埋め込み
            - 重複検出
            - 拡張可能なプラグインシステム

            ## ライセンス

            MIT — [GitHub](https://github.com/beetbox/beets)
    ko-KR:
        description: |
            Beets는 웹 UI가 포함된 셀프호스팅 음악 라이브러리 관리 도구입니다. 메타데이터 자동 수정, 앨범 아트 가져오기, 브라우저에서 음악 컬렉션 탐색 및 재생이 가능합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Beets 웹 UI에 접속할 도메인
        readme: |
            # Beets

            음악 라이브러리를 카탈로그화하고 메타데이터를 자동으로 수정하며 웹 인터페이스로 탐색 및 재생할 수 있는 관리 도구입니다.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — Beets 웹 UI는 포트 8337에서 이용 가능
            2. **음악 업로드** — `/downloads` 볼륨에 가져올 오디오 파일 배치, 또는 `/music`에 직접 배치
            3. **브라우저에서 재생** — 아티스트/앨범/트랙별 탐색 및 재생
            4. **CLI로 관리** — `beet import /downloads`로 메타데이터 자동 수정과 함께 새 음악 가져오기
            5. **플러그인 커스터마이즈** — `/config/config.yaml` 편집

            ## 주요 기능

            - 웹 기반 탐색 및 재생 UI
            - MusicBrainz를 이용한 메타데이터 자동 수정
            - 앨범 아트 가져오기 및 임베딩
            - 중복 감지
            - 확장 가능한 플러그인 시스템

            ## 라이선스

            MIT — [GitHub](https://github.com/beetbox/beets)
    th-TH:
        description: |
            Beets คือเครื่องมือจัดการคลังเพลงแบบ self-hosted พร้อม Web UI แก้ไขเมตาดาต้าอัตโนมัติ ดึงปกอัลบั้ม และเรียกดู/เล่นเพลงผ่านเบราว์เซอร์
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Beets Web UI
        readme: |
            # Beets

            เครื่องมือจัดการคลังเพลงที่จัดหมวดหมู่คอลเลกชัน แก้ไขเมตาดาต้าอัตโนมัติ และมีเว็บอินเตอร์เฟซสำหรับเรียกดูและเล่น

            ## สิ่งที่ทำได้หลังจากติดตั้ง

            1. **เข้าสู่โดเมน** — Beets Web UI พร้อมใช้งานที่พอร์ต 8337
            2. **อัปโหลดเพลง** — วางไฟล์เสียงในโวลุ่ม `/downloads` เพื่อนำเข้า หรือวางใน `/music` โดยตรง
            3. **เล่นในเบราว์เซอร์** — เว็บเพลเยอร์สำหรับเรียกดูตามศิลปิน/อัลบั้ม/แทร็ก
            4. **จัดการผ่าน CLI** — ใช้ `beet import /downloads` เพื่อนำเข้าพร้อมแก้ไขเมตาดาต้าอัตโนมัติ
            5. **ปรับแต่งปลั๊กอิน** — แก้ไข `/config/config.yaml`

            ## ฟีเจอร์หลัก

            - เว็บอินเตอร์เฟซสำหรับเรียกดูและเล่น
            - แก้ไขเมตาดาต้าอัตโนมัติด้วย MusicBrainz
            - ดึงและฝังปกอัลบั้ม
            - ตรวจจับไฟล์ซ้ำ
            - ระบบปลั๊กอินที่ขยายได้

            ## สัญญาอนุญาต

            MIT — [GitHub](https://github.com/beetbox/beets)
    zh-CN:
        description: |
            Beets 是自托管的音乐库管理工具，带有 Web 界面。自动修正元数据、获取专辑封面，通过浏览器浏览和播放音乐收藏。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Beets Web 界面的域名
        readme: |
            # Beets

            强大的音乐库管理工具，自动分类和修正音乐文件的元数据，提供网页界面进行浏览和播放。

            ## 部署后可以做什么

            1. **打开域名** — Beets Web 界面运行在 port 8337
            2. **上传音乐** — 将音频文件放入 `/downloads` 存储卷导入，或直接放入 `/music`
            3. **浏览器播放** — 内置网页播放器，按艺人/专辑/曲目浏览和播放
            4. **通过 CLI 管理** — 使用 `beet import /downloads` 导入新音乐并自动修正元数据
            5. **自定义插件** — 编辑 `/config/config.yaml` 启用 fetchart、lyrics、lastgenre 等插件

            ## 主要功能

            - 网页浏览和播放界面
            - 使用 MusicBrainz 自动修正元数据
            - 自动获取和嵌入专辑封面
            - 重复检测
            - 可扩展的插件系统
            - 支持 MP3、FLAC、AAC、OGG 等格式

            ## 授权

            MIT — [GitHub](https://github.com/beetbox/beets)
    zh-TW:
        description: |
            Beets 是自架的音樂庫管理工具，附帶 Web 介面。自動修正元資料、取得專輯封面，並透過瀏覽器介面瀏覽與播放音樂收藏。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Beets Web 介面的網域
        readme: |
            # Beets

            強大的音樂庫管理工具，自動分類與修正音樂檔案的元資料，並提供網頁介面進行瀏覽與播放。

            ## 部署後可以做什麼

            1. **開啟網域** — Beets Web 介面運行於 port 8337
            2. **上傳音樂** — 將音訊檔案放入 `/downloads` 磁碟區匯入，或直接放入 `/music`
            3. **瀏覽器播放** — 內建網頁播放器，依藝人、專輯或曲目瀏覽並播放
            4. **透過 CLI 管理** — 使用 `beet import /downloads` 匯入新音樂並自動修正元資料
            5. **自訂外掛** — 編輯 `/config/config.yaml` 啟用 fetchart、lyrics、lastgenre 等外掛

            ## 主要功能

            - 網頁瀏覽與播放介面
            - 使用 MusicBrainz 自動修正元資料
            - 自動取得與嵌入專輯封面
            - 重複偵測
            - 可擴展的外掛系統（歌詞、ReplayGain、曲風標記等）
            - 支援 MP3、FLAC、AAC、OGG、WMA 等格式

            ## 授權

            MIT — [GitHub](https://github.com/beetbox/beets)
