Vortex and several other skins (Intruder, Slade, Caught in Glass, T800, etc.) use memory buttons to access favorite songs. Unfortunately, they do not work in recent versions of Winamp. This thread is documenting PeterK.’s and my attempts to update quicksongpick.maki.
Based on how we fixed progbutton.maki, this is how I am trying to fix quicksongpick.maki for Vortex:
The results:
Based on how we fixed progbutton.maki, this is how I am trying to fix quicksongpick.maki for Vortex:
- Changed line 69 from
PHP Code:playfile(filename);
PHP Code:playFile(pathToURL(filename));
- Added this line after function temptext(string t);
PHP Code:Function string pathToURL(string path);
- Added these lines after global timer temptextdelay;
PHP Code:string pathToURL(string path) {
int c, len = strlen(path);
string ret = "", char;
c=0;
while (c < len) {
char = strmid(path,c,1);
if (char==chr(92)) {
ret = ret + chr(47);
c ++;
} else if (char==":") { //for ":/"
ret = ret + ":";
c ++;
char = strmid(path,c,1);
if (char==chr(92)) {
ret = ret + chr(47) + chr(47);
c ++;
}
} else {
ret = ret + char;
c++;
}
}
return ret;
}
The results:
- Songs on disk can be saved and played with the memory buttons.
- Streams saved with the memory buttons cannot be played with them. When you try, Winamp will hang.
Comment