86
40
DevER-M 6 days 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 6 days 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 6 days ago

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

cocodill 6 days 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 6 days ago

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

Why not Korean or Chinese?

GreenWatermelon 4 days ago

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

james_marks 6 days 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 6 days 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 6 days 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 6 days ago

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

rovr138 5 days ago

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.

indigodaddy 6 days 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?

igniuss 6 days ago

Checkout yt-dlp(1)

It's a continuation of yt-dl

(1) https://github.com/yt-dlp/yt-dlp

indigodaddy 6 days ago

Nice, thank you! ..and I found this which details exactly what I would need to accomplish:

https://www.reddit.com/r/youtubedl/comments/15xqg3t/ytdlp_fo...

ekusiadadus 6 days ago

Cool...

selykg 6 days 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.

ekusiadadus 5 days ago

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.

DevER-M 4 days ago

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

pmdulaney 6 days ago

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

selykg 6 days 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 6 days 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 6 days 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 6 days 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 6 days 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 6 days 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 6 days ago

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

nimblegorilla 6 days 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 6 days 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 6 days 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 6 days ago

I see what you did there...

latexr 6 days 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 6 days 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 6 days 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.

DevER-M 6 days ago

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

cocodill 6 days 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 6 days ago

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

ipaddr 6 days ago

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

raffraffraff 6 days 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.