Show HN: Yami – An Open Source Music Player with Spotdl Integration

74 pointsposted a day ago
by DevER-M

34 Comments

DevER-M

a day ago

This is my high school project btw, i would like some feedback as well as some feature requests it is also available on pypi https://pypi.org/project/yami-music-player/

sigio

21 hours ago

Having some issues with it, but might be my error ;) The pip-installed (in a venv) version will complain about missing data/theme.json, and then crash. So then I did the git-clone, pip-install variant, that starts. Interface is very minimal. After pointing it to my sshfs mount (~/mnt/Audio), it will list directories, but won't find a single file, strange.

Copy the an directory of audiofiles to /tmp, browse there, it works. Very strange.

DevER-M

21 hours ago

if possible can you create an issue about this in github with more details(screen shots)

cocodill

16 hours ago

that's just it: create a venv, pip install it from pypi, try to run and get the missing data/theme.json error.

latentsea

5 hours ago

It's always hip to have some random Japanese word as the name.

Why not Korean or Chinese?

james_marks

21 hours ago

Are you using the official API’s for Spotify, etc or something like a headless browser for streaming?

Nice job, I can’t imagine making something with this level of finish when I was in high school.

DevER-M

21 hours ago

nope this only gets the metadata such as the cover art from spotify and the music is from youtube music thank you so much!

metmac

21 hours ago

Very nice. You could throw this on a Spotify Car thing.

Would love to see this land on a Pi Zero 2 inside a husked out iPod classic and a skinable UI to boot.

@gvy_dvpont (@dupontgu ?), did this a few years ago back with a Pi Zero one, but I believe the project has suffered a bit from hardware compatibility decay.

thebeardisred

17 hours ago

Naive question, shouldn't it be `pipx install yami-music-player` since it's an application and not a library?

indigodaddy

16 hours ago

Wow I just checked out what spotdl does, had never heard of it before. Pretty darn cool! Is there a similar tool that can do the same but instead of for Spotify, for actual YT playlists or actual albums from YT music?

ekusiadadus

a day ago

Cool...

selykg

a day ago

From the Guidelines:

https://news.ycombinator.com/newsguidelines.html

> Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.

> Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.

pmdulaney

21 hours ago

Are you suggesting that saying that a project is cool violates the HN guidelines? If so, please explain.

selykg

21 hours ago

The ... can be read as sounding very dismissive.

But also, it really didn't add anything to the discussion even if that wasn't the intention. Hence the second point I added from the guidelines. So, I see two potential areas of improvement.

pvg

21 hours ago

Getting all guideliney on fluffy positive comments mostly defeats the purpose of getting all guideliney - the billowing clouds of meta that tends to generate are worse (guideline-worse, no less!) than the fluffy comment itself.

selykg

19 hours ago

Possibly, but "Cool..." is hardly adding any value, whatsoever. In this case the poster should've simply said nothing unless they had something of value to say. This is sort of the second point I was quoting. There are a number of points in the guidelines that try to get people to add value to the conversation.

> the billowing clouds of meta that tends to generate are worse (guideline-worse, no less!) than the fluffy comment itself.

Well, at the end of the day you contributed to that with your own comment.

pvg

19 hours ago

is hardly adding any value, whatsoever.

Yes but they are explicitly accounted for in the site docs/design/intent, from waaaay back:

Empty comments can be ok if they're positive. There's nothing wrong with submitting a comment saying just "Thanks." What we especially discourage are comments that are empty and negative—comments that are mere name-calling.

https://news.ycombinator.com/newswelcome.html

And pop up in moderation comments

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

dataflow

15 hours ago

> There's nothing wrong with submitting a comment saying just "Thanks."

I'm pretty sure they meant saying "Thanks." in response to another comment, not as a top-level comment reply to a Show HN.

Kind of like how you wouldn't bust into a restaurant and say a loud "Thanks." to the entire room, despite it being perfectly fine to say thanks in a restaurant.

