myMPD
Internal API documentation
Loading...
Searching...
No Matches
last_played.c File Reference

Last played implementation. More...

#include "compile_time.h"
#include "src/lib/last_played.h"
#include "src/lib/filehandler.h"
#include "src/lib/log.h"
#include "src/lib/mpack.h"
#include "src/lib/sds_extras.h"
#include <unistd.h>
Include dependency graph for last_played.c:

Functions

bool last_played_file_save (struct t_partition_state *partition_state)
 
bool last_played_file_read (struct t_partition_state *partition_state)
 

Detailed Description

Last played implementation.

Function Documentation

◆ last_played_file_read()

bool last_played_file_read ( struct t_partition_state partition_state)

Reads the last played list from disc

Parameters
partition_statepointer to partition state
Returns
true on success, else false

◆ last_played_file_save()

bool last_played_file_save ( struct t_partition_state partition_state)

Saves the last played list to disc

Parameters
partition_statepointer to partition state
Returns
true on success, else false