diff options
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3018,7 +3018,8 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) break; case MP_CMD_LOADLIST:{ - play_tree_t *e = parse_playlist_file(mpctx->mconfig, cmd->args[0].v.s); + play_tree_t *e = parse_playlist_file(mpctx->mconfig, + bstr(cmd->args[0].v.s)); if (!e) mp_tmsg(MSGT_CPLAYER, MSGL_ERR, "\nUnable to load playlist %s.\n", cmd->args[0].v.s); |