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,837,638

Downloads of v 1.2.51.345:

9,004

Last Update:

21 Nov 2024

Package Maintainer(s):

Software Author(s):

  • Spotify

Tags:

spotify music player radio admin freeware cross-platform

Spotify

  • 1
  • 2
  • 3

1.2.51.345 | Updated: 21 Nov 2024

Downloads:

3,837,638

Downloads of v 1.2.51.345:

9,004

Maintainer(s):

Software Author(s):

  • Spotify

Spotify 1.2.51.345

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.51.345'
    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.51.345'
end

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


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

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


package { 'spotify':
  ensure   => '1.2.51.345',
  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 21 Nov 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        = 'E6524798EA0E339B6006BB9F8AC0032B635D06C11F35E2843CD77D42DB77C1308A586A962D860AC5DD98ED343CB01472892F31B0DEA7DFAFC6A0715CA0000A7E'
    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.50.335 23586 Thursday, November 14, 2024 Approved
Spotify 1.2.49.439 57394 Thursday, October 24, 2024 Approved
Spotify 1.2.48.405 43622 Thursday, October 10, 2024 Approved
Spotify 1.2.47.364 37800 Wednesday, September 25, 2024 Approved
Spotify 1.2.45.454 23199 Friday, August 30, 2024 Approved
Spotify 1.2.44.405 14302 Thursday, August 15, 2024 Approved
Spotify 1.2.43.420 14425 Friday, August 2, 2024 Approved
Spotify 1.2.42.290 15374 Thursday, July 18, 2024 Approved
Spotify 1.2.41.434 13798 Friday, July 5, 2024 Approved
Spotify 1.2.40.599 15338 Thursday, June 20, 2024 Approved
Spotify 1.2.39.578 15710 Wednesday, June 5, 2024 Approved
Spotify 1.2.38.720 13915 Friday, May 24, 2024 Approved
Spotify 1.2.37.701 22114 Wednesday, May 8, 2024 Approved
Spotify 1.2.36.959 27503 Friday, May 3, 2024 Approved
Spotify 1.2.35.663 109703 Wednesday, April 10, 2024 Approved
Spotify 1.2.32.997 142155 Thursday, February 29, 2024 Approved
Spotify 1.2.31.1205 45799 Wednesday, February 14, 2024 Approved
Spotify 1.2.30.1135 43189 Friday, February 2, 2024 Approved
Spotify 1.2.29.605 40972 Friday, January 19, 2024 Approved
Spotify 1.2.26.1187 66292 Friday, December 8, 2023 Approved
Spotify 1.2.25.1011 45361 Friday, November 24, 2023 Approved
Spotify 1.2.24.756 36819 Friday, November 10, 2023 Approved
Spotify 1.2.23.1125 66 Tuesday, November 7, 2023 Approved
Spotify 1.2.22.982 34167 Wednesday, October 11, 2023 Approved
Spotify 1.2.21.1104 18317 Thursday, September 28, 2023 Approved
Spotify 1.2.20.1218 10963 Friday, September 22, 2023 Approved
Spotify 1.2.20.1216 7506 Monday, September 18, 2023 Approved
Spotify 1.2.19.941 22055 Thursday, August 31, 2023 Approved
Spotify 1.2.18.999 18602 Thursday, August 17, 2023 Approved
Spotify 1.2.17.834 21861 Friday, August 4, 2023 Approved
Spotify 1.2.16.947 24568 Wednesday, July 19, 2023 Approved
Spotify 1.2.15.828 14531 Friday, July 7, 2023 Approved
Spotify 1.2.14.1149 18390 Thursday, June 22, 2023 Approved
Spotify 1.2.13.661 18673 Friday, June 9, 2023 Approved
Spotify 1.2.12.902 21045 Thursday, May 25, 2023 Approved
Spotify 1.2.11.916 13588 Tuesday, May 16, 2023 Approved
Spotify 1.2.10.760 25259 Thursday, April 27, 2023 Approved
Spotify 1.2.9.743 21963 Friday, April 14, 2023 Approved
Spotify 1.2.8.923 20215 Thursday, March 30, 2023 Approved
Spotify 1.2.7.1277 15878 Thursday, March 16, 2023 Approved
Spotify 1.2.6.863 19004 Thursday, March 2, 2023 Approved
Spotify 1.2.5.1006 16016 Friday, February 17, 2023 Approved
Spotify 1.2.4.912 16486 Friday, February 3, 2023 Approved
Spotify 1.2.3.1115 16898 Thursday, January 19, 2023 Approved
Spotify 1.2.0.1165 30887 Thursday, December 8, 2022 Approved
Spotify 1.1.99.878 14335 Thursday, November 24, 2022 Approved
Spotify 1.1.98.691 14015 Friday, November 11, 2022 Approved
Spotify 1.1.97.962 15568 Thursday, October 27, 2022 Approved
Spotify 1.1.96.785 12456 Friday, October 14, 2022 Approved
Spotify 1.1.95.893 13536 Friday, September 30, 2022 Approved
Spotify 1.1.94.872 8713 Thursday, September 22, 2022 Approved
Spotify 1.1.94.870 7027 Friday, September 16, 2022 Approved
Spotify 1.1.93.896 11669 Friday, September 2, 2022 Approved
Spotify 1.1.92.647 20437 Thursday, August 25, 2022 Approved
Spotify 1.1.91.824 49819 Thursday, August 4, 2022 Approved
Spotify 1.1.90.859 33333 Friday, July 22, 2022 Approved
Spotify 1.1.89.862 29767 Monday, July 11, 2022 Approved
Spotify 1.1.88.612 40135 Thursday, June 23, 2022 Approved
Spotify 1.1.87.612 51034 Thursday, June 9, 2022 Approved
Spotify 1.1.86.857 41596 Friday, May 27, 2022 Approved
Spotify 1.1.85.895 43398 Friday, May 13, 2022 Approved
Spotify 1.1.84.716 48539 Thursday, April 28, 2022 Approved
Spotify 1.1.83.956 24731 Thursday, April 21, 2022 Approved
Spotify 1.1.81.604 103425 Friday, March 18, 2022 Approved
Spotify 1.1.80.699 64027 Thursday, March 3, 2022 Approved
Spotify 1.1.79.763 58475 Friday, February 18, 2022 Approved
Spotify 1.1.78.765 57929 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 78595 Friday, December 10, 2021 Approved
Spotify 1.1.73.517 49303 Friday, November 26, 2021 Approved
Spotify 1.1.72.439 51959 Friday, November 12, 2021 Approved
Spotify 1.1.71.560 46021 Friday, October 29, 2021 Approved
Spotify 1.1.70.610 55828 Wednesday, October 13, 2021 Approved
Spotify 1.1.69.612 47429 Friday, October 1, 2021 Approved
Spotify 1.1.68.632 40618 Tuesday, September 21, 2021 Approved
Spotify 1.1.68.628 14161 Friday, September 17, 2021 Approved
Spotify 1.1.67.586 49396 Friday, September 3, 2021 Approved
Spotify 1.1.66.580 42693 Monday, August 23, 2021 Approved
Spotify 1.1.66.578 17507 Wednesday, August 18, 2021 Approved
Spotify 1.1.65.643 42170 Thursday, August 5, 2021 Approved
Spotify 1.1.64.561 51571 Thursday, July 22, 2021 Approved
Spotify 1.1.63.568 35116 Monday, July 12, 2021 Approved
Spotify 1.1.62.583 47298 Monday, June 28, 2021 Approved
Spotify 1.1.61.583 42231 Monday, June 14, 2021 Approved
Spotify 1.1.60.672 52698 Friday, May 28, 2021 Approved
Spotify 1.1.60.668 8679 Wednesday, May 26, 2021 Approved
Spotify 1.1.59.714 15653 Friday, May 21, 2021 Approved
Spotify 1.1.59.712 17591 Monday, May 17, 2021 Approved
Spotify 1.1.58.820 59168 Friday, April 30, 2021 Approved
Spotify 1.1.57.443 23927 Tuesday, April 20, 2021 Approved
Spotify 1.1.56.595 28215 Thursday, April 1, 2021 Approved
Spotify 1.1.54.592 39971 Friday, March 5, 2021 Approved
Spotify 1.1.53.608 18027 Monday, February 22, 2021 Approved
Spotify 1.1.52.687 19769 Friday, February 5, 2021 Approved
Spotify 1.1.51.382 11310 Thursday, January 28, 2021 Approved
Spotify 1.1.51.380 8292 Friday, January 22, 2021 Approved
Spotify 1.1.48.625 42289 Friday, December 11, 2020 Approved
Spotify 1.1.47.684 13066 Tuesday, December 1, 2020 Approved
Spotify 1.1.46.916 16357 Monday, November 16, 2020 Approved
Spotify 1.1.45.621 19873 Tuesday, November 3, 2020 Approved
Spotify 1.1.44.538 14094 Friday, October 16, 2020 Approved
Spotify 1.1.43.700 17205 Wednesday, September 30, 2020 Approved
Spotify 1.1.42.622 10359 Thursday, September 17, 2020 Approved
Spotify 1.1.41.634 10212 Friday, September 4, 2020 Approved
Spotify 1.1.40.509 22963 Friday, August 21, 2020 Approved
Spotify 1.1.40.508 2088 Thursday, August 20, 2020 Approved
Spotify 1.1.39.612 8648 Monday, August 10, 2020 Approved
Spotify 1.1.38.558 11016 Monday, July 27, 2020 Approved
Spotify 1.1.37.690 12625 Friday, July 10, 2020 Approved
Spotify 1.1.36.734 5167 Thursday, July 2, 2020 Approved
Spotify 1.1.35.458 6759 Tuesday, June 23, 2020 Approved
Spotify 1.1.34.694 19154 Monday, June 1, 2020 Approved
Spotify 1.1.33.569 9216 Wednesday, May 20, 2020 Approved
Spotify 1.1.32.618 11026 Friday, May 8, 2020 Approved
Spotify 1.1.31.703 10590 Wednesday, April 22, 2020 Approved
Spotify 1.1.30.658 8576 Wednesday, April 8, 2020 Approved
Spotify 1.1.29.592 4812 Monday, March 30, 2020 Approved
Spotify 1.1.28.721 7899 Thursday, March 12, 2020 Approved
Spotify 1.1.27.472 4645 Monday, March 2, 2020 Approved
Spotify 1.1.26.501 5295 Monday, February 17, 2020 Approved
Spotify 1.1.25.559 6674 Thursday, January 30, 2020 Approved
Spotify 1.1.24.91 5815 Wednesday, January 15, 2020 Approved
Spotify 1.1.22.633 8664 Wednesday, December 18, 2019 Approved
Spotify 1.1.21.1654 5168 Thursday, December 5, 2019 Approved
Spotify 1.1.20.510 4318 Monday, November 25, 2019 Approved
Spotify 1.1.19.480 7603 Tuesday, November 12, 2019 Approved
Spotify 1.1.18.611 9428 Monday, October 28, 2019 Approved
Spotify 1.1.17.543 3094 Wednesday, October 23, 2019 Approved
Spotify 1.1.16.522 14848 Monday, September 30, 2019 Approved
Spotify 1.1.15.448 8951 Monday, September 16, 2019 Approved
Spotify 1.1.14.475 10441 Thursday, August 29, 2019 Approved
Spotify 1.1.12.449 12802 Thursday, August 1, 2019 Approved
Spotify 1.1.10.540 15087 Tuesday, July 2, 2019 Approved
Spotify 1.1.9.383 8948 Monday, June 17, 2019 Approved
Spotify 1.1.8.439 6973 Wednesday, June 5, 2019 Approved
Spotify 1.1.7.1376601 5123 Tuesday, May 28, 2019 Approved
Spotify 1.1.7.13766 4307 Wednesday, May 22, 2019 Approved
Spotify 1.1.6.113 5407 Monday, May 13, 2019 Approved
Spotify 1.1.5.153 1419 Friday, May 10, 2019 Approved
Spotify 1.1.0.237 29306 Thursday, February 28, 2019 Approved
Spotify 1.0.80.474 63693 Saturday, June 16, 2018 Approved
Spotify 1.0.66.478 30764 Wednesday, October 25, 2017 Approved
Spotify 1.0.65.320 2643 Tuesday, October 10, 2017 Approved
Spotify 1.0.64.399 1851 Friday, September 29, 2017 Approved
Spotify 1.0.63.617 2779 Wednesday, September 13, 2017 Approved
Spotify 1.0.62.508 1709 Tuesday, September 5, 2017 Approved
Spotify 1.0.60.492 3430 Friday, August 4, 2017 Approved
Spotify 1.0.59.395 2127 Thursday, July 20, 2017 Approved
Spotify 1.0.58.573 2135 Thursday, July 6, 2017 Approved
Spotify 1.0.57.474 2056 Thursday, June 22, 2017 Approved
Spotify 1.0.55.487 3099 Thursday, May 25, 2017 Approved
Spotify 1.0.54.1079 1986 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 1294 Thursday, March 30, 2017 Approved
Spotify (Install) 1.0.33.106 14347 Wednesday, August 3, 2016 Approved
Spotify 0.9.8.296 17277 Tuesday, April 22, 2014 Approved
Spotify 0.9.8.150 1355 Monday, January 27, 2014 Approved
Spotify 0.9.0.129 1846 Wednesday, May 1, 2013 Approved
Spotify 0.8.4.124 1136 Thursday, October 4, 2012 Approved
Spotify 0.5.2.85 752 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