From 90f6ffbdb7c7cc07cb02b69fcfb3a3844f0180b7 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 14 Mar 2014 11:47:26 +0100 Subject: piano: Request track length The returned length is used as first length estimate before enough audio data arrives to show the real length and for the eventcmd API. See #427 and #64. --- src/libpiano/piano.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libpiano/piano.h') diff --git a/src/libpiano/piano.h b/src/libpiano/piano.h index d8b84ce..e97649e 100644 --- a/src/libpiano/piano.h +++ b/src/libpiano/piano.h @@ -95,6 +95,7 @@ typedef struct PianoSong { char *detailUrl; char *trackToken; float fileGain; + unsigned int length; /* song length in seconds */ PianoSongRating_t rating; PianoAudioFormat_t audioFormat; } PianoSong_t; -- cgit v1.2.3