frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Stop the Apple Music app from launching

https://lowtechguys.com/musicdecoy/
231•bobbiechen•1h ago

Comments

ericskiff•1h ago
Thank you, this is a huge pet peeve of mine. I mis-click my airpod and suddenly this app I've never used and don't want launches
ASalazarMX•58m ago
> this app I've never used and don't want launches

I'm by no way an Apple fan, but why not uninstall the app if you don't need it?

jacobsenscott•54m ago
It cannot be uninstalled
callc•47m ago
cough cough hey EU you hearing this shit?
joxdosba•33m ago
If you for whatever reason do not want the security benefits offered by SIP, you can turn it off.

Of course, doing so just to get rid of Apple Music would tend to be a bit crazy.

dlev_pika•24m ago
The (shitty) logic here is that you don’t ‘own’ the OS, but merely rent it, so “deal with it”
mritun•20m ago
^ How can you make such an obviously wrong statement?

Drag Music app to Trash, and that it! Like you do with any other app.

FloayYerBoat•8m ago
I hope this is a joke. You cannot delete it. It's considered "system" software.
wood_spirit•41m ago
Same! And there is no obvious close button etc on the overtop blocking modal dialog either. It’s a dark pattern.
verdverm•1h ago
I've been using this for a while now: https://github.com/tombonez/noTunes

Source code for this one: https://github.com/FuzzyIdeas/MusicDecoy

dangerlibrary•1h ago
noTunes is one of the first things I install on a new mac.
fartfeatures•1h ago
I'm very clumsy and I've never hit the play button by accident. What are you guys doing that makes it so easy to accidentally click the play button? Are you using the mac with the touch bar or something?
creedleshrump•1h ago
For me it mostly happens when I press play on my airpods. If they connect to my mac instead of my phone it opens up apple music if I don't have another media player open.
forsalebypwner•1h ago
For me, this constantly happens:

- I'll pause a podcast I'm listening to on my iPhone or iPad, or just take my AirPods out of my ear for a moment

- Like 5 minutes later, I'll squeeze the AirPod stem to resume playback. It will instead think that I want to play Apple Music on my Mac for some fucking reason.

I don't think this behavior can be easily customized (somebody let me know if it can!)

valentiniljaz•1h ago
Yes. Yes. Thank you. I wanted something like for years.
bigyabai•1h ago
For the life of me, I cannot figure out why this is the default behavior for a supposedly premium operating system.
imglorp•1h ago
It seems the fans are willing to put up with absolutely unlimited grief and inconvenience to drink the koolaid they're given. Some Apple PM made a edict 11 years ago that Music shalt be thine only audio experience on the platform. Lock it down, boys!

The rest of us ask for a customizable experience.

the_gastropod•30m ago
This “Apple customers are brainwashed cultists incapable of examining reality” schtick was tired a decade ago. No option’s perfect. But Apple’s current tradeoffs vs other options’ trade offs continue to feel worthwhile to many.
eviks•59m ago
The OS isn't supposed to be premium since it's free, does that help figure it out?
nkozyra•33m ago
You can't buy the OS directly, but it certainly isn't free.
hmokiguess•1h ago
for me it's when I open an audio file and it automatically launches it AND adds it to my music library, the adding to library is what I hate, then I have to delete it and specifically choose "Keep file"
dlev_pika•27m ago
Yeah, this sucks
kccqzy•24m ago
Ah a long time ago when the Music app was still called iTunes I have configured all music files to be opened with quicktime player. It’s been so long that I forgot the default was the Music app. To me it’s absolutely clear that playing a file doesn’t mean I want it in my library.
fnordlord•18m ago
This was annoying to me too but it is pretty easy to fix. Just right click on the .mp3 or whatever file, Get Info and change the default application to your preferred app and then click on "Change all..."

You have to do it once per file type but it's once and done.

