mpvc icon indicating copy to clipboard operation
mpvc copied to clipboard

Add fuzzy string search through playlist titles to play closest match.

Open lwilletts opened this issue 7 years ago • 2 comments

Probably as part of --play.

lwilletts avatar Apr 06 '19 17:04 lwilletts

Do you have a tool in mind for this? If not I can eventually resolve https://github.com/Tmplt/fuzzywuzzy/issues/6.

tmplt avatar Aug 30 '19 10:08 tmplt

No I didn't at all! I think your tool looks interesting but I've always tried to design mpvc with the absolute minimum of tools to achieve tasks - I hadn't even looked at using a shell json phaser like jq. I think this issue might be best resolved by people using their own separate fuzzy finders like fzf and then pipe the input to mpvc add. I could do with figuring a basic solution out and then adding to the readme. Thanks for reminding me of this though! But that still doesn't solve the issue for existing tracks. hmm

lwilletts avatar Aug 31 '19 12:08 lwilletts

Currently, fuzzy string search is provided by fzf in mpvc-fzf, and, is explained in https://gmt4.github.io/mpvc/logbook.html#logbook-20221227. So I think this can be closed as completed, thx.

gmt4 avatar Sep 12 '23 07:09 gmt4