84

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

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/

4 days agoDevER-M

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.

4 days agosigio

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

4 days agoDevER-M

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

4 days agococodill

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

Why not Korean or Chinese?

3 days agolatentsea

Japanese Cultural Victory is what is.

I don't know a lick of Chinese or especially Korean, but I know my fair share of japanese words thanks to exposure to Japanese media i.e. Anime.

Anime is pretty popular in the west, especially amongst the demographic that's more likely to build software in their free time.

TL: Yami means Dark/Darkness

2 days agoGreenWatermelon

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.

4 days agojames_marks

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

4 days agoDevER-M

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.

4 days agometmac

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

4 days agothebeardisred

Can you use pipx? Yes.

If you have pipx, should you use it? Yes.

If you don’t, do you need it? No.

Pipx is a tool that, while nice, it’s not required. Most people will have pip if they have Python but not pipx.

2 days agorovr138

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?

4 days agoindigodaddy
[deleted]
4 days ago

[flagged]

4 days agojerrac

Both VinylPlayer, Foss on fdroid, and Symfonium, commercial/ paid with free trial, have worked for me.

VinylPlayer even has the ability to edit Metadata of titles with multiple artists.

4 days agoc0balt

VinylPlayer is a fork of Phonograph. :)

Symfonium looks interesting. I think it actually does support the multiple artists and genres like I want. Thanks for the tip on that one!

4 days agojerrac
[deleted]
4 days ago

Cool...

4 days agoekusiadadus

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.

4 days agoselykg

Hi, I'm the original commenter.

There was absolutely no negative meaning intended. It was simply a really interesting project, and I was the first to discover the post.

As someone pointed out, in my country, it doesn't have any negative connotation at all.

If I made the original poster feel bad, I apologize.

2 days agoekusiadadus

lol i did not only the other commenters did but yeah thanks :)

2 days agoDevER-M

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

4 days agopmdulaney

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.

4 days agoselykg

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.

4 days agopvg

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.

4 days agoselykg

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...

4 days agopvg

> 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.

4 days agodataflow

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.

4 days agopvg

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

4 days agojannyfer

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-...

4 days agonimblegorilla

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.

4 days agobityard

> 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?

4 days agonimblegorilla

I see what you did there...

4 days agobityard

> 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”.

4 days agolatexr

> 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."

4 days agobityard

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.

4 days agobilekas

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

4 days agoDevER-M

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.

4 days agococodill

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

4 days agoDevER-M

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

4 days agoipaddr

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.