quote:
Originally posted by Kev_
hey when i have a song that has a - in it, it cuts off
like a liveset: "dj blabla - live at party 01-01-2006"
it gives : "dj blabla - live at party 01"
Ok, after fixing the (!WAT) problem, I thought I'd fix up a couple more things, including this problem.
To fix this, edit the script. Select WinampClass.js as the current script file. Then scroll down, you should see:
var Winamp =
function(){ somewhere in there. Keep scrolling down until you find:
"CurrentTrack" :
function(){
A couple of lines below that, you should find:
code:
t = title.split('-');
return {'Title': t[1], 'Artist': t[0]};
Just replace the first line with this:
code:
t = title.split(' - ');
That will also solve the problem with {artist} always having a space at the end and {title} always having a space at the beginning.