# HG changeset patch # User ib # Date 1338411921 0 # Node ID 99ccfbcaa0fa7d3deebf783ab9c404a26552347e # Parent b510e6c954274f20a77ea635a6dcaf0f30d6720f Allow plain text playlists for the GUI. This additional plain text playlist parsing will only happen if the user selects from the "Playlists" filter of the file selector. The "Playlists" filter is the GUI's equivalent to the -playlist option, so there won't happen more bad things than with the option. (Actually, it's safer than the option, because the "Playlists" filter only offers a limited selection.) diff -r b510e6c95427 -r 99ccfbcaa0fa mplayer.c --- a/mplayer.c Wed May 30 20:34:02 2012 +0000 +++ b/mplayer.c Wed May 30 21:05:21 2012 +0000 @@ -3234,7 +3234,7 @@ current_module = "handle_playlist"; mp_msg(MSGT_CPLAYER, MSGL_V, "Parsing playlist %s...\n", filename_recode(filename)); - entry = parse_playtree(mpctx->stream, 0); + entry = parse_playtree(mpctx->stream, use_gui); mpctx->eof = playtree_add_playlist(entry); goto goto_next_file; }