lachlan_gray•13m ago
Yes, so many times I've been jumpscared by work-related audio in my playlists because of this
nottorp•1h ago
Lovely. I don't press the play button by mistake much, but if i touch my BT headphones wrong...
drcongo•17m ago
I actually had to look at my keyboard as I'd forgotten there even was a play button.
lxgr•1h ago
Reading this title made “The Miracle of Joey Ramone” by U2 play in my head.
dlev_pika•23m ago
Oh man, throwback to when they forced the U2 albums on to everyone’s device for ReasonsTM
sph•59m ago
The lack of applications like this is why macOS will always be a superior alternative to Linux.

/s for the sarcasm impaired

innagadadavida•58m ago
The same thing happens with iPhone and car bluetooth. It is super annyoing and many times, a podcast will be playing in the background while the car has FM/radio selected. This is incredibly frustrating and bad user experience. The worst part is it is not clear if this is Apple's fault or some buggy old firmware in the car's audio stack that is at fault (this happens consistently on 2017 Tesla Model S).
nepthar•57m ago
Thank you. Thank you.
skarz•56m ago
Every time I get in my car the Apple Music app prompts me to resubscribe with a full screen popup. Usually it tries 2-3 times before it stops.
CamperBob2•31m ago
I use both Apple Music and Spotify, and normally use the former in the car because it resumes its state from the last shutdown while Spotify does not. But when I do use Spotify, Apple Music is the app that comes up the next time I start the car. Pretty annoying.
watersb•56m ago
From TFA, via StackExchange:

    launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist
will quit the process responsible for the madness (rcd, the "remote control daemon").

You'll have to remember to re-load this thing if you want the default behavior. Or if you encounter other unexpected situations, to restore the default insanity.

It might be easier to run this app instead; then you have an icon in your GUI desktop environment and an app you can simply quit to restore defaults. Plus this app allows you to assign any app to the "Play" media event.

linsomniac•33m ago
Wow, thank you! I use and "like" youtube music, but it seems like every time I'd start a google meet call (IIRC) or otherwise interact with audio on my MacBook it would bring up Apple Music. If I quit it, it would pop back up the next time I had audio playing, but if I just left it running it would be fine. So I'd always have this Apple Music in my list of running apps. Kind of annoying.

I ran the above and then quit Apple Music and tried a few different things and so far it hasn't come back up.

Terretta•12m ago
> you have an icon ... simply quit

FTA:

Uh.. how do I quit this app?

The app has no Dock icon and no menubar icon so to quit it you'd need to do one of the following:

Launch Activity Monitor, find Music Decoy and press the button at the top

Run the following command in the Terminal:

  killall 'Music Decoy'
riazrizvi•52m ago
It's very sad to see Apple using these lowbrow Microsoft tactics. Press ganging your users into launching your other shit product is brand cannibalism.
letrix•36m ago
But why wouldn't pressing the Play button, when no media session is available, not open the music player?
spankalee•32m ago
I don't use Apple Music, so opening their music player only wastes my attention and time. It happens if you accidentally press play on your headphones too. Then you need to quit Apple Music, for no good reason. And you can't uninstall it!
antoineMoPa•31m ago
It cannot assume which media player I want to use, so the best course of action is to do nothing.
parl_match•28m ago
It's very reasonable that pressing "play" opens the default music player. They should let you choose.
lgcmo•30m ago
Let me change the default music player
FinnKuhn
r0fl•48m ago
I deleted mine because of this problem

I have the podcast app and so many times I would click an AirPod to resume and it would play a random song

stmw•35m ago
This is great! We need something similar for knowledgeconstructiond and several other overly insistent Apple software components.
tobadzistsini•32m ago
Or just switch to an Android phone.
hollowonepl•16m ago
Only with GraphenOS
dlev_pika•28m ago
I wish there was a way to stop it from ever appearing as spotlight result - when I type ‘music’, the first result (always) should be the music app I use, not their stuff
hollowonepl•17m ago
This is nice, I recently vibe coded my own media player as I mostly listen to my own digitalized audio library and all software available today sucks to cover my scenario or consumes way too much resources by my taste… but random triggering Apple Music happens so often and it’s so annoying. Good article explaining how the trick works, should be easy to self-implement without installing another 3rd party software from nowhere known source
alin23•13m ago
Dev here, thanks!

