diff --git a/src/module/mpv.c b/src/module/mpv.c index 762bd21f346a6e0c3b29f78584f03b537254d38b..6dc765279555649b507f5831a39b97a20d1e0d41 100644 --- a/src/module/mpv.c +++ b/src/module/mpv.c @@ -277,8 +277,11 @@ loop: /* Can I seek? */ if (*set_seek >= 0 && *state != STATE_STOP) { + if (lmpv_set_position(ctx, *set_seek)) + LOG_DEBUG("WINDOW", "Failed to seek the mpv context to %s", set_seek); + else + LOG_DEBUG("WINDOW", "Seeking the mpv context to %s", set_seek); *set_seek = -1; - LOG_DEBUG("WINDOW", "Ignored set_seek"); } /* A loop without indentation. Ugly but better for not-really-wide screens */