Is there any way for a playlist to automatically perform the "edit > remove duplicates" function? I created a separate playlist from my autoplaylist and if a I add a new album by band that was already on the new playlist, if I add the whole discography, I get duplicates (naturally). Can them be somehow whipped automatically?
add a WSH panel mod (http://www.hydrogenaudio.org/forums/index.php?showtopic=70363) panel to your layout and put this code in...
function on_playlist_items_added() {
fb.RunMainMenuCommand("Edit/Remove duplicates");
}
i just realised the above only worked when dragging files onto the playlist. this should work properly...
function on_playlist_items_added() {
plman.SetActivePlaylistContext();
fb.RunMainMenuCommand("Edit/Remove duplicates");
}
//this code draws the background the same colour as the foobar splitter so you can resize the panel to hide it better.
var ww = 0;
var wh = 0;
function on_size() {
ww = window.Width;
wh = window.Height;
}
function on_paint(gr) {
gr.FillSolidRect(0, 0, ww, wh, utils.GetSysColor(15));
}