Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BlaqkAudio

macrumors 6502
Jun 24, 2008
496
23
New York
I tried re-enabling the restrictions tab by modifying the preferences plist. They removed all the options from the tab and direct you to manage content restrictions through screen time (and then the tab goes back to being hidden the next time you restart Music). I didn't see any other hidden preferences in the plist that would let me hide AM.
 

ChildOfTheWW

macrumors member
Nov 7, 2014
36
18
Really sucks, i dont think Apple will bring the setting to disable it back. Also the Rating Stars are horrible to read, the inactive stars should be much more subtle.
 

fisherking

macrumors G4
Original poster
Jul 16, 2010
11,251
5,561
ny somewhere
Monetizing scheme. Apple used to be a hardware company offering excellent software to compel people to buy their hardware. Now they've become exceedingly greedy, disabling features and forcing their business onto their users.

This will not go down well in the end.
i don't like it (why i started the thread), but i think you're over-reacting. it's a minor issue, and easy to ignore. and, maybe somewhere down the line, apple will add a preference to hide it. anyway, am ignoring it (and it's ignoring me), so good enough.... for now.
 

korowa.tarig

macrumors newbie
Oct 4, 2021
5
7
Yes it's a shame they have taken away that feature to remove Apple Music. I only use the Music App on MacOS to playback 24-bit high-res files that I've purchased through my HiFi. At least it doesn't stick out like dog balls and if you've made enough playlists .. you can scroll it away. Also, It's a shame they didn't fix the giant playlist header.. many users requested that to be reinstated the way it used to be. and they have been ignored. I would go one step further and give users the choice to add artwork to the header.
 

Serenity Meadownik

macrumors newbie
Nov 23, 2021
1
3
I've figured out how to get rid of the Apple Music group (but not the iTunes Store). See the script below.

Bash:
#!/bin/sh

## This script hides the annoying apple music group on the left nav of
## Music.app that they intentionally force on the app.
#
# To use, open TextEdit (spotlight search), copy/paste to in to TextEdit, save
# to ~/Desktop/fix.sh, then double click it on your desktop.
#
# Two options: either use LittleSnitch to filter outgoing net traffic to Apple
# for the specific daemon used by Music.app (I don't know which that is yet),
# or create a script, use Alred/Keyboard Maestro etc to open Music.app with
# this script, and argument "open" to this script.
#
# If you use LittleSnitch, you must disable iCloud and macOS services rule
# groups in LittleSnitch, otherwise Music.app will use a proxy daemon to
# contact apple services to get (probably) the radio/itunes etc metadata and
# will restore the side bar group.

PLIST=~/Library/Preferences/com.apple.Music.plist

if [ "$1" == "--help" ] ; then
    echo "usage: $0 [explore] [open]"
    exit 0
fi

if [ "$1" == "explore" ] ; then
    open $PLIST
    shift
else
    defaults write $PLIST haveRadioState 0

## other various settings I tried to get rid of the "Store" group, that didn't
## work
#
#    defaults write $PLIST storeSupportsUPP -bool false
#    defaults write $PLIST storeSupportsCloudPurchases -bool false
#    defaults write $PLIST doesStoreSupportCloudMusicLibrary -bool false
#    defaults write $PLIST storeSupportsPreviousPurchases -bool false
#    defaults write $PLIST storeSupportsPasswordSettings -bool false
fi

if [ "$1" == "open" ] ; then
    osascript -e 'tell application "Music" to activate'
fi
 

CasualFanboy

macrumors 6502
Jun 26, 2020
382
679
Bash:
# Two options: either use LittleSnitch to filter outgoing net traffic to Apple
# for the specific daemon used by Music.app (I don't know which that is yet),
# or create a script, use Alred/Keyboard Maestro etc to open Music.app with
# this script, and argument "open" to this script.
#
# If you use LittleSnitch, you must disable iCloud and macOS services rule
# groups in LittleSnitch, otherwise Music.app will use a proxy daemon to
# contact apple services to get (probably) the radio/itunes etc metadata and
# will restore the side bar group.

Holy ****, this is just infuriating every time I think about it. Apple really does think you're just renting one of their kiosks when you give them $thousands for a computer.
 
  • Like
Reactions: Serenity Meadownik

noorb

macrumors newbie
Sep 5, 2021
4
0
I've figured out how to get rid of the Apple Music group (but not the iTunes Store). See the script below.

