News for hackers. Stuff that matters.
Re:Show HN: Muse, a CLI background music player by benrutter on Thursday January 18, 2024 @02:28AM (#39038997)
Does anyone know if there's more docs on the intention behind this?

Looks like a cool project at first glance, and the code is really nice. But I don't fully get what a " background" music player is? Is the idea that you're not choosing specific song and it'll instead cycle through predesignated ones?

Re:Show HN: Muse, a CLI background music player by andion on Thursday January 18, 2024 @03:46AM (#39039480)
You can save a ton of battery using things like this.

I created a similar app using mac's afplay 11 (yikes) years ago https://github.com/andion/gramola

I don't use it anymore but at the time it made my battery last longer, you can see a battery consumption comparison on the repo.

Re:Show HN: Muse, a CLI background music player by HKH2 on Thursday January 18, 2024 @03:02AM (#39039201)
- It plays instantly. You don't need to click through a GUI and see names, labels etc. Just press a play shortcut.

- There's an element of surprise, and you can hear your whole collection. Sure, you can do that with a GUI, but it's a few extra clicks.

You will always get used to music. I wrote a player that will play a piece of music less frequently if I skip it faster, so what I skip less I will hear again sooner. Also, I add extra meta keys to the shortcut if I'm far too used to something and don't want to hear it in a while.

Also, I flag music that has lyrics / speaking / vocal sounds so I can skip it when I'm trying to focus.

Re:Show HN: Muse, a CLI background music player by M95D on Thursday January 18, 2024 @02:35AM (#39039026)
... and there's no support for playlists. So, there's actually no control over what it plays.
Re:Show HN: Muse, a CLI background music player by trymas on Thursday January 18, 2024 @03:49AM (#39039501)
I guess you can put your wanted songs in a “playlist” directory and define it in the config?
Re:Show HN: Muse, a CLI background music player by DANmode on Thursday January 18, 2024 @06:23AM (#39040489)
or a playlist file (if the player supports them).
Re:Show HN: Muse, a CLI background music player by M95D on Thursday January 18, 2024 @06:43AM (#39040606)
Yeah, I'm going to re-organize my entire music collection to fit the player's limitations. Not. Going. To. Happen.
Re:Show HN: Muse, a CLI background music player by trymas on Thursday January 18, 2024 @12:23PM (#39044549)
Symlinks could work, I guess.
Re:Show HN: Muse, a CLI background music player by vacuumboots on Thursday January 18, 2024 @01:51PM (#39045935)
sounds like it's Not. For. You.
Re:Show HN: Muse, a CLI background music player by justsomehnguy on Thursday January 18, 2024 @02:46AM (#39039099)
> Is the idea that you're not choosing specific song and it'll instead cycle through predesignated ones?

At random. That's why it's background.

> Does anyone know if there's more docs on the intention behind this?

I would assume what it's just what is on the box - a player for when you want some background noise.

Though it gave me an idea and I added a batch file to my global scripts:

    start C:\Shares\personal\justsomehnguy\progs\Winamp563\winamp.exe "%CD%"
Re:Show HN: Muse, a CLI background music player by wumms on Thursday January 18, 2024 @04:09AM (#39039627)
> At random. That's why it's background.

From the github page:

  # The order in which the audio files are played
  # Can be either "Random" or "Alphabetical".
  playback_order = "Random"
Re:Show HN: Muse, a CLI background music player by aabiji on Thursday January 18, 2024 @08:18AM (#39041307)
Hey! OP here. I primarily work in the terminal, so Muse is a more convenient way for me to play music. Personally, I don't really care what track should play, so as you said it just cycles through predesignated ones. The reason why I call it a "background" music player is that I can just run Muse, and it will play music without any manual intervention or thought.
Re:Show HN: Muse, a CLI background music player by benrutter on Thursday January 18, 2024 @08:28AM (#39041418)
Hey, nice project, I enjoyed reading your code! I do the same thing and wrote a terminal mp3 player a while back in python (mpy3).

I really like the idea though of just having an "on/off" switch and not thinking about what's playing. Feels like a fun implementation- will definitely give it a go!

Re:Show HN: Muse, a CLI background music player by Player6225 on Thursday January 18, 2024 @11:06AM (#39043440)
Seems like a really great way to play more passive longer-running kinds of study music/sounds like coffeeshop noise or lofi-hiphop!