MPD feature detection.
More...
#include "compile_time.h"
#include "src/mympd_client/features.h"
#include "src/lib/filehandler.h"
#include "src/lib/log.h"
#include "src/lib/sds_extras.h"
#include "src/lib/utility.h"
#include "src/mympd_api/settings.h"
#include "src/mympd_client/errorhandler.h"
#include "src/mympd_client/tags.h"
#include <stdbool.h>
#include <string.h>
◆ features_commands()
Private definitions
Private functions Looks for allowed MPD command
- Parameters
-
| partition_state | pointer to partition state |
◆ features_config()
Uses the config command to check for MPD features
- Parameters
-
| mympd_state | pointer to mympd state |
| partition_state | pointer to partition state |
◆ features_mpd_tags()
Checks enabled tags from MPD and populates tags_mpd and tags_mympd
- Parameters
-
| partition_state | pointer to partition state |
◆ features_tags()
Sets enabled tags for myMPD
- Parameters
-
| mympd_state | pointer to mympd state |
| partition_state | pointer to partition state |
◆ mympd_client_mpd_features()
Public functions Detects MPD features and disables/enables myMPD features accordingly
- Parameters
-
| mympd_state | pointer to mympd state |
| partition_state | pointer to partition state |
◆ set_album_tags()
Sets the tags for albums
- Parameters
-
| partition_state | pointer to partition state |
◆ set_directory()
| static sds set_directory |
( |
const char * |
desc, |
|
|
sds |
directory, |
|
|
sds |
value |
|
) |
| |
|
static |
Checks and sets a mpd directory
- Parameters
-
| desc | descriptive name |
| directory | directory setting (auto, none or a directory) |
| value | already allocated sds string to set |
- Returns
- pointer to value
◆ set_simple_album_tags()
Sets the tags for simple albums
- Parameters
-
| partition_state | pointer to partition state |