diff options
Diffstat (limited to 'src/playlist.h')
-rw-r--r-- | src/playlist.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/playlist.h b/src/playlist.h index 4f8291dc0..569db7bc3 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -195,6 +195,15 @@ enum playlist_result playlist_swap_songs_id(struct playlist *playlist, struct player_control *pc, unsigned id1, unsigned id2); +enum playlist_result +playlist_set_priority(struct playlist *playlist, struct player_control *pc, + unsigned start_position, unsigned end_position, + uint8_t priority); + +enum playlist_result +playlist_set_priority_id(struct playlist *playlist, struct player_control *pc, + unsigned song_id, uint8_t priority); + bool playlist_get_repeat(const struct playlist *playlist); |