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,482,924

Downloads of v 1.0.51.693:

1,259

Last Update:

30 Mar 2017

Package Maintainer(s):

Software Author(s):

  • Spotify

Tags:

spotify music player radio admin freeware cross-platform

Spotify

This is not the latest version of Spotify available.

  • 1
  • 2
  • 3

1.0.51.693 | Updated: 30 Mar 2017

Downloads:

3,482,924

Downloads of v 1.0.51.693:

1,259

Maintainer(s):

Software Author(s):

  • Spotify

Spotify 1.0.51.693

This is not the latest version of Spotify available.

  • 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'" --version="'1.0.51.693'" [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'" --version="'1.0.51.693'" 
$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.0.51.693'
    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.0.51.693'
end

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


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

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


package { 'spotify':
  ensure   => '1.0.51.693',
  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.

WARNING

There are versions of this package awaiting moderation . See the Version History section below.

Package Approved

This package was approved as a trusted package on 30 Mar 2017.

Description

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.

## Features
- Millions of tracks, any time you like.
- Search for it in Spotify, then play it.
- Help yourself to whatever you want, whenever you want it.


tools\ChocolateyInstall.ps1
$downloadDir = Get-PackageCacheLocation
$installer          = 'SpotifyFullSetup.exe'
$arguments          = @{
    packageName     = $env:ChocolateyPackageName
    softwareName    = 'Spotify'
    file            = Join-Path $downloadDir $installer
    url             = 'https://download.spotify.com/SpotifyFullSetup.exe'
    checksum        = '56ACD50DF0D3E4706ABB04F8952536DBB8FAB627A54DF53019E47884AF024D0D'
    fileType        = 'exe'
    checksumType    = 'sha256'
    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 | % {
    $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 | % { 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.35.663 107859 Wednesday, April 10, 2024 Approved
Spotify 1.2.34.783 16 Thursday, April 4, 2024
Waiting for Maintainer
gravatar
Spotify 1.2.33.1042 20 Friday, March 22, 2024
Waiting for Maintainer
gravatar
Spotify 1.2.33.1039 13 Wednesday, March 13, 2024
Waiting for Maintainer
Spotify 1.2.32.997 141077 Thursday, February 29, 2024 Approved
Spotify 1.2.31.1205 45058 Wednesday, February 14, 2024 Approved
Spotify 1.2.30.1135 42909 Friday, February 2, 2024 Approved
Spotify 1.2.29.605 40267 Friday, January 19, 2024 Approved
Spotify 1.2.26.1187 65110 Friday, December 8, 2023 Approved
Spotify 1.2.25.1011 44971 Friday, November 24, 2023 Approved
Spotify 1.2.24.756 36607 Friday, November 10, 2023 Approved
Spotify 1.2.23.1125 40 Tuesday, November 7, 2023 Approved
Spotify 1.2.22.982 33927 Wednesday, October 11, 2023 Approved
Spotify 1.2.21.1104 18138 Thursday, September 28, 2023 Approved
Spotify 1.2.20.1218 10745 Friday, September 22, 2023 Approved
Spotify 1.2.20.1216 7477 Monday, September 18, 2023 Approved
Spotify 1.2.19.941 21674 Thursday, August 31, 2023 Approved
Spotify 1.2.18.999 18455 Thursday, August 17, 2023 Approved
Spotify 1.2.17.834 21275 Friday, August 4, 2023 Approved
Spotify 1.2.16.947 24208 Wednesday, July 19, 2023 Approved
Spotify 1.2.15.828 14483 Friday, July 7, 2023 Approved
Spotify 1.2.14.1149 18108 Thursday, June 22, 2023 Approved
Spotify 1.2.13.661 18064 Friday, June 9, 2023 Approved
Spotify 1.2.12.902 20644 Thursday, May 25, 2023 Approved
Spotify 1.2.11.916 13386 Tuesday, May 16, 2023 Approved
Spotify 1.2.10.760 25039 Thursday, April 27, 2023 Approved
Spotify 1.2.9.743 21682 Friday, April 14, 2023 Approved
Spotify 1.2.8.923 20003 Thursday, March 30, 2023 Approved
Spotify 1.2.7.1277 15425 Thursday, March 16, 2023 Approved
Spotify 1.2.6.863 18511 Thursday, March 2, 2023 Approved
Spotify 1.2.5.1006 15972 Friday, February 17, 2023 Approved
Spotify 1.2.4.912 16395 Friday, February 3, 2023 Approved
Spotify 1.2.3.1115 16858 Thursday, January 19, 2023 Approved
Spotify 1.2.0.1165 30788 Thursday, December 8, 2022 Approved
Spotify 1.1.99.878 14161 Thursday, November 24, 2022 Approved
Spotify 1.1.98.691 13804 Friday, November 11, 2022 Approved
Spotify 1.1.97.962 15537 Thursday, October 27, 2022 Approved
Spotify 1.1.96.785 12433 Friday, October 14, 2022 Approved
Spotify 1.1.95.893 13484 Friday, September 30, 2022 Approved
Spotify 1.1.94.872 8590 Thursday, September 22, 2022 Approved
Spotify 1.1.94.870 6997 Friday, September 16, 2022 Approved
Spotify 1.1.93.896 11608 Friday, September 2, 2022 Approved
Spotify 1.1.92.647 20411 Thursday, August 25, 2022 Approved
Spotify 1.1.91.824 49790 Thursday, August 4, 2022 Approved
Spotify 1.1.90.859 33311 Friday, July 22, 2022 Approved
Spotify 1.1.89.862 29727 Monday, July 11, 2022 Approved
Spotify 1.1.88.612 40095 Thursday, June 23, 2022 Approved
Spotify 1.1.87.612 51007 Thursday, June 9, 2022 Approved
Spotify 1.1.86.857 41548 Friday, May 27, 2022 Approved
Spotify 1.1.85.895 43380 Friday, May 13, 2022 Approved
Spotify 1.1.84.716 48525 Thursday, April 28, 2022 Approved
Spotify 1.1.83.956 24706 Thursday, April 21, 2022 Approved
Spotify 1.1.81.604 103355 Friday, March 18, 2022 Approved
Spotify 1.1.80.699 64005 Thursday, March 3, 2022 Approved
Spotify 1.1.79.763 58447 Friday, February 18, 2022 Approved
Spotify 1.1.78.765 57884 Friday, February 4, 2022 Approved
Spotify 1.1.77.643 64758 Thursday, January 20, 2022 Approved
Spotify 1.1.76.447 53392 Friday, January 7, 2022 Approved
Spotify 1.1.74.631 78566 Friday, December 10, 2021 Approved
Spotify 1.1.73.517 49243 Friday, November 26, 2021 Approved
Spotify 1.1.72.439 51927 Friday, November 12, 2021 Approved
Spotify 1.1.71.560 45991 Friday, October 29, 2021 Approved
Spotify 1.1.70.610 55799 Wednesday, October 13, 2021 Approved
Spotify 1.1.69.612 47407 Friday, October 1, 2021 Approved
Spotify 1.1.68.632 40579 Tuesday, September 21, 2021 Approved
Spotify 1.1.68.628 14139 Friday, September 17, 2021 Approved
Spotify 1.1.67.586 49373 Friday, September 3, 2021 Approved
Spotify 1.1.66.580 42657 Monday, August 23, 2021 Approved
Spotify 1.1.66.578 17487 Wednesday, August 18, 2021 Approved
Spotify 1.1.65.643 42152 Thursday, August 5, 2021 Approved
Spotify 1.1.64.561 51537 Thursday, July 22, 2021 Approved
Spotify 1.1.63.568 35089 Monday, July 12, 2021 Approved
Spotify 1.1.62.583 47278 Monday, June 28, 2021 Approved
Spotify 1.1.61.583 42202 Monday, June 14, 2021 Approved
Spotify 1.1.60.672 52676 Friday, May 28, 2021 Approved
Spotify 1.1.60.668 8653 Wednesday, May 26, 2021 Approved
Spotify 1.1.59.714 15631 Friday, May 21, 2021 Approved
Spotify 1.1.59.712 17570 Monday, May 17, 2021 Approved
Spotify 1.1.58.820 59125 Friday, April 30, 2021 Approved
Spotify 1.1.57.443 23907 Tuesday, April 20, 2021 Approved
Spotify 1.1.56.595 28197 Thursday, April 1, 2021 Approved
Spotify 1.1.54.592 39939 Friday, March 5, 2021 Approved
Spotify 1.1.53.608 17997 Monday, February 22, 2021 Approved
Spotify 1.1.52.687 19742 Friday, February 5, 2021 Approved
Spotify 1.1.51.382 11292 Thursday, January 28, 2021 Approved
Spotify 1.1.51.380 8268 Friday, January 22, 2021 Approved
Spotify 1.1.48.625 42267 Friday, December 11, 2020 Approved
Spotify 1.1.47.684 13043 Tuesday, December 1, 2020 Approved
Spotify 1.1.46.916 16332 Monday, November 16, 2020 Approved
Spotify 1.1.45.621 19844 Tuesday, November 3, 2020 Approved
Spotify 1.1.44.538 14075 Friday, October 16, 2020 Approved
Spotify 1.1.43.700 17181 Wednesday, September 30, 2020 Approved
Spotify 1.1.42.622 10342 Thursday, September 17, 2020 Approved
Spotify 1.1.41.634 10175 Friday, September 4, 2020 Approved
Spotify 1.1.40.509 22942 Friday, August 21, 2020 Approved
Spotify 1.1.40.508 2058 Thursday, August 20, 2020 Approved
Spotify 1.1.39.612 8625 Monday, August 10, 2020 Approved
Spotify 1.1.38.558 10985 Monday, July 27, 2020 Approved
Spotify 1.1.37.690 12595 Friday, July 10, 2020 Approved
Spotify 1.1.36.734 5142 Thursday, July 2, 2020 Approved
Spotify 1.1.35.458 6726 Tuesday, June 23, 2020 Approved
Spotify 1.1.34.694 19139 Monday, June 1, 2020 Approved
Spotify 1.1.33.569 9195 Wednesday, May 20, 2020 Approved
Spotify 1.1.32.618 11000 Friday, May 8, 2020 Approved
Spotify 1.1.31.703 10572 Wednesday, April 22, 2020 Approved
Spotify 1.1.30.658 8556 Wednesday, April 8, 2020 Approved
Spotify 1.1.29.592 4784 Monday, March 30, 2020 Approved
Spotify 1.1.28.721 7875 Thursday, March 12, 2020 Approved
Spotify 1.1.27.472 4622 Monday, March 2, 2020 Approved
Spotify 1.1.26.501 5277 Monday, February 17, 2020 Approved
Spotify 1.1.25.559 6649 Thursday, January 30, 2020 Approved
Spotify 1.1.24.91 5794 Wednesday, January 15, 2020 Approved
Spotify 1.1.22.633 8633 Wednesday, December 18, 2019 Approved
Spotify 1.1.21.1654 5146 Thursday, December 5, 2019 Approved
Spotify 1.1.20.510 4294 Monday, November 25, 2019 Approved
Spotify 1.1.19.480 7569 Tuesday, November 12, 2019 Approved
Spotify 1.1.18.611 9390 Monday, October 28, 2019 Approved
Spotify 1.1.17.543 3065 Wednesday, October 23, 2019 Approved
Spotify 1.1.16.522 14831 Monday, September 30, 2019 Approved
Spotify 1.1.15.448 8931 Monday, September 16, 2019 Approved
Spotify 1.1.14.475 10417 Thursday, August 29, 2019 Approved
Spotify 1.1.12.449 12783 Thursday, August 1, 2019 Approved
Spotify 1.1.10.540 15059 Tuesday, July 2, 2019 Approved
Spotify 1.1.9.383 8925 Monday, June 17, 2019 Approved
Spotify 1.1.8.439 6952 Wednesday, June 5, 2019 Approved
Spotify 1.1.7.1376601 5106 Tuesday, May 28, 2019 Approved
Spotify 1.1.7.13766 4281 Wednesday, May 22, 2019 Approved
Spotify 1.1.6.113 5379 Monday, May 13, 2019 Approved
Spotify 1.1.5.153 1405 Friday, May 10, 2019 Approved
Spotify 1.1.0.237 29282 Thursday, February 28, 2019 Approved
Spotify 1.0.80.474 63673 Saturday, June 16, 2018 Approved
Spotify 1.0.66.478 30735 Wednesday, October 25, 2017 Approved
Spotify 1.0.65.320 2619 Tuesday, October 10, 2017 Approved
Spotify 1.0.64.399 1827 Friday, September 29, 2017 Approved
Spotify 1.0.63.617 2760 Wednesday, September 13, 2017 Approved
Spotify 1.0.62.508 1692 Tuesday, September 5, 2017 Approved
Spotify 1.0.60.492 3406 Friday, August 4, 2017 Approved
Spotify 1.0.59.395 2098 Thursday, July 20, 2017 Approved
Spotify 1.0.58.573 2110 Thursday, July 6, 2017 Approved
Spotify 1.0.57.474 2028 Thursday, June 22, 2017 Approved
Spotify 1.0.55.487 3069 Thursday, May 25, 2017 Approved
Spotify 1.0.54.1079 1955 Friday, May 12, 2017 Approved
Spotify 1.0.53.758 2600 Wednesday, April 19, 2017 Approved
Spotify 1.0.52.725 2713 Monday, April 3, 2017 Approved
Spotify 1.0.51.693 1259 Thursday, March 30, 2017 Approved
Spotify (Install) 1.0.33.106 14321 Wednesday, August 3, 2016 Approved
Spotify 0.9.8.296 17247 Tuesday, April 22, 2014 Approved
Spotify 0.9.8.150 1338 Monday, January 27, 2014 Approved
Spotify 0.9.0.129 1823 Wednesday, May 1, 2013 Approved
Spotify 0.8.4.124 1110 Thursday, October 4, 2012 Approved
Spotify 0.5.2.85 730 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