Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

3,201,373

Downloads of v 1.2.31.1205:

31,084

Last Update:

14 Feb 2024

Package Maintainer(s):

Software Author(s):

  • Spotify

Tags:

spotify music player radio admin freeware cross-platform

Spotify

  • 1
  • 2
  • 3

1.2.31.1205 | Updated: 14 Feb 2024

Downloads:

3,201,373

Downloads of v 1.2.31.1205:

31,084

Maintainer(s):

Software Author(s):

  • Spotify

Spotify 1.2.31.1205

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Spotify, run the following command from the command line or from PowerShell:

>

To upgrade Spotify, run the following command from the command line or from PowerShell:

>

To uninstall Spotify, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade spotify -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade spotify -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install spotify
  win_chocolatey:
    name: spotify
    version: '1.2.31.1205'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'spotify' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.2.31.1205'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller spotify
{
    Name     = "spotify"
    Version  = "1.2.31.1205"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'spotify':
  ensure   => '1.2.31.1205',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 15 Feb 2024.

Description

Spotify is a digital music service that gives you access to millions of songs.

Features

  • Music
    There are millions of songs on Spotify. Play your favorites, discover new tracks, and build the perfect collection.
  • Playlists
    You'll find readymade playlists to match your mood, put together by music fans and experts.
  • New Releases
    Hear this week's latest singles and albums, and check out what's hot in the Top 50.
  • Search
    Know what you want to listen to? Just search and hit play.
  • Browse
    Check out the latest charts, brand new releases and great playlists for right now.
  • Discover
    Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.

Notes


tools\ChocolateyInstall.ps1
$downloadDir = Get-PackageCacheLocation
$installer          = 'SpotifyFullSetup.exe'
$arguments          = @{
    packageName     = $env:ChocolateyPackageName
    softwareName    = 'Spotify'
    file            = Join-Path $downloadDir $installer
    url             = 'https://download.scdn.co/SpotifySetup.exe'
    checksum        = '775C2669976674229BBD7EFB947076F47D56C50FE92BDA19F89991007B60644F3935A6F63D785ADD453A2612DEBD5232C98D44FDB83B30A64C33753C491A3930'
    fileType        = 'exe'
    checksumType    = 'sha512'
    silentArgs      = '/silent'
    validExitCodes  = @(0, 1641, 3010)
}

# Download the installer
$arguments['file'] = Get-ChocolateyWebFile @arguments

# It doesn't matter what time we choose, we need to start it manually
schtasks.exe /Create /SC Once /st (Get-Date -Format 'HH:mm') /TN $arguments['packageName'] /TR "'$($arguments['file'])' $($arguments['silentArgs'])" /F 2>$null
schtasks.exe /Run /TN $arguments['packageName']
Start-Sleep -s 1
schtasks.exe /Delete /TN $arguments['packageName'] /F

# Wait for Spotify to start, then kill it
$done = $false
do {
  if (Get-Process Spotify -ErrorAction SilentlyContinue) {
    Stop-Process -name Spotify
    $done = $true
  }

  Start-Sleep -s 10
} until ($done)
tools\ChocolateyUnInstall.ps1
$ErrorActionPreference = 'Stop';

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'Spotify'
  fileType      = 'exe'
  silentArgs    = '/uninstall /silent'
  validExitCodes= @(@(0))
}

$uninstalled = $false

[array]$key = Get-UninstallRegistryKey @packageArgs

