myMPD
Internal API documentation
Loading...
Searching...
No Matches
shortcuts.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-3.0-or-later
3 myMPD (c) 2018-2025 Juergen Mang <mail@jcgames.de>
4 https://github.com/jcorporation/mympd
5*/
6
11#ifndef MYMPD_MPD_CLIENT_SHORTCUTS_H
12#define MYMPD_MPD_CLIENT_SHORTCUTS_H
13
14#include "src/lib/mympd_state.h"
15
16bool mympd_client_command_list_end_check(struct t_partition_state *partition_state);
17bool mympd_client_add_uris_to_queue(struct t_partition_state *partition_state, struct t_list *uris,
18 unsigned to, unsigned whence, sds *error);
19bool mympd_client_add_album_to_queue(struct t_partition_state *partition_state, struct t_cache *album_cache,
20 sds album_id, unsigned to, unsigned whence, sds *error);
21bool mympd_client_add_albums_to_queue(struct t_partition_state *partition_state, struct t_cache *album_cache,
22 struct t_list *albumids, unsigned to, unsigned whence, sds *error);
23
24#endif
Central myMPD state for the mympd_api thread.
bool mympd_client_add_album_to_queue(struct t_partition_state *partition_state, struct t_cache *album_cache, sds album_id, unsigned to, unsigned whence, sds *error)
Definition shortcuts.c:88
bool mympd_client_command_list_end_check(struct t_partition_state *partition_state)
Definition shortcuts.c:28
bool mympd_client_add_albums_to_queue(struct t_partition_state *partition_state, struct t_cache *album_cache, struct t_list *albumids, unsigned to, unsigned whence, sds *error)
Definition shortcuts.c:115
bool mympd_client_add_uris_to_queue(struct t_partition_state *partition_state, struct t_list *uris, unsigned to, unsigned whence, sds *error)
Definition shortcuts.c:45
Definition cache_rax.h:22
Definition list.h:32
Definition mympd_state.h:114