pvg

15 hours ago

You can see the this covered in the mod comments, toplevel positive fluff is fine. Most of it doesn't go anywhere (as in, it's not like these end up the top of the thread and collect fluffreplies) and are, at a minimum, not worth policing.

jannyfer

19 hours ago

OP seems to be Japanese, so the ellipsis is unlikely to be meant as dismissive.

nimblegorilla

21 hours ago

I don't know the original comment's intent, but adding "..." at the end of your message is now considered by some as rude:

https://workplace.stackexchange.com/questions/149145/is-the-...

bityard

19 hours ago

Just because someone is confident about their own weird interpretation of something on the Internet does not make it true.

I (and lot of people I know) use elipsis in writing all the time... usually to indicate a pause or change of direction from the previous thought. If I am in a hurry to get technical details down in text and off to some team, worrying about 100% correct proper writing style is time and luxury that I almost NEVER have.

And besides, unless you work in a law office or something, email is NOT a formal communications method. Grammar and spelling should be within acceptable limits but not a deal-breaker. Otherwise you'd be skating near the principle of judging a book by its cover which would be very un-woke.

nimblegorilla

18 hours ago

> Just because someone is confident about their own weird interpretation of something on the Internet does not make it true.

You seem confident about your interpretation...

Does that help you understand?

bityard

16 hours ago

I see what you did there...

latexr

19 hours ago

> Just because someone is confident about their own weird interpretation of something on the Internet does not make it true.

Agreed. Though in the case of “cool…” there is precedent. For example, John Oliver says it sarcastically¹ with some regularity. Well, he can’t say the ellipsis, but it’s how I’d have written it.

Either way, I’m agreeing with you. People also think that putting a period at the end of a text message is rude², which is bonkers to me³. Soon we won’t be able to use any punctuation without it being considered dismissive⁴.

¹ https://www.youtube.com/watch?v=A8q8PXoJwVk

² https://www.nytimes.com/2021/06/29/crosswords/texting-punctu...

³ I do it all the time. People get used to it and learn it’s just how I write.

⁴ Yes, that’s a slippery slope fallacy. I’m employing it for comedic effect, not as a real complaint of “kids these days”.

bityard

16 hours ago

> People also think that putting a period at the end of a text message is rude

Yes, this is essentially the kind of thing that I was thinking of. It's nutty.

I submit that anyone who assuming malice on the part of the sender without ANY direct evidence to support it likely has some trust issues to work out with their therapist. I started out my adult life being deeply distrustful of basically everyone and it took a LONG time to learn that (lacking direct evidence) assuming the best in people's intentions makes you a lot happier and gets you a lot farther in life.

I'm also reminded of the saying, "offense is taken, not given."

bilekas

18 hours ago

A good rulem of thumb I've found is, if your comment doesn't bring any value and could be taken as rude or flippant, then there's no need to post it. IMO this "Cool..." fits that description pretty well. Nothing to do with "woke" etc. Just doesn't bring any value.

raffraffraff

13 hours ago

I assumed positive intent when you said "cool" but the academic dissection of your use of the ellipsis makes me feel like a simpleton. I'm tired of this combative shit HN.

DevER-M

a day ago

can you give me some feedback if you'd like!

cocodill

15 hours ago

I don't think you'll find out anything you not already know:

+ spotdl search is nice

+ tkinter surprisingly doesn't look as ugly as usual

- no rewind or fastforward, nigher is it possible to click somewhere in the track progress bar to jump to.

- "about" button does nothing

- /tmp is littered with covers cause they are created each time you click on a track

- if you first used <F8>/<F9> or the previous/next buttons and then you hit <space>, besides pause/play it causes a strange behavior: some random track in the playlist is get marked as an active one.

DevER-M

11 hours ago

this project still has many issues and ill try to fix it

ipaddr

a day ago

I have the same comment. It looks cool and a fun project and useful.