Readit News logoReadit News
ravachol commented on Show HN: kew – A Terminal Music Player for Linux   github.com/ravachol/kew... · Posted by u/ravachol
martinbaun · a year ago
I love it man, this is great! I used to use mocp but I could never get it to work on Fedora.

This here is even better, I love the minimal approach.

ravachol · a year ago
That's great! Get involved if you want and suggest features for instance.

Deleted Comment

ravachol commented on Show HN: kew – A Terminal Music Player for Linux   github.com/ravachol/kew... · Posted by u/ravachol
yarg · a year ago
I'm thinking {-s, -l, -a, -p} for {song, album, artist, playlist}.

Unlike the -e solution, it wouldn't make the command significantly more verbose than the default option.

You could also print a list of commands for the specific options (or allow for index based selection) in cases where there were collisions.

ravachol · a year ago
That's already mostly in. From the readme:

kew dir <album name> (sometimes it's necessary to specify it's a directory you want)

kew song <song> (or a song)

kew list <playlist> (or a playlist)

The directory can be an artist or an album, so there's still ambiguity there. But kew cannot differentiate between the two. It matches against files or against directories.

ravachol commented on Show HN: kew – A Terminal Music Player for Linux   github.com/ravachol/kew... · Posted by u/ravachol
yarg · a year ago
Does it accept flags to deal with ambiguities?

Defaulting to the only result in your library is perfectly reasonable, but it the case of a collision, what does it do?

My guess is that it runs through in a loop (I haven't looked at the code) and simply goes with the first result that it finds, but that doesn't cover all possible use cases.

ravachol · a year ago
Like you said, it just takes the first result it finds. There is -e for exact search, which solves some problems, but it's not a full blown solution.
ravachol commented on Show HN: kew – A Terminal Music Player for Linux   github.com/ravachol/kew... · Posted by u/ravachol
jeffhuys · a year ago
Why, though?
ravachol · a year ago
Because I'm just one guy with a few people helping me a little bit. I needed a limited scope. But I'm actually thinking of porting it to Mac now.
ravachol commented on Show HN: kew – A Terminal Music Player for Linux   github.com/ravachol/kew... · Posted by u/ravachol
ravachol · a year ago
Good point. Might be better to just have the commands installing the requirements for the different distros, in the readme.
ravachol · a year ago
done.
ravachol commented on Show HN: kew – A Terminal Music Player for Linux   github.com/ravachol/kew... · Posted by u/ravachol
shepherdjerred · a year ago
Super weird to bring Windows into this, but, anyway? I actually really like these one liners even if they have greater potential for abuse.
ravachol · a year ago
He's right actually the quick-install script is pretty barbaric.
ravachol commented on Show HN: kew – A Terminal Music Player for Linux   github.com/ravachol/kew... · Posted by u/ravachol
theandrewbailey · a year ago

    sudo bash -c "curl https://raw.githubusercontent.com/ravachol/kew/main/install.sh | bash"
Might as well run unsigned binaries straight from the internet. What is this, Windows?

ravachol · a year ago
Good point. Might be better to just have the commands installing the requirements for the different distros, in the readme.
ravachol commented on Show HN: kew – A Terminal Music Player for Linux   github.com/ravachol/kew... · Posted by u/ravachol
sigmonsays · a year ago
Trying to nix run it I get a ton of insecure warnings and it lists the CVEs

Is this a nix thing (i'm unsure what freeimage-unstable is)

       error: Package ‘freeimage-unstable-2021-11-01’ in /nix/store/20yis5w6g397plssim663hqxdiiah2wr-source/pkgs/development/libraries/freeimage/default.nix:72 is marked as insecure, refusing to evaluate.


       Known issues:
        - CVE-2021-33367
        - CVE-2021-40262
        - CVE-2021-40263
        - CVE-2021-40264
        - CVE-2021-40265
        - CVE-2021-40266
        - CVE-2023-47992
        - CVE-2023-47993
        - CVE-2023-47994
        - CVE-2023-47995
        - CVE-2023-47996

ravachol · a year ago
"Buffer Overflow vulnerability in Freeimage v3.18.0 allows attacker to cause a denial of service via a crafted JXR file."

I don't know how relevant these vulnerabilities are to kew, which isn't run across the network in any way, it just reads your local files.

Thank you for bringing this to light. I don't know how feasible it is to use something other than freeimage though, gonna have to investigate.

ravachol commented on Show HN: kew – A Terminal Music Player for Linux   github.com/ravachol/kew... · Posted by u/ravachol
n2j3 · a year ago
Cool, but does it scrobble?
ravachol · a year ago
kew does not scrobble. It does not track any of your listening habits or anything else for that matter.

u/ravachol

KarmaCake day83September 26, 2024View Original