# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Medusa
spec:
    description: |
        Medusa is an automatic video library manager for TV shows. It watches for new episodes of your favorite shows and when they are posted it downloads, sorts, and renames them. Supports multiple download clients and notification services.
    coverImage: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/medusa-icon.png
    icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/medusa-icon.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Medusa web UI
    tags:
        - Tool
        - Media
    readme: |
        # Medusa

        Medusa is an automatic video library manager for TV shows. It monitors RSS feeds and torrent/Usenet indexers for new episodes, downloads them via your preferred client, and organizes your library with proper naming and metadata.

        ## Features

        - **Automatic Episode Tracking** - Monitors your shows and downloads new episodes as they air
        - **Multiple Download Clients** - Supports SABnzbd, NZBGet, Transmission, qBittorrent, Deluge, and more
        - **Smart Renaming** - Automatically renames and sorts episodes into your library structure
        - **Subtitle Downloads** - Automatic subtitle fetching from multiple providers
        - **Notification Support** - Alerts via Kodi, Plex, email, Slack, Telegram, and more
        - **Manual Search** - Search for specific episodes across all configured providers
        - **Calendar View** - Visual calendar showing upcoming and recent episodes

        ## First Access

        Open your domain to access the Medusa web interface. The initial setup wizard will guide you through configuring your download client, indexers, and show library location.

        ## What You Can Do After Deployment

        1. **Open your domain** — access the Medusa web interface
        2. **Run the setup wizard** — configure basic settings, download client, and indexers
        3. **Add TV shows** — search for shows and add them to your library
        4. **Configure download client** — connect SABnzbd, qBittorrent, or another client
        5. **Set up indexers** — add torrent trackers or Usenet indexers
        6. **Enable notifications** — configure alerts for new downloads via your preferred channels

        ## Volumes

        - `/config` — Medusa settings, database, and logs
        - `/downloads` — download location
        - `/tv` — TV show library location

        ## License

        GPL-3.0 — [GitHub](https://github.com/pymedusa/Medusa)
    services:
        - name: medusa
          icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/medusa-icon.png
          template: PREBUILT_V2
          spec:
            source:
                image: linuxserver/medusa:1.0.25
            ports:
                - id: web
                  port: 8081
                  type: HTTP
            volumes:
                - id: config
                  dir: /config
                - id: downloads
                  dir: /downloads
                - id: tv
                  dir: /tv
            env:
                PGID:
                    default: "1000"
                PUID:
                    default: "1000"
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Medusa es un gestor automatico de biblioteca de video para series de TV. Vigila los nuevos episodios de tus series favoritas y cuando se publican los descarga, ordena y renombra. Soporta multiples clientes de descarga y servicios de notificacion.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a la interfaz web de Medusa
        readme: |
            # Medusa

            Medusa es un gestor automatico de biblioteca de video para series de TV. Monitorea feeds RSS e indexadores de torrents/Usenet para nuevos episodios, los descarga mediante su cliente preferido y organiza su biblioteca con nomenclatura y metadatos correctos.

            ## Primer acceso

            Abra su dominio para acceder a la interfaz web de Medusa. El asistente de configuracion inicial le guiara para configurar el cliente de descarga, indexadores y la ubicacion de la biblioteca.

            ## Que puede hacer despues del despliegue

            1. Abra su dominio — acceda a la interfaz web de Medusa
            2. Ejecute el asistente — configure ajustes basicos, cliente de descarga e indexadores
            3. Agregue series de TV — busque series y anadelas a su biblioteca
            4. Configure el cliente de descarga — conecte SABnzbd, qBittorrent u otro cliente
            5. Configure indexadores — agregue rastreadores de torrents o indexadores Usenet
            6. Active notificaciones — configure alertas de nuevas descargas por sus canales preferidos

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/pymedusa/Medusa)
    id-ID:
        description: |
            Medusa adalah pengelola perpustakaan video otomatis untuk acara TV. Memantau episode baru acara favorit Anda dan saat dipublikasikan akan mengunduh, mengurutkan, dan mengganti namanya. Mendukung beberapa klien unduhan dan layanan notifikasi.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses antarmuka web Medusa
        readme: |
            # Medusa

            Medusa adalah pengelola perpustakaan video otomatis untuk acara TV. Memantau feed RSS dan pengindeks torrent/Usenet untuk episode baru, mengunduhnya melalui klien pilihan Anda, dan mengorganisir perpustakaan dengan penamaan dan metadata yang tepat.

            ## Akses Pertama

            Buka domain Anda untuk mengakses antarmuka web Medusa. Wizard pengaturan awal akan memandu Anda mengkonfigurasi klien unduhan, pengindeks, dan lokasi perpustakaan acara.

            ## Yang Dapat Dilakukan Setelah Deploy

            1. Buka domain Anda — akses antarmuka web Medusa
            2. Jalankan wizard pengaturan — konfigurasi pengaturan dasar, klien unduhan, dan pengindeks
            3. Tambahkan acara TV — cari acara dan tambahkan ke perpustakaan
            4. Konfigurasi klien unduhan — hubungkan SABnzbd, qBittorrent, atau klien lain
            5. Atur pengindeks — tambahkan pelacak torrent atau pengindeks Usenet
            6. Aktifkan notifikasi — konfigurasi peringatan unduhan baru melalui saluran pilihan

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/pymedusa/Medusa)
    ja-JP:
        description: |
            Medusa はTV番組の自動ビデオライブラリマネージャーです。お気に入りの番組の新エピソードを監視し、投稿されるとダウンロード、整理、リネームします。複数のダウンロードクライアントと通知サービスに対応。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Medusa Web UI にアクセスするためのドメイン
        readme: |
            # Medusa

            Medusa はTV番組の自動ビデオライブラリマネージャーです。RSS フィードやトレント/Usenet インデクサーを監視して新エピソードを取得し、お好みのクライアントでダウンロードし、適切な命名とメタデータでライブラリを整理します。

            ## 初回アクセス

            ドメインを開いて Medusa の Web インターフェースにアクセスします。初期セットアップウィザードがダウンロードクライアント、インデクサー、番組ライブラリの場所の設定を案内します。

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

            1. ドメインを開く — Medusa の Web インターフェースにアクセス
            2. セットアップウィザードを実行 — 基本設定、ダウンロードクライアント、インデクサーを構成
            3. TV 番組を追加 — 番組を検索してライブラリに追加
            4. ダウンロードクライアントを設定 — SABnzbd、qBittorrent などを接続
            5. インデクサーを設定 — トレントトラッカーまたは Usenet インデクサーを追加
            6. 通知を有効化 — お好みのチャンネルで新しいダウンロードの通知を設定

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/pymedusa/Medusa)
    ko-KR:
        description: |
            Medusa는 TV 프로그램을 위한 자동 비디오 라이브러리 관리자입니다. 좋아하는 프로그램의 새 에피소드를 감시하고 게시되면 다운로드, 정렬, 이름 변경합니다. 여러 다운로드 클라이언트와 알림 서비스를 지원합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Medusa 웹 UI에 접속할 도메인
        readme: |
            # Medusa

            Medusa는 TV 프로그램을 위한 자동 비디오 라이브러리 관리자입니다. RSS 피드와 토렌트/Usenet 인덱서를 모니터링하여 새 에피소드를 가져오고, 선호하는 클라이언트로 다운로드하며, 올바른 이름과 메타데이터로 라이브러리를 정리합니다.

            ## 첫 접속

            도메인을 열어 Medusa 웹 인터페이스에 접속합니다. 초기 설정 마법사가 다운로드 클라이언트, 인덱서, 프로그램 라이브러리 위치 설정을 안내합니다.

            ## 배포 후 할 수 있는 것

            1. 도메인 열기 — Medusa 웹 인터페이스에 접속
            2. 설정 마법사 실행 — 기본 설정, 다운로드 클라이언트, 인덱서 구성
            3. TV 프로그램 추가 — 프로그램을 검색하여 라이브러리에 추가
            4. 다운로드 클라이언트 설정 — SABnzbd, qBittorrent 등을 연결
            5. 인덱서 설정 — 토렌트 트래커 또는 Usenet 인덱서 추가
            6. 알림 활성화 — 선호하는 채널로 새 다운로드 알림 설정

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/pymedusa/Medusa)
    th-TH:
        description: |
            Medusa เป็นตัวจัดการคลังวิดีโออัตโนมัติสำหรับรายการทีวี ติดตามตอนใหม่ของรายการที่คุณชื่นชอบ และเมื่อเผยแพร่จะดาวน์โหลด จัดเรียง และเปลี่ยนชื่อโดยอัตโนมัติ รองรับไคลเอนต์ดาวน์โหลดและบริการแจ้งเตือนหลายตัว
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึงอินเทอร์เฟซเว็บ Medusa
        readme: |
            # Medusa

            Medusa เป็นตัวจัดการคลังวิดีโออัตโนมัติสำหรับรายการทีวี ติดตาม RSS feed และตัวจัดทำดัชนี torrent/Usenet เพื่อค้นหาตอนใหม่ ดาวน์โหลดผ่านไคลเอนต์ที่คุณเลือก และจัดระเบียบคลังด้วยการตั้งชื่อและข้อมูลเมตาที่ถูกต้อง

            ## การเข้าถึงครั้งแรก

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

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

            1. เปิดโดเมน — เข้าถึงอินเทอร์เฟซเว็บ Medusa
            2. เรียกใช้ตัวช่วยตั้งค่า — กำหนดค่าพื้นฐาน ไคลเอนต์ดาวน์โหลด และตัวจัดทำดัชนี
            3. เพิ่มรายการทีวี — ค้นหารายการและเพิ่มลงในคลัง
            4. กำหนดค่าไคลเอนต์ดาวน์โหลด — เชื่อมต่อ SABnzbd, qBittorrent หรือไคลเอนต์อื่น
            5. ตั้งค่าตัวจัดทำดัชนี — เพิ่ม torrent tracker หรือตัวจัดทำดัชนี Usenet
            6. เปิดการแจ้งเตือน — กำหนดค่าการแจ้งเตือนดาวน์โหลดใหม่ผ่านช่องทางที่ชื่นชอบ

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

            GPL-3.0 — [GitHub](https://github.com/pymedusa/Medusa)
    zh-CN:
        description: |
            Medusa 是一款自动化的电视节目视频库管理工具。它监视您喜爱节目的新集数，在发布后自动下载、排序和重命名。支持多种下载客户端和通知服务。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Medusa 网页界面的域名
        readme: |
            # Medusa

            Medusa 是一款自动化的电视节目视频库管理工具。它监视 RSS 订阅和种子/Usenet 索引器以获取新集数，通过您偏好的客户端下载，并以正确的命名和元数据整理您的视频库。

            ## 首次访问

            打开您的域名以访问 Medusa 网页界面。初始设置向导将引导您配置下载客户端、索引器和节目库位置。

            ## 部署后可以做什么

            1. 打开您的域名 — 访问 Medusa 网页界面
            2. 运行设置向导 — 配置基本设置、下载客户端和索引器
            3. 添加电视节目 — 搜索节目并加入您的视频库
            4. 配置下载客户端 — 连接 SABnzbd、qBittorrent 或其他客户端
            5. 设置索引器 — 添加种子跟踪器或 Usenet 索引器
            6. 启用通知 — 通过偏好的渠道配置新下载的通知

            ## 许可证

            GPL-3.0 — [GitHub](https://github.com/pymedusa/Medusa)
    zh-TW:
        description: |
            Medusa 是一款自動化的電視節目影片庫管理工具。它監視您喜愛節目的新集數，在發布後自動下載、排序和重新命名。支援多種下載客戶端和通知服務。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Medusa 網頁介面的網域
        readme: |
            # Medusa

            Medusa 是一款自動化的電視節目影片庫管理工具。它監視 RSS 訂閱和種子/Usenet 索引器以取得新集數，透過您偏好的客戶端下載，並以正確的命名和中繼資料整理您的影片庫。

            ## 首次存取

            開啟您的網域以存取 Medusa 網頁介面。初始設定精靈將引導您配置下載客戶端、索引器和節目庫位置。

            ## 部署後可以做什麼

            1. 開啟您的網域 — 存取 Medusa 網頁介面
            2. 執行設定精靈 — 配置基本設定、下載客戶端和索引器
            3. 新增電視節目 — 搜尋節目並加入您的影片庫
            4. 設定下載客戶端 — 連接 SABnzbd、qBittorrent 或其他客戶端
            5. 設定索引器 — 新增種子追蹤器或 Usenet 索引器
            6. 啟用通知 — 透過偏好的管道設定新下載的通知

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/pymedusa/Medusa)
