playlist_parser: mp_msg conversion

This commit is contained in:
wm4
2013-12-21 20:15:47 +01:00
parent 8cd1b33a22
commit 9149e2af56
6 changed files with 81 additions and 75 deletions

View File

@@ -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);