Good question! I don't know how undo works in foobar.
On "Trancemaster" compilation series you can sometimes find files marked as "Original Mix" but they are slightly edited and shorter than "real" Original Mix (8:42 on TM vs. 9:16 on single for example). ... So, I see that you use tag similarities, bitrates and playcounts. OK . But I can't figure out weighting between them I am not a C++ programmer .
You need to call playlist_manager::playlist_undo_backup before you modify the playlist.
As you would any other component? http://www.foobar2000.org/FAQ If you are having some problem not covered in that FAQ, you should specify it.
If you don't have it already, you'll need the x86 Visual C++ 2012 redistributable.
i assume you read the first post and have this installed?Quote from: hymerman on 20 March, 2013, 01:04:56 PMIf you don't have it already, you'll need the x86 Visual C++ 2012 redistributable.
And I made it open source so the same thing doesn't happen to this component if I lose interest
Have fun with it :https://www.dropbox.com/s/cf0p2mdpzpwfhco/f...lists-source.7z
I've done some work towards a general "turn this block of text into a playlist" dialogue, which I've been using for e.g. matching track lists copied from Spotify to tracks in my foobar library. It allows you to paste in some text, specify a regex to extract artist and title names from each line, and matches those up to tracks. I need to tidy it up somewhat since it's very clunky, then I'll build a new release.
I can definitely look into adding a similar artists grabber, since that's something I found useful in foo_softplaylists. I've created an issue for it on github
Have fun with it :) :https://www.dropbox.com/s/cf0p2mdpzpwfhco/f...lists-source.7z
ChronoSphere: What would you expect to happen in that case? It works per-track, so if you have two different files representing the same song, and you do 'replace with best track' on both of them, you'll end up with two of the same file.
Exactly, that's why I used "remove duplicates" at the end, to only have one version of the track. The thing is, though, that there are multiple songs with the same duration/name in different albums, so what I expected it to do was to replace the 3 versions with the best of the 3, leaving me with 3 tracks, two of which would be get rid off with "remove duplicates", but maybe there is something wrong with my logic.
I'm getting crashes when executing best_version on one album, how can I provide debug info if you're still working on that plugin? I'm currently abusing it as a playlist reviver after converting my library to another lossless format and it's been working great so far.edit: looks like the % character in a tag crashes it.
Locally it just does a string compare so I don't see why non-ASCII characters would make it fail.