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

MPD song functions. More...

#include "compile_time.h"
#include "src/mympd_worker/song.h"
#include "src/lib/json/json_print.h"
#include "src/lib/json/json_rpc.h"
#include "src/mympd_client/errorhandler.h"
Include dependency graph for song.c:

Functions

sds mympd_worker_song_fingerprint (struct t_partition_state *partition_state, sds buffer, unsigned request_id, const char *uri)
 

Detailed Description

MPD song functions.

Function Documentation

◆ mympd_worker_song_fingerprint()

sds mympd_worker_song_fingerprint ( struct t_partition_state partition_state,
sds  buffer,
unsigned  request_id,
const char *  uri 
)

Gets the chromaprint fingerprint for the song

Parameters
partition_statepointer to partition state
bufferalready allocated sds string to append the response
request_idjsonrpc request id
urisong uri
Returns
pointer to buffer