How to update spotify automatically?

fmiskic
New Contributor

Is there a way in self service to update spotify automatically. Or at the very least package/script the policy to always pull and install the latest version?

20 REPLIES 20

jackbowers01
New Contributor

Yeah, I am trying to figure this out too. How would we go about doing this? It prompts users for the admin login each time Spotify is launched to update. How can we allow the user to auto update?

MtAyr
New Contributor

I have this question also. Students are always coming in for a password when Spotify updates. Can it be added to Patch Management?

Socialblue
New Contributor

Would really love to have this as well.

larry_barrett
Valued Contributor

I stopped allowing the app. They can use the web browser player and leave me out of it.

https://open.spotify.com/

ThierryD
New Contributor III

Can't we modify a .plist or something ?

tlarkin
Honored Contributor

Gonna have to plug AutoPKG again:

autopkg search spotify

Name                        Repo                  Path                                    
----                        ----                  ----                                    
Spotify.filewave.recipe     andredb90-recipes     Spotify/Spotify.filewave.recipe         
Spotify.install.recipe      homebysix-recipes     Spotify/Spotify.install.recipe          
Spotify.pkg.recipe          homebysix-recipes     Spotify/Spotify.pkg.recipe              
Spotify.jss.recipe          jss-recipes           Spotify/Spotify.jss.recipe              
Spotify.munki.recipe        recipes               Spotify/Spotify.munki.recipe            
Spotify.download.recipe     recipes               Spotify/Spotify.download.recipe         
Spotify.LANrev.recipe       seansgm-recipes       LANrevRecipes/Spotify.LANrev.recipe     
Spotify.Absolute.recipe     seansgm-recipes       AbsoluteRecipes/Spotify.Absolute.recipe

Then you can use a tool like JSS Importer to automatically update your packages/patch your fleet with automation.

M_Tucker-JBE
New Contributor II

@tlarkin Do you have a decent guide you recommend to get AutoPKG working properly?

tlarkin
Honored Contributor

@M.Tucker-JBE the AutoPKG git repo has a great wiki that I just followed

sdamiano
Contributor II

Spotify is also in Installomator! https://github.com/scriptingosx/Installomator

user-HYjNvIRnvg
New Contributor

iOS
Go to Settings.
Tap iTunes & App Store.
Switch App Updates on. Android
Open the Google Play Store.
Search Spotify.
Tap the three dots in the top right.
Check Auto-update.
But sometimes I do not want to update it too often since I need to convert Spotify to MP3 with tools like TunesKit Spotify Music Converter.

AVmcclint
Honored Contributor

I just created this script today because I was disappointed that the Spotify "installer" available on their website just downloads whatever the latest version is from their site. I wanted something that was more easily deployable. It has the benefit of being a single script that covers both intel and arm CPUs. And it turned out that when I put this script in a Payload-free package, it can be used with Jamf's patch management!

 

#!/bin/bash

# hardware architecture check. Possible answers are "arm" or "i386"
CPU=$(uname -p)
echo "hardware architecture is $CPU . Installing $CPU version of Spotify"

# arm64 installation
arm_install()
{
	curl -L https://download.scdn.co/SpotifyARM64.dmg > /Users/Shared/SpotifyARM64.dmg 
	hdiutil attach /Users/Shared/SpotifyARM64.dmg 
	cp -R /Volumes/Spotify/Spotify.app /Applications/ 
	chown -R root:wheel /Applications/Spotify.app
	chmod -R 755 /Applications/Spotify.app
	hdiutil detach /Volumes/Spotify/ 
	sleep 3 
	rm -Rf /Users/Shared/SpotifyARM64.dmg
}

# intel installation
intel_install()
{
	curl -L https://download.scdn.co/Spotify.dmg > /Users/Shared/Spotify.dmg 
	hdiutil attach /Users/Shared/Spotify.dmg 
	cp -R /Volumes/Spotify/Spotify.app /Applications/ 
	chown -R root:wheel /Applications/Spotify.app
	chmod -R 755 /Applications/Spotify.app
	hdiutil detach /Volumes/Spotify/ 
	sleep 3 
	rm -Rf /Users/Shared/Spotify.dmg
}

if [ "$CPU" == arm ]
	then arm_install
	else intel_install
fi

echo "Finished installing $CPU version of Spotify"

exit 0

 

 

I'm sure it could use some fine adjustments, but it works as-is... at least until they either change the URL or the package names.  [EDIT: I did have -noverify on the hdiutil command because during my testing, It caused errors. But I just realized that the errors were from a previous method I was using. I removed -noverify since it works as-is now]

 

