Skip to main content

## player_add_track_by_id

# Function player_add_track_by_id

Source

    pub async fn player_add_track_by_id(
        player: State<'_, PlayerStateWrapper>,
        db: State<'_, DatabaseWrapper>,
        repository_manager: State<'_, RepositoryManagerWrapper>,
        repository_handle: String,
        request: AddTrackByIdRequest,
    ) -> Result<QueueStatus, String>

Expand description

Add a track to queue by ID - backend fetches metadata and constructs URLs