Although it's a pretty well known source in the macOS apps community (lowtechguys.com) with source code available right on the front page (https://github.com/FuzzyIdeas/MusicDecoy) and the code does basically nothing. There's not much to be afraid of.

bound008•16m ago
PSA: Its Unix.

  sudo chmod -x /Applications/Music.app
paulgb•8m ago
I wish it were that simple.

    ~: sudo chmod -x /Applications/Music.app       
    chmod: /Applications/Music.app: No such file or directory
    ~: sudo chmod -x /System/Applications/Music.app
    chmod: Unable to change file mode on /System/Applications/Music.app: Operation not permitted
(Mac OS Tahoe 26.5)
titzer•15m ago
I still can't believe they killed iTunes. I used to have my entire digital music library in iTunes. Most of that was music I had ripped myself from CD, but I had a handful of albums I bought of iTunes and even some TV shows. When they wholesale abandoned iTunes and deleted from Mac OS in favor of...whatever Apple Music is, I knew I'd never trust them again.

I searched for some decent mp3 players for a while, and even used AIMP for a while, but nowadays I think I'll just vibe code my own with my own interface and rely on the local file system and folder mounts to do the job. I really love this new era where I can just use AI to build a custom thing for myself and forget about all the predatory crap out there, especially from the OS vendors. I don't need streaming, I don't want it. I would have kept buying albums off iTunes, but since it sucks so much I'll just buy it on CD, thanks.

asdff•12m ago
Why vibe code anything? VLC would fit the bill. Even quicktime.
hedgehog•11m ago
iTunes and iPhoto both. Given how good the tools are getting, and how much existing sample code is available, it seems likely someone will do a good job of reincarnating them in the near future. Apple broke the apps I used most on the Mac and then they added the bubblicious design crime UI, no thanks.
Stitch4223•10m ago
The specification would matter more than the source it produces. Specify it right and share it with the world. Code is basically a winamp skin on the OS level.
Matl•9m ago
ios-contractor•14m ago
I have Galaxy Buds Pro and I'm using this awesome client https://github.com/timschneeb/GalaxyBudsClient to disable all touches but sometimes the client isn't running in the background and the Music app just gets in my way, so this is great!
jxmorris12•12m ago
> The app does absolutely no work in the background. It works by simply existing as a running process, thanks to having the same bundle identifier as the Music app.

I love clever, low-or-no-code engineering solutions like this. You typically need to understand a systems very deeply to reach this level of elegance. In this case, one has to understand exactly what happens when the play button is pressed in Mac OS, how bundle identifiers work, etc. And the outcome is an app with almost no code at all – just a collision – it's beautiful.

