Show HN: Yami ā€“ An Open Source Music Player with Spotdl Integration

69 points - yesterday at 12:57 PM

Source
  • DevER-M

    yesterday at 1:27 PM

    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

        yesterday at 3:16 PM

        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

            yesterday at 3:18 PM

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

              • cocodill

                yesterday at 8:46 PM

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

    • james_marks

      yesterday at 2:55 PM

      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

          yesterday at 3:16 PM

          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

        yesterday at 3:21 PM

        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

          yesterday at 7:15 PM

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

          • indigodaddy

            yesterday at 8:17 PM

            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?

          • yesterday at 4:48 PM

            • jerrac

              yesterday at 3:34 PM

              [flagged]

                • c0balt

                  yesterday at 3:44 PM

                  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.

                    • jerrac

                      today at 12:58 AM

                      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!

                  • yesterday at 3:45 PM

                • ekusiadadus

                  yesterday at 1:09 PM

                  Cool...

                    • selykg

                      yesterday at 2:22 PM

                      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

                          yesterday at 3:08 PM

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

                            • selykg

                              yesterday at 3:28 PM

                              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

                                  yesterday at 3:50 PM

                                  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

                                      yesterday at 4:56 PM

                                      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

                                          yesterday at 5:22 PM

                                          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

                                              yesterday at 9:19 PM

                                              > 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

                                                  yesterday at 9:54 PM

                                                  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

                                    yesterday at 5:38 PM

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

                                • nimblegorilla

                                  yesterday at 3:24 PM

                                  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

                                      yesterday at 4:58 PM

                                      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

                                          yesterday at 6:02 PM

                                          > 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

                                              yesterday at 8:02 PM

                                              I see what you did there...

                                          • latexr

                                            yesterday at 5:42 PM

                                            > 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

                                                yesterday at 8:16 PM

                                                > 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

                                              yesterday at 6:15 PM

                                              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

                                yesterday at 11:26 PM

                                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

                                  yesterday at 1:11 PM

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

                                    • cocodill

                                      yesterday at 9:00 PM

                                      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

                                          today at 1:03 AM

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

                                      • ipaddr

                                        yesterday at 2:43 PM

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