View Single Post
Old 22nd December 2018, 17:26   #22
PeterK.
Quinto Black CT Developer
 
Join Date: Sep 2016
Posts: 589
Quote:
Originally Posted by ariszlo View Post
I don't have that. I only have playfile(filename);
It is the same.

Quote:
Originally Posted by ariszlo View Post
Replaced playfile(filename); with those lines and added the plDir.mi library:
code:
#include "../../../lib/pldir.mi"

but it still does not work for me.

Memory Buttons section should look like this:


PHP Code:
MemoryButtons.onLeftButtonUp(int xint y)
{
    
buttonDown 0;
    
buttondelay.stop();
    
    if (
songrecorded) return;
    
    
string filename getPrivateString(getSkinName(), buttonID"");
    if (
filename!="")
    {
        
plEdit.clear();
        
plEdit.enqueueFile(filename);
        
int playThisFile=plEdit.getNumTracks();
        
plEdit.playTrack(playThisFile);
        
        
tempText("Play file: "+filename);
    }

PeterK. is offline   Reply With Quote