Skip to main content

## player_set_autoplay_settings

# Function player_set_autoplay_settings

Source

    pub async fn player_set_autoplay_settings(
        player: State<'_, PlayerStateWrapper>,
        db: State<'_, DatabaseWrapper>,
        user_id: String,
        settings: AutoplaySettings,
    ) -> Result<AutoplaySettings, String>

Expand description

Set autoplay settings and persist to database