Bash:
#!/bin/sh

## This script hides the annoying apple music group on the left nav of
## Music.app that they intentionally force on the app.
#
# To use, open TextEdit (spotlight search), copy/paste to in to TextEdit, save
# to ~/Desktop/fix.sh, then double click it on your desktop.
#
# Two options: either use LittleSnitch to filter outgoing net traffic to Apple
# for the specific daemon used by Music.app (I don't know which that is yet),
# or create a script, use Alred/Keyboard Maestro etc to open Music.app with
# this script, and argument "open" to this script.
#
# If you use LittleSnitch, you must disable iCloud and macOS services rule
# groups in LittleSnitch, otherwise Music.app will use a proxy daemon to
# contact apple services to get (probably) the radio/itunes etc metadata and
# will restore the side bar group.

PLIST=~/Library/Preferences/com.apple.Music.plist

if [ "$1" == "--help" ] ; then
    echo "usage: $0 [explore] [open]"
    exit 0
fi

if [ "$1" == "explore" ] ; then
    open $PLIST
    shift
else
    defaults write $PLIST haveRadioState 0

## other various settings I tried to get rid of the "Store" group, that didn't
## work
#
#    defaults write $PLIST storeSupportsUPP -bool false
#    defaults write $PLIST storeSupportsCloudPurchases -bool false
#    defaults write $PLIST doesStoreSupportCloudMusicLibrary -bool false
#    defaults write $PLIST storeSupportsPreviousPurchases -bool false
#    defaults write $PLIST storeSupportsPasswordSettings -bool false
fi

if [ "$1" == "open" ] ; then
    osascript -e 'tell application "Music" to activate'
fi


Hope this is not gravedigging. I tried running this on 12.2 and I could not get it to work? it just opens my terminal and then nothing happens. Can anyone else on 12.2 tell me if this is working for them or not?

Also did anyone figure out what internet thingy needs to be blocked in littlesnitch/lulu if this does so one can run music without the alfred/maestro script?
 

sanssecours

macrumors newbie
Nov 3, 2021
3
2
I tried running this on 12.2 and I could not get it to work? it just opens my terminal and then nothing happens. Can anyone else on 12.2 tell me if this is working for them or not?

The workaround from Serenity Meadownik still works for me. As far as I can remember, I just disabled the radio station with the command:

Bash:
defaults write ~/Library/Preferences/com.apple.Music.plist haveRadioState 0

After that I blocked all outgoing traffic from Music in Little Snitch:

Little Snitch.png


and then restarted Music.
 

bogdanw

macrumors 603
Mar 10, 2009
6,099
3,013
I don’t use Music at all, so I might not understand exactly what needs to be disabled, but Music service can be disabled with a mobileconfig profile that sets allowMusicService to false.
If false, disables the Music service, and the Music app reverts to classic mode. Requires a supervised device. Available in iOS 9.3 and later, and macOS 10.12 and later.
https://developer.apple.com/documentation/devicemanagement/restrictions
Here is an example created with Apple Configurator 2

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>PayloadContent</key>
    <array>
        <dict>
            <key>PayloadDescription</key>
            <string>Configures restrictions</string>
            <key>PayloadDisplayName</key>
            <string>Restrictions</string>
            <key>PayloadIdentifier</key>
            <string>com.apple.applicationaccess.allowMusicService</string>
            <key>PayloadType</key>
            <string>com.apple.applicationaccess</string>
            <key>PayloadUUID</key>
            <string>PayloadUUID001</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>allowMusicService</key>
            <false/>
        </dict>
    </array>
    <key>PayloadDisplayName</key>
    <string>DIsable MusicService</string>
    <key>PayloadIdentifier</key>
    <string>allow.Music.Service</string>
    <key>PayloadRemovalDisallowed</key>
    <false/>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>PayloadUUID002</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>
 

noorb

macrumors newbie
Sep 5, 2021
4
0
The workaround from Serenity Meadownik still works for me. As far as I can remember, I just disabled the radio station with the command:

Bash:
defaults write ~/Library/Preferences/com.apple.Music.plist haveRadioState 0

After that I blocked all outgoing traffic from Music in Little Snitch:

View attachment 1954259