(As an aside, coding agents are terrible at this kind of thing; I'd guess Codex as of right now would write some overpowered application that polls in a loop looking for Music App starts and killing them)

boutell•10m ago
I THOUGHT I WAS THE ONLY ONE!

I actually nuked my music library off my Mac to mitigate this problem, but it's still a nuisance when the app launches.

Thank you for sharing this!

rbbydotdev•8m ago
launching apple music on play, seems very similar to microsoft's early anti trust case and internet explorer
hombre_fatal•54m ago
Just this week I was stuck in this state where my AirPods were receiving audio from the iPhone in my pocket (intended), but play/pause commands from the AirPods were sent to my Macbook in the other room.
js2•1h ago
For me it's my AirPods launching the Music app, something I rarely want. At the same time, it's one click in the menu bar to disable noTunes in the rare circumstances I want to use the Music app.

It's made worse by the fact that I use my AirPods across my personal devices and my work Mac, the latter of which I have to switch them to manually (since my work Mac is not on my personal iCloud account).

Anyway, however it happens, I often found the Music app launching on my personal and work Macs, and noTunes prevents it.

plqbfbv•59m ago
I had to start using noTunes years ago because whenever I accidentally touched or removed my (Sony / non-Apple) bluetooth headphones, iTunes/Music would pop up without fail. Apparently they sent a "play" button press, so the application would pop up. Because it's a system application, you cannot delete it, there's no way to override the key, there's no way to disable it. So noTunes has been running for 7 years straight on my Mac.
dwedge•39m ago
I use play/pause to start/stop the music on whatever I was listening to music on (Spotify usually, sometimes brain.fm). It's a background action, play music or stop music, no change to flow.

If Spotify isn't running for whatever reason, or sometimes even if it is, Apple Music decides that what I actually want is for it to steal focus for 5 seconds while it loads, switch to a full screen window and pester me to subscribe.

So in my case, the button click is intentional but the response isn't.

echelon_musk•1h ago
Same. noTunes works perfectly. There's no need to reinvent the wheel.
tomComb•1h ago
It seems I need to leave this running for it to work? So it's not just a configuration changes.
forsalebypwner•1h ago
When you first launch it, you'll notice a pop-up saying that this will automatically run when you login. There's no dock icon or menu bar icon. So no configuration changes needed.
thinkontheclock•41m ago
Interesting, there's always been a menu bar icon for it for me. You can hide it, though.
forsalebypwner•35m ago
I'm using "Music Decoy" and I don't see one. Possible noTunes has one.
•
30m ago
Because it's not the music player I choose to use. I would be ok with it, if I could change the default to e.g. VLC or Spotify.
stringfood•27m ago
or turn it off entirely because guess what? Most people are accidently hitting this play/pause button or they hit it thinking youtube is going to respond and instead they get Apple's seriously shite music player. classic apple no respect for me and my choices.
wk_end•27m ago
If there’s no media session available, “play” isn’t an action that makes any sense, so it shouldn’t do anything IMO.
embedding-shape•22m ago
Yeah, right? Seems obvious to me. If I press "Backspace" and there is nothing to go back to, or to remove, I expect the key to do nothing. Same for Escape, or Volume Up, or whatever. If it can't do what's expected, it does nothing.

Feels like at one point all the people who spent decades building OSes and desktop environment left Apple and Microsoft, and the people left are brand new developers who only been using computers for the last 10 years or something. Or something something executives/management, whatever fits your worldview better.

ryandrake•12m ago
No other key on my keyboard opens an application. I don't see why there should be one special key that operates that way.
deinonychus•26m ago
But why wouldn't the OS developer, when many people don't use Apple Music, not offer users the ability to pick what the key does?
unshavedyak•15m ago
> not open the music player?

I'd be fine with it doing that if it actually opened what i listen with. The OS can clearly see i spend 100% of my time in another music player (Spotify), opening Apple Music is at best a poorly designed UX.

There's great hand crafted library managers/players out there like https://www.strawberrymusicplayer.org etc.
al_borland•8m ago
You can turn off the cloud service in Apple Music and still use it with your local tracks and music downloaded from the iTunes Music Store (which still exists).

I did this for most of last year. I had all local music in Apple Music, disabled the cloud stuff, and synced it all to my iPhone by plugging it in with a cable, as if it was an old iPod. It all still worked.

californical•7m ago
Check out Swinsian.

It is basically old iTunes with some UI improvements and modern features built around somebody who has their own library to manage.

One developer AFAIK, been around for a long time.

It’s great software that I’m willing to pay for in today’s world for sure.

Stop the Apple Music app from launching

https://lowtechguys.com/musicdecoy/
242•bobbiechen•1h ago•86 comments

MiMo-v2.5-Pro-UltraSpeed: 1T model with 1000 tokens per second

https://mimo.xiaomi.com/blog/mimo-tilert-1000tps
341•gainsurier•3h ago•239 comments

Show HN: Performative-UI – a react component library of design tropes

https://vorpus.github.io/performativeUI/
506•lizhang•4h ago•109 comments

Full Reverse Engineering of the TI-84 Plus Operating System

https://siraben.github.io/ti84p-re/
52•siraben•1h ago•10 comments

Anti-social: It's fads, not friends, which now dominate social media feeds

https://www.bbc.com/worklife/article/20260520-how-social-media-ceased-to-be-social
386•1vuio0pswjnm7•7h ago•319 comments

xAI is looking more like a datacentre REIT than a frontier lab

https://martinalderson.com/posts/xais-new-rental-business/
140•martinald•3h ago•84 comments

Siri AI

https://www.apple.com/apple-intelligence/
75•0xedb•42m ago•58 comments

Apple WWDC 2026 Livestream

https://www.apple.com/apple-events/event-stream/
139•nextstep•1h ago•268 comments

OCaml Onboarding: Introduction to the Dune build system

https://ocamlpro.com/blog/2025_07_29_ocaml_onboarding_introduction_to_dune/
83•andrewstetsenko•4d ago•5 comments

Launch HN: Intuned (YC S22) – Build and run reliable browser automations as code

https://intunedhq.com
85•fkilaiwi•5h ago•35 comments

A Farmer Donated Land to Turn into a Park. The City Is Building a Data Center

https://www.404media.co/a-farmer-donated-land-to-turn-into-a-park-the-city-is-building-a-massive-...
327•greedo•3h ago•172 comments

Thunderbird Littering My Home

https://thefoggiest.dev/2026/06/04/thunderbird-littering-my-home
22•speckx•1h ago•10 comments

AI Is Slowing Down

https://www.wheresyoured.at/ai-is-slowing-down/
136•crescit_eundo•3h ago•140 comments

The Cypherpunk Library

https://www.cypherpunkbooks.com
284•yu3zhou4•10h ago•87 comments

Mutation Testing in Haskell

https://cs-syd.eu/posts/2026-06-03-mutation-testing-in-haskell
29•Norfair•5d ago•0 comments

Massachusetts bans sale of precise location data in new privacy rights bill

https://techcrunch.com/2026/06/08/massachusetts-votes-to-pass-new-privacy-rights-bill-that-bans-s...
72•01-_-•1h ago•9 comments

How much of Thermo Fisher's antibody data has been manipulated?

https://reeserichardson.blog/2026/05/28/how-much-of-thermo-fishers-antibody-data-has-been-manipul...
342•mhrmsn•12h ago•74 comments

Dopamine Fracking

https://igerman.cc/blog/dopamine-fracking/
711•igmn•16h ago•361 comments

Are you expected to run five Python type-checkers now?

https://pyrefly.org/blog/too-many-type-checkers/
93•ocamoss•6h ago•83 comments

Sam Bankman-Fried applies for a pardon from Trump

https://techcrunch.com/2026/06/08/sam-bankman-fried-applies-for-a-pardon-from-trump/
34•pseudolus•33m ago•12 comments

Zig by Example

https://github.com/boringcollege/zig-by-example
193•dariubs•5h ago•94 comments

Life is too short for a slow terminal

https://mijndertstuij.nl/posts/life-is-too-short-for-a-slow-terminal/
66•emschwartz•2d ago•61 comments

EU-banned pesticides found in rice, tea and spices

https://www.foodwatch.org/en/eu-banned-pesticides-found-in-rice-tea-and-spices
22•john-titor•3h ago•6 comments

Why are so many young people getting cancer?

https://www.nature.com/articles/d41586-026-01780-6
117•Brajeshwar•3h ago•113 comments

Spanish traders set the standard for GnuCash database design

https://handson.money/blog/2026-06-06-horse-arse-and-design/
60•vitalikpie•6h ago•64 comments

Why all new flags look the same

https://www.worksinprogress.news/p/good-design-is-ruining-american-flags
9•deunamuno•1h ago•2 comments

Zig Structs of Arrays (2024)

https://andreashohmann.com/zig-struct-of-arrays/
107•Tomte•4d ago•37 comments

Good type against all odds

https://unsung.aresluna.org/good-type-against-all-odds/
9•firloop•4d ago•2 comments

1k Data Breaches Later, the Disclosure Lag Is Worse

https://www.troyhunt.com/1000-data-breaches-later-the-disclosure-lag-is-worse-than-ever/
285•882542F3884314B•15h ago•118 comments

Replies to comments on my "LLMs are eroding my career" post

https://human-in-the-loop.bearblog.dev/replies-to-comments-on-my-llms-are-eroding-my-career-post/
102•omblivion•9h ago•154 comments