View Single Post
Old 22nd December 2018, 13:23   #17
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 495
Quote:
Originally Posted by PeterK. View Post
First of all I managed to get those buttons in the left drawer to work properly - without adding any "file://" to the PATH string.
This is more elegant than my solution. Thank you!

Quote:
Originally Posted by PeterK. View Post
You can find those lines in progbutton.m in leechbite's Kameleon skin.
Where did you get KameleonDUI? Versions 1.0 and 1.1 hosted at the Nullsoft archive have the maki sources but bookmarking with buttons is broken with them. Bookmarking works well with Version 1.5 hosted at DeviantArt but it has no maki sources.

Quote:
Originally Posted by PeterK. View Post
Please delete line 128 - playFile(path) - and paste those:

PHP Code:
int i=strlen(pathToURL(path))-7
string s=strright(pathToURL(path),i);
plEdit.clear(); 
plEdit.enqueueFile(s);
int playThisFile=plEdit.getNumTracks();
plEdit.playTrack(playThisFile); 
Additional you need to add the plDir.mi library:
Now, this fixes Album Art but breaks playing bookmarked streams or songs added by the "Type path/url" dialog.

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