and then restarted Music.
Thanks for the response. Does that get rid of everything apple music for you? For me it still has a panel on the left but it got rid of one of the radio buttons but not the "listen now" and the category as a whole.

1644314281936.png


I don’t use Music at all, so I might not understand exactly what needs to be disabled, but Music service can be disabled with a mobileconfig profile that sets allowMusicService to false.

https://developer.apple.com/documentation/devicemanagement/restrictions
Here is an example created with Apple Configurator 2

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>PayloadContent</key>
    <array>
        <dict>
            <key>PayloadDescription</key>
            <string>Configures restrictions</string>
            <key>PayloadDisplayName</key>
            <string>Restrictions</string>
            <key>PayloadIdentifier</key>
            <string>com.apple.applicationaccess.allowMusicService</string>
            <key>PayloadType</key>
            <string>com.apple.applicationaccess</string>
            <key>PayloadUUID</key>
            <string>PayloadUUID001</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>allowMusicService</key>
            <false/>
        </dict>
    </array>
    <key>PayloadDisplayName</key>
    <string>DIsable MusicService</string>
    <key>PayloadIdentifier</key>
    <string>allow.Music.Service</string>
    <key>PayloadRemovalDisallowed</key>
    <false/>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>PayloadUUID002</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>
Thank you, can you tell me where I can set this profile to be active? I have never done anything with mobileconfigs.
 

sanssecours

macrumors newbie
Nov 3, 2021
3
2
Thanks for the response. Does that get rid of everything apple music for you? For me it still has a panel on the left but it got rid of one of the radio buttons but not the "listen now" and the category as a whole.

Yep. As far as I remember the Little Snitch rule makes sure that “Listen Now” also disappears:
Music.png
 

noorb

macrumors newbie
Sep 5, 2021
4
0
Okay so I went through the documentation of apple configurator as suggested by @bogdanw and I got all of the apple music crap gone. Thanks for the help from both of you tho!

1644360638809.png
 

sanssecours

macrumors newbie
Nov 3, 2021
3
2
Okay so I went through the documentation of apple configurator as suggested by @bogdanw and I got all of the apple music crap gone.
I now also use the solution suggested by bogdanw. For everyone interested, here are the steps I went through to enable the profile on my machine:
  1. Copy the XML code from bogdanw’s post
  2. Paste the code into your favorite text editor
  3. Optional: Change the the displayed name to something different; For example, I replaced the text “DIsable MusicService” with “Disable Apple Music”
  4. Store the file with the extension “mobileconfig”: I used the name “Disable Apple Music.mobileconfig”
  5. Double click on “Disable Apple Music.mobileconfig”: The file should be opened by “Profile Installer” by default
  6. Open “System Preferences”: There should be a new “Profiles” preference pane at the bottom of the application
  7. Click on “Profiles”
  8. Select the profile and click “Install…”
  9. Click on the button “Install”
Profiles.png
 
  • Like
Reactions: joedec and bogdanw

bogdanw

macrumors 603
Mar 10, 2009
6,099
3,013
Here's a profile created with ProfileCreator https://github.com/ProfileCreator/ProfileCreator
It has the key PayloadScope set to System, so it should Disallow Apple Music for all users, not just the current one.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>PayloadContent</key>
    <array>
        <dict>
            <key>PayloadDescription</key>
            <string>Configures restrictions</string>
            <key>PayloadDisplayName</key>
            <string>Restrictions</string>
            <key>PayloadIdentifier</key>
            <string>allow.Music.Service.NO</string>
            <key>PayloadOrganization</key>
            <string>NotApple</string>
            <key>PayloadType</key>
            <string>com.apple.applicationaccess</string>
            <key>PayloadUUID</key>
            <string>PayloadUUID001</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>allowMusicService</key>
            <false/>
        </dict>
    </array>
    <key>PayloadDescription</key>
    <string>Do NOT allow Apple Music</string>
    <key>PayloadDisplayName</key>
    <string>Disable Apple Music</string>
    <key>PayloadIdentifier</key>
    <string>NOT.allow.Music.Service</string>
    <key>PayloadOrganization</key>
    <string>NotApple</string>
    <key>PayloadScope</key>
    <string>System</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>PayloadUUID002</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>

I’ve explained more about profiles here https://forums.macrumors.com/threads/permanently-disable-icloud-private-relay.2332146/
 
  • Like
Reactions: sanssecours
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.