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,895,318

Downloads of v 1.2.52.442:

24,011

Last Update:

05 Dec 2024

Package Maintainer(s):

Software Author(s):

  • Spotify

Tags:

spotify music player radio admin freeware cross-platform

Spotify

  • 1
  • 2
  • 3

1.2.52.442 | Updated: 05 Dec 2024

Downloads:

3,895,318

Downloads of v 1.2.52.442:

24,011

Maintainer(s):

Software Author(s):

  • Spotify

Spotify 1.2.52.442

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Spotify. The inclusion of Spotify trademark(s), if any, upon this webpage is solely to identify Spotify goods or services and not for commercial purposes.

  • 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.52.442'
    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.52.442'
end

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


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

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


package { 'spotify':
  ensure   => '1.2.52.442',
  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 05 Dec 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        = '7F27289E53820D1F3C53FE147BF4C60F96C707088B2726134B811F8EE3EC5E8A4F9B34D553611DCDF12196E284FC1A6C5E25674E2A1015633F540E3F4CA059CB'
    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.51.345 40622 Thursday, November 21, 2024 Approved
Spotify 1.2.50.335 23709 Thursday, November 14, 2024 Approved
Spotify 1.2.49.439 57628 Thursday, October 24, 2024 Approved
Spotify 1.2.48.405 43826 Thursday, October 10, 2024 Approved
Spotify 1.2.47.364 37930 Wednesday, September 25, 2024 Approved
Spotify 1.2.45.454 23415 Friday, August 30, 2024 Approved
Spotify 1.2.44.405 14354 Thursday, August 15, 2024 Approved
Spotify 1.2.43.420 14475 Friday, August 2, 2024 Approved
Spotify 1.2.42.290 15464 Thursday, July 18, 2024 Approved
Spotify 1.2.41.434 13830 Friday, July 5, 2024 Approved
Spotify 1.2.40.599 15371 Thursday, June 20, 2024 Approved
Spotify 1.2.39.578 15737 Wednesday, June 5, 2024 Approved
Spotify 1.2.38.720 13935 Friday, May 24, 2024 Approved
Spotify 1.2.37.701 22137 Wednesday, May 8, 2024 Approved
Spotify 1.2.36.959 27509 Friday, May 3, 2024 Approved
Spotify 1.2.35.663 109786 Wednesday, April 10, 2024 Approved
Spotify 1.2.32.997 142168 Thursday, February 29, 2024 Approved
Spotify 1.2.31.1205 45836 Wednesday, February 14, 2024 Approved
Spotify 1.2.30.1135 43192 Friday, February 2, 2024 Approved
Spotify 1.2.29.605 41022 Friday, January 19, 2024 Approved
Spotify 1.2.26.1187 66354 Friday, December 8, 2023 Approved
Spotify 1.2.25.1011 45363 Friday, November 24, 2023 Approved
Spotify 1.2.24.756 36842 Friday, November 10, 2023 Approved
Spotify 1.2.23.1125 67 Tuesday, November 7, 2023 Approved
Spotify 1.2.22.982 34189 Wednesday, October 11, 2023 Approved
Spotify 1.2.21.1104 18318 Thursday, September 28, 2023 Approved
Spotify 1.2.20.1218 10966 Friday, September 22, 2023 Approved
Spotify 1.2.20.1216 7507 Monday, September 18, 2023 Approved
Spotify 1.2.19.941 22086 Thursday, August 31, 2023 Approved
Spotify 1.2.18.999 18603 Thursday, August 17, 2023 Approved
Spotify 1.2.17.834 21896 Friday, August 4, 2023 Approved
Spotify 1.2.16.947 24571 Wednesday, July 19, 2023 Approved
Spotify 1.2.15.828 14532 Friday, July 7, 2023 Approved
Spotify 1.2.14.1149 18413 Thursday, June 22, 2023 Approved
Spotify 1.2.13.661 18679 Friday, June 9, 2023 Approved
Spotify 1.2.12.902 21047 Thursday, May 25, 2023 Approved
Spotify 1.2.11.916 13601 Tuesday, May 16, 2023 Approved
Spotify 1.2.10.760 25278 Thursday, April 27, 2023 Approved
Spotify 1.2.9.743 21985 Friday, April 14, 2023 Approved
Spotify 1.2.8.923 20216 Thursday, March 30, 2023 Approved
Spotify 1.2.7.1277 15898 Thursday, March 16, 2023 Approved
Spotify 1.2.6.863 19020 Thursday, March 2, 2023 Approved
Spotify 1.2.5.1006 16016 Friday, February 17, 2023 Approved
Spotify 1.2.4.912 16487 Friday, February 3, 2023 Approved
Spotify 1.2.3.1115 16905 Thursday, January 19, 2023 Approved
Spotify 1.2.0.1165 30893 Thursday, December 8, 2022 Approved
Spotify 1.1.99.878 14349 Thursday, November 24, 2022 Approved
Spotify 1.1.98.691 14034 Friday, November 11, 2022 Approved
Spotify 1.1.97.962 15574 Thursday, October 27, 2022 Approved
Spotify 1.1.96.785 12459 Friday, October 14, 2022 Approved
Spotify 1.1.95.893 13539 Friday, September 30, 2022 Approved
Spotify 1.1.94.872 8723 Thursday, September 22, 2022 Approved
Spotify 1.1.94.870 7032 Friday, September 16, 2022 Approved
Spotify 1.1.93.896 11682 Friday, September 2, 2022 Approved
Spotify 1.1.92.647 20438 Thursday, August 25, 2022 Approved
Spotify 1.1.91.824 49820 Thursday, August 4, 2022 Approved
Spotify 1.1.90.859 33337 Friday, July 22, 2022 Approved
Spotify 1.1.89.862 29774 Monday, July 11, 2022 Approved
Spotify 1.1.88.612 40139 Thursday, June 23, 2022 Approved
Spotify 1.1.87.612 51034 Thursday, June 9, 2022 Approved
Spotify 1.1.86.857 41598 Friday, May 27, 2022 Approved
Spotify 1.1.85.895 43399 Friday, May 13, 2022 Approved
Spotify 1.1.84.716 48540 Thursday, April 28, 2022 Approved
Spotify 1.1.83.956 24732 Thursday, April 21, 2022 Approved
Spotify 1.1.81.604 103426 Friday, March 18, 2022 Approved
Spotify 1.1.80.699 64028 Thursday, March 3, 2022 Approved
Spotify 1.1.79.763 58476 Friday, February 18, 2022 Approved
Spotify 1.1.78.765 57931 Friday, February 4, 2022 Approved
Spotify 1.1.77.643 64784 Thursday, January 20, 2022 Approved
Spotify 1.1.76.447 53415 Friday, January 7, 2022 Approved
Spotify 1.1.74.631 78599 Friday, December 10, 2021 Approved
Spotify 1.1.73.517 49308 Friday, November 26, 2021 Approved
Spotify 1.1.72.439 51961 Friday, November 12, 2021 Approved
Spotify 1.1.71.560 46026 Friday, October 29, 2021 Approved
Spotify 1.1.70.610 55829 Wednesday, October 13, 2021 Approved
Spotify 1.1.69.612 47430 Friday, October 1, 2021 Approved
Spotify 1.1.68.632 40618 Tuesday, September 21, 2021 Approved
Spotify 1.1.68.628 14162 Friday, September 17, 2021 Approved
Spotify 1.1.67.586 49397 Friday, September 3, 2021 Approved
Spotify 1.1.66.580 42695 Monday, August 23, 2021 Approved
Spotify 1.1.66.578 17507 Wednesday, August 18, 2021 Approved
Spotify 1.1.65.643 42176 Thursday, August 5, 2021 Approved
Spotify 1.1.64.561 51572 Thursday, July 22, 2021 Approved
Spotify 1.1.63.568 35117 Monday, July 12, 2021 Approved
Spotify 1.1.62.583 47302 Monday, June 28, 2021 Approved
Spotify 1.1.61.583 42233 Monday, June 14, 2021 Approved
Spotify 1.1.60.672 52699 Friday, May 28, 2021 Approved
Spotify 1.1.60.668 8681 Wednesday, May 26, 2021 Approved
Spotify 1.1.59.714 15656 Friday, May 21, 2021 Approved
Spotify 1.1.59.712 17592 Monday, May 17, 2021 Approved
Spotify 1.1.58.820 59168 Friday, April 30, 2021 Approved
Spotify 1.1.57.443 23930 Tuesday, April 20, 2021 Approved
Spotify 1.1.56.595 28218 Thursday, April 1, 2021 Approved
Spotify 1.1.54.592 39975 Friday, March 5, 2021 Approved
Spotify 1.1.53.608 18028 Monday, February 22, 2021 Approved
Spotify 1.1.52.687 19772 Friday, February 5, 2021 Approved
Spotify 1.1.51.382 11313 Thursday, January 28, 2021 Approved
Spotify 1.1.51.380 8295 Friday, January 22, 2021 Approved
Spotify 1.1.48.625 42290 Friday, December 11, 2020 Approved
Spotify 1.1.47.684 13067 Tuesday, December 1, 2020 Approved
Spotify 1.1.46.916 16359 Monday, November 16, 2020 Approved
Spotify 1.1.45.621 19873 Tuesday, November 3, 2020 Approved
Spotify 1.1.44.538 14095 Friday, October 16, 2020 Approved
Spotify 1.1.43.700 17208 Wednesday, September 30, 2020 Approved
Spotify 1.1.42.622 10360 Thursday, September 17, 2020 Approved
Spotify 1.1.41.634 10213 Friday, September 4, 2020 Approved
Spotify 1.1.40.509 22966 Friday, August 21, 2020 Approved
Spotify 1.1.40.508 2089 Thursday, August 20, 2020 Approved
Spotify 1.1.39.612 8649 Monday, August 10, 2020 Approved
Spotify 1.1.38.558 11016 Monday, July 27, 2020 Approved
Spotify 1.1.37.690 12627 Friday, July 10, 2020 Approved
Spotify 1.1.36.734 5172 Thursday, July 2, 2020 Approved
Spotify 1.1.35.458 6759 Tuesday, June 23, 2020 Approved
Spotify 1.1.34.694 19156 Monday, June 1, 2020 Approved
Spotify 1.1.33.569 9220 Wednesday, May 20, 2020 Approved
Spotify 1.1.32.618 11027 Friday, May 8, 2020 Approved
Spotify 1.1.31.703 10593 Wednesday, April 22, 2020 Approved
Spotify 1.1.30.658 8577 Wednesday, April 8, 2020 Approved
Spotify 1.1.29.592 4812 Monday, March 30, 2020 Approved
Spotify 1.1.28.721 7900 Thursday, March 12, 2020 Approved
Spotify 1.1.27.472 4645 Monday, March 2, 2020 Approved
Spotify 1.1.26.501 5296 Monday, February 17, 2020 Approved
Spotify 1.1.25.559 6674 Thursday, January 30, 2020 Approved
Spotify 1.1.24.91 5819 Wednesday, January 15, 2020 Approved
Spotify 1.1.22.633 8667 Wednesday, December 18, 2019 Approved
Spotify 1.1.21.1654 5171 Thursday, December 5, 2019 Approved
Spotify 1.1.20.510 4322 Monday, November 25, 2019 Approved
Spotify 1.1.19.480 7605 Tuesday, November 12, 2019 Approved
Spotify 1.1.18.611 9431 Monday, October 28, 2019 Approved
Spotify 1.1.17.543 3095 Wednesday, October 23, 2019 Approved
Spotify 1.1.16.522 14850 Monday, September 30, 2019 Approved
Spotify 1.1.15.448 8952 Monday, September 16, 2019 Approved
Spotify 1.1.14.475 10442 Thursday, August 29, 2019 Approved
Spotify 1.1.12.449 12804 Thursday, August 1, 2019 Approved
Spotify 1.1.10.540 15089 Tuesday, July 2, 2019 Approved
Spotify 1.1.9.383 8952 Monday, June 17, 2019 Approved
Spotify 1.1.8.439 6976 Wednesday, June 5, 2019 Approved
Spotify 1.1.7.1376601 5125 Tuesday, May 28, 2019 Approved
Spotify 1.1.7.13766 4309 Wednesday, May 22, 2019 Approved
Spotify 1.1.6.113 5408 Monday, May 13, 2019 Approved
Spotify 1.1.5.153 1422 Friday, May 10, 2019 Approved
Spotify 1.1.0.237 29306 Thursday, February 28, 2019 Approved
Spotify 1.0.80.474 63695 Saturday, June 16, 2018 Approved
Spotify 1.0.66.478 30770 Wednesday, October 25, 2017 Approved
Spotify 1.0.65.320 2644 Tuesday, October 10, 2017 Approved
Spotify 1.0.64.399 1852 Friday, September 29, 2017 Approved
Spotify 1.0.63.617 2781 Wednesday, September 13, 2017 Approved
Spotify 1.0.62.508 1712 Tuesday, September 5, 2017 Approved
Spotify 1.0.60.492 3434 Friday, August 4, 2017 Approved
Spotify 1.0.59.395 2131 Thursday, July 20, 2017 Approved
Spotify 1.0.58.573 2138 Thursday, July 6, 2017 Approved
Spotify 1.0.57.474 2062 Thursday, June 22, 2017 Approved
Spotify 1.0.55.487 3099 Thursday, May 25, 2017 Approved
Spotify 1.0.54.1079 1988 Friday, May 12, 2017 Approved
Spotify 1.0.53.758 2620 Wednesday, April 19, 2017 Approved
Spotify 1.0.52.725 2740 Monday, April 3, 2017 Approved
Spotify 1.0.51.693 1299 Thursday, March 30, 2017 Approved
Spotify (Install) 1.0.33.106 14353 Wednesday, August 3, 2016 Approved
Spotify 0.9.8.296 17281 Tuesday, April 22, 2014 Approved
Spotify 0.9.8.150 1359 Monday, January 27, 2014 Approved
Spotify 0.9.0.129 1850 Wednesday, May 1, 2013 Approved
Spotify 0.8.4.124 1137 Thursday, October 4, 2012 Approved
Spotify 0.5.2.85 755 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