mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
Bug fix when trying to restart single song in playlist
cur_streaming may be null, so can't address cur_streaming->ctx
This commit is contained in:
@@ -908,6 +908,9 @@ source_next(int force)
|
||||
switch (r_mode)
|
||||
{
|
||||
case REPEAT_SONG:
|
||||
if (!cur_streaming)
|
||||
break;
|
||||
|
||||
if (cur_streaming->ctx)
|
||||
{
|
||||
ret = transcode_seek(cur_streaming->ctx, 0);
|
||||
|
||||
Reference in New Issue
Block a user