ravachol / kew

A command-line music player
GNU General Public License v2.0
567 stars 21 forks source link

Add a way to specify an album that incidentally has a string in common with another album's title #109

Closed EugeneVLesbian closed 7 months ago

EugeneVLesbian commented 7 months ago

I have these two albums, from the same artist. One of them is called "Basement Popstar" and the other one is called "Do People in the basement dream 2 (Prelude of Basement Popstar)". When I want to listen to the first album, I can't. Every attempt leads to the second album playing. I've tried the whole name, I've tried it in quotes, I've tried to just feed the program the path but that doesn't work unless I change it so that the album I want is the only album available. This has been, as one might expect, very vexing. It's not a huge issue for most users, I haven't seen anything about it in the issues tab, but it's become a bit of a problem that I can't use my favorite music player to listen to my favorite album without shuffling the whole artist, which wouldn't be very helpful for this purpose. And the entire reason kew is my favorite music player is that I can just specify an album and listen to it in full. Except that in this fairly narrow and uncommon case, I can't.

ravachol commented 7 months ago

Yeah that's a known issue with the way things work. I haven't come up with an elegant solution for it yet though. I ended up slightly renaming the one album I have where this is a problem. :) Do you have an idea of how you'd like this to be solved? Maybe "kew exact basement popstar". or something like that.

EugeneVLesbian commented 7 months ago

"kew exact" would be exactly what I'm looking for. I would also settle for a way to manually set a preference in kewrc, like "[string]" = ~/music/[artist]/[album].

ravachol commented 7 months ago

Yeah that could work too. I'll look into it, thanks for bringing this up.

ravachol commented 7 months ago

I've added it, if you grab the latest under <> Code, for instance.

kew -e basement popstar or kew --exact basement popstar