myMPD
Internal API documentation
Loading...
Searching...
No Matches
smartpls.h File Reference

Smart playlist generation. More...

#include "src/mympd_worker/state.h"
#include <stdbool.h>
Include dependency graph for smartpls.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool mympd_worker_smartpls_update_all (struct t_mympd_worker_state *mympd_worker_state, bool force)
 
bool mympd_worker_smartpls_update (struct t_mympd_worker_state *mympd_worker_state, const char *playlist)
 

Detailed Description

Smart playlist generation.

Function Documentation

◆ mympd_worker_smartpls_update()

bool mympd_worker_smartpls_update ( struct t_mympd_worker_state mympd_worker_state,
const char *  playlist 
)

Updates a smart playlist

Parameters
mympd_worker_statepointer to the t_mympd_worker_state struct
playlistsmart playlist to update
Returns
true on success, else false

◆ mympd_worker_smartpls_update_all()

bool mympd_worker_smartpls_update_all ( struct t_mympd_worker_state mympd_worker_state,
bool  force 
)

Public functions Updates all smart playlists

Parameters
mympd_worker_statepointer to the t_mympd_worker_state struct
forcetrue = force update false = only update if needed
Returns
true on success, else false