[FEATURE] Exclude tracks with very different lengths.
Hi, It would be nice if there was a way to exclude tracks that differ a lot in length from similar songs/path.
I have several "album mix" tracks that are 1-2h long and sometimes they appear when searching for similar songs or when finding a path between 3-5min songs.
There could be two new environment variables, that contain relative min/max song length. Example:
MIN_SONG_DURATION=0.5 MAX_SONG_DURATION=1
Now when searching for similar songs, for a 10 minute song for example, AudioMuse will ignore songs that are less than 5 minutes and more than 20 minutes.
As for song path, I'm not really sure what the best approach would be. Probably a weighted average between both songs based on the position.
Thanks for the feedback. I just implemented #106 that you can actually find in :devel image. It enable you to exclude some library.
My suggestion is to put in a separate music library all the audio that you don't want to analyze (like full concert, christmass songs and so on). This will eliminate the issue at the source.
This kinda does the job, although I have multiple long songs/album mixes that are inside a regular album, so it has to stay in the same library. For example Monstercat compilation albums, they usually contain 1 or 2 1h+ song at the end that mixes the whole album. Separating that into a different library would create a directory mess. Thanks for the hard work tho!