summaryrefslogtreecommitdiff
path: root/libpiano/src/piano.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-19 12:11:12 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-19 12:11:12 +0200
commit00cfc5e626abc51df4b728a064697616cf7aae02 (patch)
tree1ca714e58e7bc8b479b7c08e163c1e26917492c4 /libpiano/src/piano.h
parent98813251e60234aac43ef41090980f2771ce2360 (diff)
downloadpianobar-00cfc5e626abc51df4b728a064697616cf7aae02.tar.gz
pianobar-00cfc5e626abc51df4b728a064697616cf7aae02.tar.bz2
pianobar-00cfc5e626abc51df4b728a064697616cf7aae02.zip
Rate "shared stations" correctly by transforming them to private stations
Diffstat (limited to 'libpiano/src/piano.h')
-rw-r--r--libpiano/src/piano.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpiano/src/piano.h b/libpiano/src/piano.h
index 07b9791..172c13d 100644
--- a/libpiano/src/piano.h
+++ b/libpiano/src/piano.h
@@ -53,7 +53,7 @@ struct PianoUserInfo {
typedef struct PianoUserInfo PianoUserInfo_t;
struct PianoStation {
- //char isCreator;
+ char isCreator;
/* disabled: originalStationId */
//char **genre;
//unsigned int originalCreatorId;
@@ -183,5 +183,7 @@ PianoReturn_t PianoSetQuickmix (PianoHandle_t *ph);
PianoStation_t *PianoFindStationById (PianoStation_t *stations,
char *searchStation);
PianoReturn_t PianoGetGenreStations (PianoHandle_t *ph);
+PianoReturn_t PianoTransformShared (PianoHandle_t *ph,
+ PianoStation_t *station);
#endif /* _PIANO_H */