From 24ed240c865837b8c9d7c9240f6ef3ba9065b162 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 5 Jul 2012 22:00:22 +0200 Subject: Add feature: Create new station from selected song MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New keybinding ā€˜vā€™, new setting act_createstationfromsong. --- src/libpiano/piano.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/libpiano/piano.h') diff --git a/src/libpiano/piano.h b/src/libpiano/piano.h index e881621..00bc744 100644 --- a/src/libpiano/piano.h +++ b/src/libpiano/piano.h @@ -207,6 +207,15 @@ typedef struct { PianoSearchResult_t searchResult; } PianoRequestDataSearch_t; +typedef struct { + char *token; + enum { + PIANO_MUSICTYPE_INVALID = 0, + PIANO_MUSICTYPE_SONG, + PIANO_MUSICTYPE_ARTIST, + } type; +} PianoRequestDataCreateStation_t; + typedef struct { PianoStation_t *station; char *musicId; -- cgit v1.2.3