View Single Post
Old 22nd December 2018, 17:08   #21
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 495
Trying to apply your pathToURL solution for quicksongpick.m, I added these lines:

Quote:
Originally Posted by PeterK. View Post
Function string pathToURL(string path);

string pathToURL(string path) { ... }
Then replaced this line (line 69 in the original file):
PHP Code:
playfile(filename); 
with this:
PHP Code:
playFile(pathToURL(filename)); 
And then this (line 83):
PHP Code:
setPrivateString(getSkinName(), buttonIDfilename); 
with this:
PHP Code:
setPrivateString(getSkinName(), buttonID"PATH|"+filename); 
The result is partial success: the first memory button can save the currently played song but the other four buttons cannot. And once the first button has saved a song, it will never forget it. I cannot save another song.

Latest and greatest modern skins: Big Bento Modern v1.13 & Quinto Black CT v3.1
ariszlo is offline   Reply With Quote