branttcohen
New Contributor

Hello Jamf Community,

To ensure Spotify is always updated automatically, you can leverage your self-service tools to create a policy that pulls and installs the latest version. This can be done by scripting a package deployment that regularly checks for updates and applies them without user intervention. A good approach is to schedule the update checks to align with Spotify's release schedule to minimize disruptions. For a more streamlined experience, you might also want to consider using the Spotify Unlocked App, which provides additional features and potentially more flexible update options.

Great Information!!

bobbycoombs
New Contributor

Greetings, Jamf Community,

You can use your self-service tools to build a policy that downloads and installs the most recent version of Spotify so that it is updated automatically. One way to accomplish this is by creating a package deployment script that automatically checks for updates and installs them without requiring user input. To reduce interruptions, it's a good idea to time the update checks to coincide with Spotify's release window. You could also want to think about utilizing the Spotify Unlocked App, which offers more features and possibly more flexible updating options, for a more simplified experience.


Fantastic Information!!

MayraSatterfie
New Contributor

To automatically update Spotify through self-service or a scripted policy, you can create a script that checks for the latest version of Spotify, downloads it, and installs it if an update is available. You could then package this script and configure it to run regularly through your system management tool (e.g., Jamf, Intune). Additionally, for those interested in enhanced Spotify features, I recommend checking out 'Spotify++ IPA'. It offers a range of extra functionalities that can improve your listening experience. Make sure to research thoroughly before downloading from unofficial sources.

MayraSatterfie
New Contributor

To automatically update Spotify through self-service or a scripted policy, you can create a script that checks for the latest version of Spotify, downloads it, and installs it if an update is available. You could then package this script and configure it to run regularly through your system management tool (e.g., Jamf, Intune). Additionally, for those interested in enhanced Spotify features, I recommend checking out 'Spotify++ IPA'. It offers a range of extra functionalities that can improve your listening experience. Make sure to research thoroughly before downloading from unofficial sources.

MayraSatterfie
New Contributor

To automatically update Spotify through self-service or a scripted policy, you can create a script that checks for the latest version of Spotify, downloads it, and installs it if an update is available. You could then package this script and configure it to run regularly through your system management tool (e.g., Jamf, Intune). Additionally, for those interested in enhanced Spotify features, I recommend checking out 'Spotify++ IPA'. It offers a range of extra functionalities that can improve your listening experience. Make sure to research thoroughly before downloading from unofficial sources.

 

Kevin1
New Contributor

Using Spotify's Built-In Auto-Update Feature

Spotify usually updates itself automatically if it’s installed via the official installer. Ensure that this feature is enabled in the settings:

  1. Open Spotify.
  2. Go to the top-right corner and click on your profile picture, then select Settings.
  3. Scroll down to the Advanced Settings section.
  4. Make sure Automatically update Spotify is enabled.

EleanorGabriel
New Contributor

To keep your Spotify always up-to-date automatically, you can set up a script that checks for the latest version, downloads it, and installs it if an update is available. This can be configured to run on a regular schedule using system management tools like Jamf or Intune. This way, you ensure your Spotify app is always running the latest features and bug fixes.

For those looking to enhance their Spotify experience even further, consider exploring Spotify++ IPA . It provides extra features such as ad-free listening, offline downloads, and improved performance. Just remember to thoroughly research before downloading any modded apps from unofficial sources.

DuaneMeade
New Contributor

Thanks for sharing these tips! Automatic updates can be a real lifesaver to stay on top of Spotify’s latest features. For those looking for extra customization, Spotify++ APK might be worth exploring, as it offers unique options beyond the regular version. Keep up the great work!

samcuran
New Contributor

To automate Spotify updates:

### Using Homebrew (macOS):

1. **Install Homebrew** (if not already installed):
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```

2. **Create a Script**:
```bash
#!/bin/bash
brew update
brew install --cask spotify || brew upgrade --cask spotify
```

3. **Set Up in Self-Service**: Schedule this script to run regularly via your management tool (e.g., Jamf Pro).

### For Windows:

1. **Download and Install**:
```bash
#!/bin/bash
curl -L -o "SpotifyInstaller.exe" "https://download.scdn.co/SpotifyInstaller.exe"
start /wait SpotifyInstaller.exe /S
```

2. **Schedule the Script**: Use Task Scheduler to run it at regular intervals.

This will keep Spotify updated automatically!