http://www.xyplorer.com/xyfc/viewtopic. ... m3u#p61748
and it works fine, until I update to xyplorer_12.40.
This *.m3u playlist file

Script return this in earlier xyplorer version

and in xyplorer12.40 I get this




Code: Select all
$d = readfile(<curitem>);
$e = regexreplace ($d, "#(.*?)(.*)", "");
replace $e, $e, "<crlf>", "|";
replace $e, $e, "<crlf>", "";
$f = substr("$e", 0, 1);
replace $g, $e, "$f", "";
open inputselect("Pick the file you want to play", $g);
Code: Select all
replace $result, $haystack, "needle", "replacement";Code: Select all
$result = Replace($haystack, "needle", "replacement");Code: Select all
"Select from Playlist"
$d = readfile(<curitem>);
$e = regexreplace ($d, "#(.*?)(.*)", "");
$e = replace($e, "<crlf>", "|");
$e = replace($e, "<crlf>", "");
$f = substr("$e", 0, 1);
$g = replace($e, "$f", "");
open inputselect("Pick the file you want to play", $g);Code: Select all
open inputselect("Pick the file you want to play", formatlist(regexreplace(readfile("<curitem>"), "(^#.*)|(\r?\n)", "|"), "e"));Code: Select all
open inputselect("Pick the file you want to play", formatlist(regexreplace(readfile("<curitem>"), "(^#.*)|(\r?\n)", "|"), "e"), , , , 800, 600);Code: Select all
open "<curpath>\".inputselect("Pick the file you want to play", formatlist(regexreplace(readfile("<curitem>"), "(^#.*)|(\r?\n)|(^.*\\)", "|"), "e"), , 4, , 800, 600);