if ($key.Count -eq 1) {
  $key | ForEach-Object {
    $packageArgs['file'] = "$($_.UninstallString -split ' ' | select -first 1)"

    Uninstall-ChocolateyPackage @packageArgs
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstall."
  Write-Warning "Please alert the package maintainer the following keys were matched:"
  $key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Spotify 1.2.30.1135 42468 Friday, February 2, 2024 Approved
Spotify 1.2.29.605 39625 Friday, January 19, 2024 Approved
Spotify 1.2.26.1187 64076 Friday, December 8, 2023 Approved
Spotify 1.2.25.1011 44654 Friday, November 24, 2023 Approved
Spotify 1.2.24.756 36438 Friday, November 10, 2023 Approved
Spotify 1.2.23.1125 30 Tuesday, November 7, 2023 Approved
Spotify 1.2.22.982 33606 Wednesday, October 11, 2023 Approved
Spotify 1.2.21.1104 17960 Thursday, September 28, 2023 Approved
Spotify 1.2.20.1218 10606 Friday, September 22, 2023 Approved
Spotify 1.2.20.1216 7430 Monday, September 18, 2023 Approved
Spotify 1.2.19.941 21288 Thursday, August 31, 2023 Approved
Spotify 1.2.18.999 18267 Thursday, August 17, 2023 Approved
Spotify 1.2.17.834 20240 Friday, August 4, 2023 Approved
Spotify 1.2.16.947 23372 Wednesday, July 19, 2023 Approved
Spotify 1.2.15.828 14367 Friday, July 7, 2023 Approved
Spotify 1.2.14.1149 17751 Thursday, June 22, 2023 Approved
Spotify 1.2.13.661 17640 Friday, June 9, 2023 Approved
Spotify 1.2.12.902 19979 Thursday, May 25, 2023 Approved
Spotify 1.2.11.916 13173 Tuesday, May 16, 2023 Approved
Spotify 1.2.10.760 24759 Thursday, April 27, 2023 Approved
Spotify 1.2.9.743 21331 Friday, April 14, 2023 Approved
Spotify 1.2.8.923 19648 Thursday, March 30, 2023 Approved
Spotify 1.2.7.1277 15171 Thursday, March 16, 2023 Approved
Spotify 1.2.6.863 18266 Thursday, March 2, 2023 Approved
Spotify 1.2.5.1006 15956 Friday, February 17, 2023 Approved
Spotify 1.2.4.912 16329 Friday, February 3, 2023 Approved
Spotify 1.2.3.1115 16844 Thursday, January 19, 2023 Approved
Spotify 1.2.0.1165 30695 Thursday, December 8, 2022 Approved
Spotify 1.1.99.878 14087 Thursday, November 24, 2022 Approved
Spotify 1.1.98.691 13731 Friday, November 11, 2022 Approved
Spotify 1.1.97.962 15526 Thursday, October 27, 2022 Approved
Spotify 1.1.96.785 12417 Friday, October 14, 2022 Approved
Spotify 1.1.95.893 13468 Friday, September 30, 2022 Approved
Spotify 1.1.94.872 8565 Thursday, September 22, 2022 Approved
Spotify 1.1.94.870 6987 Friday, September 16, 2022 Approved
Spotify 1.1.93.896 11590 Friday, September 2, 2022 Approved
Spotify 1.1.92.647 20400 Thursday, August 25, 2022 Approved
Spotify 1.1.91.824 49775 Thursday, August 4, 2022 Approved
Spotify 1.1.90.859 33304 Friday, July 22, 2022 Approved
Spotify 1.1.89.862 29718 Monday, July 11, 2022 Approved
Spotify 1.1.88.612 40085 Thursday, June 23, 2022 Approved
Spotify 1.1.87.612 50997 Thursday, June 9, 2022 Approved
Spotify 1.1.86.857 41536 Friday, May 27, 2022 Approved
Spotify 1.1.85.895 43368 Friday, May 13, 2022 Approved
Spotify 1.1.84.716 48517 Thursday, April 28, 2022 Approved
Spotify 1.1.83.956 24700 Thursday, April 21, 2022 Approved
Spotify 1.1.81.604 103329 Friday, March 18, 2022 Approved
Spotify 1.1.80.699 63997 Thursday, March 3, 2022 Approved
Spotify 1.1.79.763 58440 Friday, February 18, 2022 Approved
Spotify 1.1.78.765 57876 Friday, February 4, 2022 Approved
Spotify 1.1.77.643 64751 Thursday, January 20, 2022 Approved
Spotify 1.1.76.447 53383 Friday, January 7, 2022 Approved
Spotify 1.1.74.631 78555 Friday, December 10, 2021 Approved
Spotify 1.1.73.517 49207 Friday, November 26, 2021 Approved
Spotify 1.1.72.439 51918 Friday, November 12, 2021 Approved
Spotify 1.1.71.560 45984 Friday, October 29, 2021 Approved
Spotify 1.1.70.610 55785 Wednesday, October 13, 2021 Approved
Spotify 1.1.69.612 47399 Friday, October 1, 2021 Approved
Spotify 1.1.68.632 40568 Tuesday, September 21, 2021 Approved
Spotify 1.1.68.628 14132 Friday, September 17, 2021 Approved
Spotify 1.1.67.586 49367 Friday, September 3, 2021 Approved
Spotify 1.1.66.580 42647 Monday, August 23, 2021 Approved
Spotify 1.1.66.578 17480 Wednesday, August 18, 2021 Approved
Spotify 1.1.65.643 42146 Thursday, August 5, 2021 Approved
Spotify 1.1.64.561 51530 Thursday, July 22, 2021 Approved
Spotify 1.1.63.568 35078 Monday, July 12, 2021 Approved
Spotify 1.1.62.583 47268 Monday, June 28, 2021 Approved
Spotify 1.1.61.583 42195 Monday, June 14, 2021 Approved
Spotify 1.1.60.672 52669 Friday, May 28, 2021 Approved
Spotify 1.1.60.668 8642 Wednesday, May 26, 2021 Approved
Spotify 1.1.59.714 15626 Friday, May 21, 2021 Approved
Spotify 1.1.59.712 17564 Monday, May 17, 2021 Approved
Spotify 1.1.58.820 59114 Friday, April 30, 2021 Approved
Spotify 1.1.57.443 23902 Tuesday, April 20, 2021 Approved
Spotify 1.1.56.595 28189 Thursday, April 1, 2021 Approved
Spotify 1.1.54.592 39927 Friday, March 5, 2021 Approved
Spotify 1.1.53.608 17989 Monday, February 22, 2021 Approved
Spotify 1.1.52.687 19737 Friday, February 5, 2021 Approved
Spotify 1.1.51.382 11283 Thursday, January 28, 2021 Approved
Spotify 1.1.51.380 8263 Friday, January 22, 2021 Approved
Spotify 1.1.48.625 42258 Friday, December 11, 2020 Approved
Spotify 1.1.47.684 13034 Tuesday, December 1, 2020 Approved
Spotify 1.1.46.916 16324 Monday, November 16, 2020 Approved
Spotify 1.1.45.621 19836 Tuesday, November 3, 2020 Approved
Spotify 1.1.44.538 14059 Friday, October 16, 2020 Approved
Spotify 1.1.43.700 17169 Wednesday, September 30, 2020 Approved
Spotify 1.1.42.622 10335 Thursday, September 17, 2020 Approved
Spotify 1.1.41.634 10163 Friday, September 4, 2020 Approved
Spotify 1.1.40.509 22934 Friday, August 21, 2020 Approved
Spotify 1.1.40.508 2050 Thursday, August 20, 2020 Approved
Spotify 1.1.39.612 8613 Monday, August 10, 2020 Approved
Spotify 1.1.38.558 10978 Monday, July 27, 2020 Approved
Spotify 1.1.37.690 12585 Friday, July 10, 2020 Approved
Spotify 1.1.36.734 5134 Thursday, July 2, 2020 Approved
Spotify 1.1.35.458 6715 Tuesday, June 23, 2020 Approved
Spotify 1.1.34.694 19125 Monday, June 1, 2020 Approved
Spotify 1.1.33.569 9185 Wednesday, May 20, 2020 Approved
Spotify 1.1.32.618 10993 Friday, May 8, 2020 Approved
Spotify 1.1.31.703 10562 Wednesday, April 22, 2020 Approved
Spotify 1.1.30.658 8547 Wednesday, April 8, 2020 Approved
Spotify 1.1.29.592 4775 Monday, March 30, 2020 Approved
Spotify 1.1.28.721 7865 Thursday, March 12, 2020 Approved
Spotify 1.1.27.472 4615 Monday, March 2, 2020 Approved
Spotify 1.1.26.501 5270 Monday, February 17, 2020 Approved
Spotify 1.1.25.559 6642 Thursday, January 30, 2020 Approved
Spotify 1.1.24.91 5780 Wednesday, January 15, 2020 Approved
Spotify 1.1.22.633 8621 Wednesday, December 18, 2019 Approved
Spotify 1.1.21.1654 5139 Thursday, December 5, 2019 Approved
Spotify 1.1.20.510 4286 Monday, November 25, 2019 Approved
Spotify 1.1.19.480 7557 Tuesday, November 12, 2019 Approved
Spotify 1.1.18.611 9382 Monday, October 28, 2019 Approved
Spotify 1.1.17.543 3058 Wednesday, October 23, 2019 Approved
Spotify 1.1.16.522 14823 Monday, September 30, 2019 Approved
Spotify 1.1.15.448 8921 Monday, September 16, 2019 Approved
Spotify 1.1.14.475 10407 Thursday, August 29, 2019 Approved
Spotify 1.1.12.449 12772 Thursday, August 1, 2019 Approved
Spotify 1.1.10.540 15050 Tuesday, July 2, 2019 Approved
Spotify 1.1.9.383 8914 Monday, June 17, 2019 Approved
Spotify 1.1.8.439 6944 Wednesday, June 5, 2019 Approved
Spotify 1.1.7.1376601 5098 Tuesday, May 28, 2019 Approved
Spotify 1.1.7.13766 4272 Wednesday, May 22, 2019 Approved
Spotify 1.1.6.113 5370 Monday, May 13, 2019 Approved
Spotify 1.1.5.153 1395 Friday, May 10, 2019 Approved
Spotify 1.1.0.237 29270 Thursday, February 28, 2019 Approved
Spotify 1.0.80.474 63663 Saturday, June 16, 2018 Approved
Spotify 1.0.66.478 30722 Wednesday, October 25, 2017 Approved
Spotify 1.0.65.320 2613 Tuesday, October 10, 2017 Approved
Spotify 1.0.64.399 1819 Friday, September 29, 2017 Approved
Spotify 1.0.63.617 2752 Wednesday, September 13, 2017 Approved
Spotify 1.0.62.508 1683 Tuesday, September 5, 2017 Approved
Spotify 1.0.60.492 3397 Friday, August 4, 2017 Approved
Spotify 1.0.59.395 2086 Thursday, July 20, 2017 Approved
Spotify 1.0.58.573 2104 Thursday, July 6, 2017 Approved
Spotify 1.0.57.474 2020 Thursday, June 22, 2017 Approved
Spotify 1.0.55.487 3060 Thursday, May 25, 2017 Approved
Spotify 1.0.54.1079 1945 Friday, May 12, 2017 Approved
Spotify 1.0.53.758 2593 Wednesday, April 19, 2017 Approved
Spotify 1.0.52.725 2705 Monday, April 3, 2017 Approved
Spotify 1.0.51.693 1249 Thursday, March 30, 2017 Approved
Spotify (Install) 1.0.33.106 14313 Wednesday, August 3, 2016 Approved
Spotify 0.9.8.296 17239 Tuesday, April 22, 2014 Approved
Spotify 0.9.8.150 1324 Monday, January 27, 2014 Approved
Spotify 0.9.0.129 1809 Wednesday, May 1, 2013 Approved
Spotify 0.8.4.124 1102 Thursday, October 4, 2012 Approved
Spotify 0.5.2.85 722 Tuesday, December 13, 2011 Approved

Updated to work with the latest requirment for user not to be admin when installing.

Discussion for the Spotify Package

Ground Rules:

  • This discussion is only about Spotify and the Spotify package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Spotify, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus