diff options
Diffstat (limited to 'src/song_sticker.c')
-rw-r--r-- | src/song_sticker.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/song_sticker.c b/src/song_sticker.c index cdd3f84c3..bf400c15b 100644 --- a/src/song_sticker.c +++ b/src/song_sticker.c @@ -39,6 +39,22 @@ sticker_song_get_value(const struct song *song, const char *name) return value; } +GList * +sticker_song_list_values(const struct song *song) +{ + char *uri; + GList *list; + + assert(song != NULL); + assert(song_in_database(song)); + + uri = song_get_uri(song); + list = sticker_list_values("song", uri); + g_free(uri); + + return list; +} + bool sticker_song_set_value(const struct song *song, const char *name, const char *value) |