mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
playlist_parser: mp_msg conversion
This commit is contained in:
@@ -2792,7 +2792,7 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd)
|
||||
case MP_CMD_LOADLIST: {
|
||||
char *filename = cmd->args[0].v.s;
|
||||
bool append = cmd->args[1].v.i;
|
||||
struct playlist *pl = playlist_parse_file(filename, opts);
|
||||
struct playlist *pl = playlist_parse_file(filename, mpctx->global);
|
||||
if (pl) {
|
||||
if (!append)
|
||||
playlist_clear(mpctx->playlist);
|
||||
|
||||
Reference in New Issue
Block a user