name: Bug Report
description: Before opening a new issue, please search to see if an issue already exists for the bug you encountered.
title: "[Bug]: "
labels: ["bug", "triage"]
#assignees:
#  - deluan
body:
  - type: markdown
    attributes:
      value: |
        ### Thanks for taking the time to fill out this bug report!
  - type: checkboxes
    id: requirements
    attributes:
      label: "I confirm that:"
      options:
        - label: I have searched the existing [open AND closed issues](https://github.com/navidrome/navidrome/issues?q=is%3Aissue) to see if an issue already exists for the bug I've encountered
          required: true
        - label: I'm using the latest version (your issue may have been fixed already)
          required: false
  - type: input
    id: version
    attributes:
      label: Version
      description: What version of Navidrome are you running? (please try upgrading first, as your issue may have been fixed already).
    validations:
      required: true
  - type: textarea
    attributes:
      label: Current Behavior
      description: A concise description of what you're experiencing.
    validations:
      required: true
  - type: textarea
    attributes:
      label: Expected Behavior
      description: A concise description of what you expected to happen.
    validations:
      required: true
  - type: textarea
    attributes:
      label: Steps To Reproduce
      description: Steps to reproduce the behavior.
      placeholder: |
        1. In this scenario...
        2. With this config...
        3. Click (or Execute) '...'
        4. See error...
    validations:
      required: false
  - type: textarea
    id: env
    attributes:
      label: Environment
      description: |
        examples:
          - **OS**: Ubuntu 20.04
          - **Browser**: Chrome 110.0.5481.177 on Windows 11
          - **Client**: DSub 5.5.1
      value: |
        - OS:
        - Browser:
        - Client:
      render: markdown
  - type: dropdown
    id: distribution
    attributes:
      label: How Navidrome is installed?
      multiple: false
      options:
        - Docker
        - Binary (from downloads page)
        - Package
        - Built from sources
    validations:
      required: true
  - type: textarea
    id: config
    attributes:
      label: Configuration
      description: Please copy and paste your `navidrome.toml` (and/or `docker-compose.yml`) configuration. This will be automatically formatted into code, so no need for backticks.
      render: toml
  - type: textarea
    id: logs
    attributes:
      label: Relevant log output
      description: Please copy and paste any relevant log output (change your `LogLevel` (`ND_LOGLEVEL`) to debug). This will be automatically formatted into code, so no need for backticks. ([Where I can find the logs?](https://www.navidrome.org/docs/faq/#where-are-the-logs))
      render: shell
  - type: textarea
    attributes:
      label: Anything else?
      description: |
        Links? References? Anything that will give us more context about the issue you are encountering!

        Tip: You can attach screenshots by clicking this area to highlight it and then dragging files in.
  - type: checkboxes
    id: terms
    attributes:
      label: Code of Conduct
      description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/navidrome/navidrome/blob/master/CODE_OF_CONDUCT.md).
      options:
        - label: I agree to follow Navidrome's Code of Conduct
          required: true
