From 515f354dc706ad4eb209822c20ac63542a396887 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 6 Sep 2014 01:20:55 +0200 Subject: [PATCH 1/1] play: Fix next and prev on singular playlists. The next and prev commands do not reset the file position if the playlist consists of one file only. This fixes it. --- play.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/play.c b/play.c index 01125ab6..18bfab98 100644 --- a/play.c +++ b/play.c @@ -860,6 +860,7 @@ static int com_prev(struct play_task *pt, int argc, __a_unused char **argv) kill_stream(pt); pt->next_file = ret; pt->rq = CRT_FILE_CHANGE; + pt->start_chunk = 0; return 0; } @@ -875,6 +876,7 @@ static int com_next(struct play_task *pt, int argc, __a_unused char **argv) kill_stream(pt); pt->next_file = ret; pt->rq = CRT_FILE_CHANGE; + pt->start_chunk = 0; return 0; } -- 2.39.2