Script #1 creates a m3u file which has to be stored in the same folder as the audio files.
Script #2 creates a m3u file which can be copied anywhere else.
Script #1 is useful if you carry audio files on USB or move folder/files elsewhere.
Script #2 is useful if you want to store all M3Us in one place.
Script #1:
Code: Select all
/*
Write (Writefile) m3u file based on current selection (getinfo("SelectedItemsNames")).
<curfolder>=m3u filename is name of the folder.
o= Older m3u file with same name is overwritten.
*/
Writefile ("<curfolder>.m3u", getinfo("SelectedItemsNames"), o);
Code: Select all
//For storing m3us other than the folder of audio files
Writefile ("<curfolder>.m3u", getinfo("SelectedItemsPathNames"), o);
XYplorer Beta Club