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,593,956

Downloads of v 1.2.42.290:

5,474

Last Update:

18 Jul 2024

Package Maintainer(s):

Software Author(s):

  • Spotify

Tags:

spotify music player radio admin freeware cross-platform

Spotify

  • 1
  • 2
  • 3

1.2.42.290 | Updated: 18 Jul 2024

Downloads:

3,593,956

Downloads of v 1.2.42.290:

5,474

Maintainer(s):

Software Author(s):

  • Spotify

Spotify 1.2.42.290

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

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

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


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

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


package { 'spotify':
  ensure   => '1.2.42.290',
  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 18 Jul 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        = 'DFA5031983E7810840ED4915C65E1133026AF711B4918AB749B30C7D40D8EBEE0B7AA8DBCC244414DB3FFE0958D25E773FB183E87786CE36A17431907D078E4F'
    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.41.434 13062 Friday, July 5, 2024 Approved
Spotify 1.2.40.599 14551 Thursday, June 20, 2024 Approved
Spotify 1.2.39.578 15148 Wednesday, June 5, 2024 Approved
Spotify 1.2.38.720 13428 Friday, May 24, 2024 Approved
Spotify 1.2.37.701 21743 Wednesday, May 8, 2024 Approved
Spotify 1.2.36.959 27314 Friday, May 3, 2024 Approved
Spotify 1.2.35.663 109070 Wednesday, April 10, 2024 Approved
Spotify 1.2.32.997 141754 Thursday, February 29, 2024 Approved
Spotify 1.2.31.1205 45501 Wednesday, February 14, 2024 Approved
Spotify 1.2.30.1135 43126 Friday, February 2, 2024 Approved
Spotify 1.2.29.605 40694 Friday, January 19, 2024 Approved
Spotify 1.2.26.1187 65782 Friday, December 8, 2023 Approved
Spotify 1.2.25.1011 45208 Friday, November 24, 2023 Approved
Spotify 1.2.24.756 36706 Friday, November 10, 2023 Approved
Spotify 1.2.23.1125 47 Tuesday, November 7, 2023 Approved
Spotify 1.2.22.982 34064 Wednesday, October 11, 2023 Approved
Spotify 1.2.21.1104 18271 Thursday, September 28, 2023 Approved
Spotify 1.2.20.1218 10860 Friday, September 22, 2023 Approved
Spotify 1.2.20.1216 7490 Monday, September 18, 2023 Approved
Spotify 1.2.19.941 21844 Thursday, August 31, 2023 Approved
Spotify 1.2.18.999 18568 Thursday, August 17, 2023 Approved
Spotify 1.2.17.834 21660 Friday, August 4, 2023 Approved
Spotify 1.2.16.947 24476 Wednesday, July 19, 2023 Approved
Spotify 1.2.15.828 14515 Friday, July 7, 2023 Approved
Spotify 1.2.14.1149 18254 Thursday, June 22, 2023 Approved
Spotify 1.2.13.661 18358 Friday, June 9, 2023 Approved
Spotify 1.2.12.902 20911 Thursday, May 25, 2023 Approved
Spotify 1.2.11.916 13489 Tuesday, May 16, 2023 Approved
Spotify 1.2.10.760 25170 Thursday, April 27, 2023 Approved
Spotify 1.2.9.743 21837 Friday, April 14, 2023 Approved
Spotify 1.2.8.923 20153 Thursday, March 30, 2023 Approved
Spotify 1.2.7.1277 15648 Thursday, March 16, 2023 Approved
Spotify 1.2.6.863 18761 Thursday, March 2, 2023 Approved
Spotify 1.2.5.1006 15989 Friday, February 17, 2023 Approved
Spotify 1.2.4.912 16465 Friday, February 3, 2023 Approved
Spotify 1.2.3.1115 16873 Thursday, January 19, 2023 Approved
Spotify 1.2.0.1165 30831 Thursday, December 8, 2022 Approved
Spotify 1.1.99.878 14212 Thursday, November 24, 2022 Approved
Spotify 1.1.98.691 13886 Friday, November 11, 2022 Approved
Spotify 1.1.97.962 15547 Thursday, October 27, 2022 Approved
Spotify 1.1.96.785 12443 Friday, October 14, 2022 Approved
Spotify 1.1.95.893 13503 Friday, September 30, 2022 Approved
Spotify 1.1.94.872 8625 Thursday, September 22, 2022 Approved
Spotify 1.1.94.870 7010 Friday, September 16, 2022 Approved
Spotify 1.1.93.896 11627 Friday, September 2, 2022 Approved
Spotify 1.1.92.647 20419 Thursday, August 25, 2022 Approved
Spotify 1.1.91.824 49800 Thursday, August 4, 2022 Approved
Spotify 1.1.90.859 33318 Friday, July 22, 2022 Approved
Spotify 1.1.89.862 29742 Monday, July 11, 2022 Approved
Spotify 1.1.88.612 40107 Thursday, June 23, 2022 Approved
Spotify 1.1.87.612 51018 Thursday, June 9, 2022 Approved
Spotify 1.1.86.857 41557 Friday, May 27, 2022 Approved
Spotify 1.1.85.895 43382 Friday, May 13, 2022 Approved
Spotify 1.1.84.716 48530 Thursday, April 28, 2022 Approved
Spotify 1.1.83.956 24717 Thursday, April 21, 2022 Approved
Spotify 1.1.81.604 103381 Friday, March 18, 2022 Approved
Spotify 1.1.80.699 64010 Thursday, March 3, 2022 Approved
Spotify 1.1.79.763 58453 Friday, February 18, 2022 Approved
Spotify 1.1.78.765 57894 Friday, February 4, 2022 Approved
Spotify 1.1.77.643 64767 Thursday, January 20, 2022 Approved
Spotify 1.1.76.447 53396 Friday, January 7, 2022 Approved
Spotify 1.1.74.631 78577 Friday, December 10, 2021 Approved
Spotify 1.1.73.517 49261 Friday, November 26, 2021 Approved
Spotify 1.1.72.439 51934 Friday, November 12, 2021 Approved
Spotify 1.1.71.560 45996 Friday, October 29, 2021 Approved
Spotify 1.1.70.610 55805 Wednesday, October 13, 2021 Approved
Spotify 1.1.69.612 47413 Friday, October 1, 2021 Approved
Spotify 1.1.68.632 40589 Tuesday, September 21, 2021 Approved
Spotify 1.1.68.628 14147 Friday, September 17, 2021 Approved
Spotify 1.1.67.586 49379 Friday, September 3, 2021 Approved
Spotify 1.1.66.580 42670 Monday, August 23, 2021 Approved
Spotify 1.1.66.578 17494 Wednesday, August 18, 2021 Approved
Spotify 1.1.65.643 42157 Thursday, August 5, 2021 Approved
Spotify 1.1.64.561 51549 Thursday, July 22, 2021 Approved
Spotify 1.1.63.568 35095 Monday, July 12, 2021 Approved
Spotify 1.1.62.583 47285 Monday, June 28, 2021 Approved
Spotify 1.1.61.583 42211 Monday, June 14, 2021 Approved
Spotify 1.1.60.672 52683 Friday, May 28, 2021 Approved
Spotify 1.1.60.668 8658 Wednesday, May 26, 2021 Approved
Spotify 1.1.59.714 15640 Friday, May 21, 2021 Approved
Spotify 1.1.59.712 17579 Monday, May 17, 2021 Approved
Spotify 1.1.58.820 59138 Friday, April 30, 2021 Approved
Spotify 1.1.57.443 23915 Tuesday, April 20, 2021 Approved
Spotify 1.1.56.595 28208 Thursday, April 1, 2021 Approved
Spotify 1.1.54.592 39950 Friday, March 5, 2021 Approved
Spotify 1.1.53.608 18005 Monday, February 22, 2021 Approved
Spotify 1.1.52.687 19749 Friday, February 5, 2021 Approved
Spotify 1.1.51.382 11297 Thursday, January 28, 2021 Approved
Spotify 1.1.51.380 8276 Friday, January 22, 2021 Approved
Spotify 1.1.48.625 42275 Friday, December 11, 2020 Approved
Spotify 1.1.47.684 13047 Tuesday, December 1, 2020 Approved
Spotify 1.1.46.916 16341 Monday, November 16, 2020 Approved
Spotify 1.1.45.621 19849 Tuesday, November 3, 2020 Approved
Spotify 1.1.44.538 14083 Friday, October 16, 2020 Approved
Spotify 1.1.43.700 17191 Wednesday, September 30, 2020 Approved
Spotify 1.1.42.622 10346 Thursday, September 17, 2020 Approved
Spotify 1.1.41.634 10182 Friday, September 4, 2020 Approved
Spotify 1.1.40.509 22949 Friday, August 21, 2020 Approved
Spotify 1.1.40.508 2065 Thursday, August 20, 2020 Approved
Spotify 1.1.39.612 8630 Monday, August 10, 2020 Approved
Spotify 1.1.38.558 10998 Monday, July 27, 2020 Approved
Spotify 1.1.37.690 12606 Friday, July 10, 2020 Approved
Spotify 1.1.36.734 5149 Thursday, July 2, 2020 Approved
Spotify 1.1.35.458 6732 Tuesday, June 23, 2020 Approved
Spotify 1.1.34.694 19144 Monday, June 1, 2020 Approved
Spotify 1.1.33.569 9198 Wednesday, May 20, 2020 Approved
Spotify 1.1.32.618 11007 Friday, May 8, 2020 Approved
Spotify 1.1.31.703 10575 Wednesday, April 22, 2020 Approved
Spotify 1.1.30.658 8561 Wednesday, April 8, 2020 Approved
Spotify 1.1.29.592 4792 Monday, March 30, 2020 Approved
Spotify 1.1.28.721 7884 Thursday, March 12, 2020 Approved
Spotify 1.1.27.472 4629 Monday, March 2, 2020 Approved
Spotify 1.1.26.501 5282 Monday, February 17, 2020 Approved
Spotify 1.1.25.559 6656 Thursday, January 30, 2020 Approved
Spotify 1.1.24.91 5805 Wednesday, January 15, 2020 Approved
Spotify 1.1.22.633 8645 Wednesday, December 18, 2019 Approved
Spotify 1.1.21.1654 5159 Thursday, December 5, 2019 Approved
Spotify 1.1.20.510 4302 Monday, November 25, 2019 Approved
Spotify 1.1.19.480 7582 Tuesday, November 12, 2019 Approved
Spotify 1.1.18.611 9406 Monday, October 28, 2019 Approved
Spotify 1.1.17.543 3076 Wednesday, October 23, 2019 Approved
Spotify 1.1.16.522 14837 Monday, September 30, 2019 Approved
Spotify 1.1.15.448 8940 Monday, September 16, 2019 Approved
Spotify 1.1.14.475 10422 Thursday, August 29, 2019 Approved
Spotify 1.1.12.449 12789 Thursday, August 1, 2019 Approved
Spotify 1.1.10.540 15064 Tuesday, July 2, 2019 Approved
Spotify 1.1.9.383 8934 Monday, June 17, 2019 Approved
Spotify 1.1.8.439 6960 Wednesday, June 5, 2019 Approved
Spotify 1.1.7.1376601 5110 Tuesday, May 28, 2019 Approved
Spotify 1.1.7.13766 4289 Wednesday, May 22, 2019 Approved
Spotify 1.1.6.113 5386 Monday, May 13, 2019 Approved
Spotify 1.1.5.153 1410 Friday, May 10, 2019 Approved
Spotify 1.1.0.237 29289 Thursday, February 28, 2019 Approved
Spotify 1.0.80.474 63680 Saturday, June 16, 2018 Approved
Spotify 1.0.66.478 30741 Wednesday, October 25, 2017 Approved
Spotify 1.0.65.320 2633 Tuesday, October 10, 2017 Approved
Spotify 1.0.64.399 1831 Friday, September 29, 2017 Approved
Spotify 1.0.63.617 2766 Wednesday, September 13, 2017 Approved
Spotify 1.0.62.508 1697 Tuesday, September 5, 2017 Approved
Spotify 1.0.60.492 3410 Friday, August 4, 2017 Approved
Spotify 1.0.59.395 2108 Thursday, July 20, 2017 Approved
Spotify 1.0.58.573 2119 Thursday, July 6, 2017 Approved
Spotify 1.0.57.474 2035 Thursday, June 22, 2017 Approved
Spotify 1.0.55.487 3080 Thursday, May 25, 2017 Approved
Spotify 1.0.54.1079 1964 Friday, May 12, 2017 Approved
Spotify 1.0.53.758 2606 Wednesday, April 19, 2017 Approved
Spotify 1.0.52.725 2723 Monday, April 3, 2017 Approved
Spotify 1.0.51.693 1270 Thursday, March 30, 2017 Approved
Spotify (Install) 1.0.33.106 14327 Wednesday, August 3, 2016 Approved
Spotify 0.9.8.296 17258 Tuesday, April 22, 2014 Approved
Spotify 0.9.8.150 1341 Monday, January 27, 2014 Approved
Spotify 0.9.0.129 1831 Wednesday, May 1, 2013 Approved
Spotify 0.8.4.124 1118 Thursday, October 4, 2012 Approved
Spotify 0.5.2.85 736 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