{
  "config": {
    "step": {
      "init": {
        "data": {
          "url": "URL of the Music Assistant server"
        }
      },
      "manual": {
        "title": "Manually add Music Assistant server",
        "description": "Enter the URL to your already running Music Assistant server for Music Assistant Queue Actions to use. If you do not have the Music Assistant server running, you should install it first.",
        "data": {
          "url": "URL of the Music Assistant server"
        }
      },
      "discovery_confirm": {
        "description": "Do you want to add Music Assistant Queue Actions (via the Music Assistant server `{url}`) to Home Assistant?",
        "title": "Discovered Music Assistant server"
      }
    },
    "error": {
      "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
      "invalid_server_version": "The Music Assistant server is not the correct version",
      "unknown": "[%key:common::config_flow::error::unknown%]"
    },
    "abort": {
      "already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
      "already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
      "reconfiguration_successful": "Successfully reconfigured the Music Assistant Queue Action integration.",
      "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
      "reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]"
    }
  },
  "options": {
    "step": {
      "init": {
        "data": {
          "download_local": "Attempt fallback support for local media images. May cause performance issues. Only enable if you cannot see media images for your players."
        }
      }
    }
  },
  "issues": {
    "invalid_server_version": {
      "title": "The Music Assistant server is not the correct version",
      "description": "Check if there are updates available for the Music Assistant server and/or MA Queue Actions integration."
    }
  },
  "services": {
    "get_queue_items": {
      "name": "Get Queue Items",
      "description": "Returns a list of the current items in a player's queue.",
      "fields": {
        "limit": {
          "name": "Limit",
          "description": "Limit on the number of items in queue to return."
        },
        "offset": {
          "name": "Offset",
          "description": "Location in queue to start where zero equals the first item in queue, not the current item.."
        },
        "limit_before": {
          "name": "Limit Before",
          "description": "Number of items to pull before current active item in queue.."
        },
        "limit_after": {
          "name": "Limit After",
          "description": "Number of items to pull after current active item in queue.."
        },
        "entity": {
          "name": "Entity",
          "description": "Music Assistant Media Player Entity."
        }
      }
    },
    "remove_queue_item": {
      "name": "Remove Queue Item",
      "description": "Removes an item from the current active queue for a player.",
      "fields": {
        "queue_item_id": {
          "name": "Queue Item ID",
          "description": "ID for the item to remove."
        },
        "entity": {
          "name": "Entity",
          "description": "Music Assistant Media Player Entity."
        }
      }
    },
    "move_queue_item_up": {
      "name": "Move Queue Item Up",
      "description": "Moves an item up in a player's queue.",
      "fields": {
        "queue_item_id": {
          "name": "Queue Item ID",
          "description": "ID for the item to move up."
        },
        "entity": {
          "name": "Entity",
          "description": "Music Assistant Media Player Entity."
        }
      }
    },
    "move_queue_item_down": {
      "name": "Move Queue Item Down",
      "description": "Moves an item down in a player's queue.",
      "fields": {
        "queue_item_id": {
          "name": "Queue Item ID",
          "description": "ID for the item to move down."
        },
        "entity": {
          "name": "Entity",
          "description": "Music Assistant Media Player Entity."
        }
      }
    },
    "move_queue_item_next": {
      "name": "Move Queue Item Next",
      "description": "Moves an item next in a player's queue.",
      "fields": {
        "queue_item_id": {
          "name": "Queue Item ID",
          "description": "ID for the item to move next."
        },
        "entity": {
          "name": "Entity",
          "description": "Music Assistant Media Player Entity."
        }
      }
    },
    "play_queue_item": {
      "name": "Play Queue Item",
      "description": "Plays an item that's currently in a player queue.",
      "fields": {
        "queue_item_id": {
          "name": "Queue Item ID",
          "description": "ID for the item to play."
        },
        "entity": {
          "name": "Entity",
          "description": "Music Assistant Media Player Entity."
        }
      }
    },
    "send_command": {
      "name": "Send Command",
      "description": "Sends a command to the Music Assistant API.",
      "fields": {
        "command": {
          "name": "Command",
          "description": "Command to send to Music Assistant."
        },
        "data": {
          "name": "Data",
          "description": "Command data to send."
        },
        "config_entry_id": {
          "name": "Config Entry ID",
          "description": "Config Entry ID for the Music Assistant Queue Items instance."
        }
      }
    },
    "unfavorite_current_item": {
      "name": "Unfavorite Current Item",
      "description": "Unfavorites the currently playing item in a player queue.",
      "fields": {
        "entity": {
          "name": "Entity",
          "description": "Music Assistant Media Player Entity."
        }
      }
    },
    "get_recommendations": {
      "name": "Get Recommendations",
      "description": "Get recommendations from your music providers.",
      "fields": {
        "entity": {
          "name": "Entity",
          "description": "Music Assistant Media Player Entity."
        },
        "providers": {
          "name": "Providers",
          "description": "Limit recommendations to the specified providers."
        }
      }
    },
    "get_group_volume": {
      "name": "Get Group Volume",
      "description": "Returns the volume for a player group.",
      "fields": {
        "entity": {
          "name": "Entity",
          "description": "Music Assistant Media Player Entity."
        }
      }
    },
    "set_group_volume": {
      "name": "Set Group Volume",
      "description": "Sets the volume for a player group.",
      "fields": {
        "entity": {
          "name": "Entity",
          "description": "Music Assistant Media Player Entity."
        },
        "volume_level": {
          "name": "Volume Level",
          "description": "Volume level to set the player to."
        }
      }
    },
    "clear_queue_from_here": {
      "name": "Clear Queue From Here",
      "description": "Clears all items before/after the current track in a queue.",
      "fields": {
        "entity": {
          "name": "Entity",
          "description": "Music Assistant Media Player Entity."
        }
      }
    },
    "get_playlist_tracks": {
      "name": "Get Playlist Tracks",
      "description": "Returns all tracks for the playlist given.",
      "fields": {
        "config_entry_id": {
          "name": "Config Entry ID",
          "description": "Config Entry ID for the Music Assistant Queue Items instance."
        },
        "uri": {
          "name": "Playlist URI",
          "description": "URI for the playlist."
        },
        "page": {
          "name": "Page",
          "description": "Page of results to return. If not provided, returns all."
        }
      }
    },
    "get_album_tracks": {
      "name": "Get Album Tracks",
      "description": "Returns all tracks for the album given.",
      "fields": {
        "config_entry_id": {
          "name": "Config Entry ID",
          "description": "Config Entry ID for the Music Assistant Queue Items instance."
        },
        "uri": {
          "name": "Album URI",
          "description": "URI for the album."
        },
        "page": {
          "name": "Page",
          "description": "Page of results to return. If not provided, returns all."
        }
      }
    },
    "get_artist_tracks": {
      "name": "Get Artist Tracks",
      "description": "Returns all tracks for the artist given.",
      "fields": {
        "config_entry_id": {
          "name": "Config Entry ID",
          "description": "Config Entry ID for the Music Assistant Queue Items instance."
        },
        "uri": {
          "name": "Artist URI",
          "description": "URI for the artist."
        },
        "page": {
          "name": "Page",
          "description": "Page of results to return. If not provided, returns all."
        }
      }
    },
    "get_podcast_episodes": {
      "name": "Get Podcast Episodes",
      "description": "Returns all episodes for the podcast given.",
      "fields": {
        "config_entry_id": {
          "name": "Config Entry ID",
          "description": "Config Entry ID for the Music Assistant Queue Items instance."
        },
        "uri": {
          "name": "Podcast URI",
          "description": "URI for the podcast."
        }
      }
    },
    "get_playlist": {
      "name": "Get Playlist",
      "description": "Returns information about a playlist from the server.",
      "fields": {
        "config_entry_id": {
          "name": "Config Entry ID",
          "description": "Config Entry ID for the Music Assistant Queue Items instance."
        },
        "uri": {
          "name": "Playlist URI",
          "description": "URI for the playlist."
        }
      }
    },
    "get_album": {
      "name": "Get Album",
      "description": "Returns information about an album from the server.",
      "fields": {
        "config_entry_id": {
          "name": "Config Entry ID",
          "description": "Config Entry ID for the Music Assistant Queue Items instance."
        },
        "uri": {
          "name": "Album URI",
          "description": "URI for the album."
        }
      }
    },
    "get_artist": {
      "name": "Get Artist",
      "description": "Returns information about an artist from the server.",
      "fields": {
        "config_entry_id": {
          "name": "Config Entry ID",
          "description": "Config Entry ID for the Music Assistant Queue Items instance."
        },
        "uri": {
          "name": "Artist URI",
          "description": "URI for the artist."
        }
      }
    },
    "get_podcast": {
      "name": "Get Podcast",
      "description": "Returns information about a podcast from the server.",
      "fields": {
        "config_entry_id": {
          "name": "Config Entry ID",
          "description": "Config Entry ID for the Music Assistant Queue Items instance."
        },
        "uri": {
          "name": "Podcast URI",
          "description": "URI for the podcast."
        }
      }
    },
    "remove_playlist_tracks": {
      "name": "Remove Playlist Tracks",
      "description": "Removes one or more tracks from a playlist based on position.",
      "fields": {
        "config_entry_id": {
          "name": "Config Entry ID",
          "description": "Config Entry ID for the Music Assistant Queue Items instance."
        },
        "playlist_id": {
          "name": "Playlist ID",
          "description": "ID of the playlist."
        },
        "positions_to_remove": {
          "name": "Positions to remove",
          "description": "Position(s) of items to remove from the playlist."
        }
      }
    }
  }
}
