Spotify

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 190341
Wine: 1.7.35

Feedbacks

Source code

#!/bin/bash
 
# CHANGELOG
# [SuperPlumus] (2011-12-13 18-58)
#   Convert POLv3 -> POLv4
#   Add winhttp.dll override
# [SuperPlumus] (2011-12-21 09-14)
#   Update md5
# [SuperPlumus] (2012-01-18 07-51)
#   Remove cherk md5 (        reason: frequent updates)

 
# Date : (2009-12-09 ??-??)
# Last revision : (2011-12-13 18-58)
# Wine version used : 1.3.30
# Distribution used to test : N/A
# Author : Dr Phil
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="Spotify"
PREFIX="Spotify"
WORKING_WINE_VERSION="1.7.35"
 
POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify"
POL_SetupWindow_Init
POL_SetupWindow_SetID 386
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
POL_Wine_InstallFonts
 
Set_SoundDriver "alsa"
POL_Wine_DirectSound "HardwareAcceleration" "Emulation"
 
POL_Call POL_Install_winhttp

 
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
 
cd "$POL_System_TmpDir"
POL_Download "http://download.spotify.com/Spotify%20Installer.exe" ""
POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "Spotify%20Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
 
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"

POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
 
POL_System_TmpDelete
 
POL_Shortcut "spotify.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
petch Friday 4 December 2015 at 23:12
petch
Developer

Information

This update has been approved by the team.

Message

Add POL_SetupWindow_SetID

Differences

@@ -26,6 +26,7 @@
  
 POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify"
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 386
 POL_Debug_Init
  
 POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX"

New source code

#!/bin/bash
 
# CHANGELOG
# [SuperPlumus] (2011-12-13 18-58)
#   Convert POLv3 -> POLv4
#   Add winhttp.dll override
# [SuperPlumus] (2011-12-21 09-14)
#   Update md5
# [SuperPlumus] (2012-01-18 07-51)
#   Remove cherk md5 (        reason: frequent updates)

 
# Date : (2009-12-09 ??-??)
# Last revision : (2011-12-13 18-58)
# Wine version used : 1.3.30
# Distribution used to test : N/A
# Author : Dr Phil
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="Spotify"
PREFIX="Spotify"
WORKING_WINE_VERSION="1.7.35"
 
POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify"
POL_SetupWindow_Init
POL_SetupWindow_SetID 386
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
POL_Wine_InstallFonts
 
Set_SoundDriver "alsa"
POL_Wine_DirectSound "HardwareAcceleration" "Emulation"
 
POL_Call POL_Install_winhttp

 
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
 
cd "$POL_System_TmpDir"
POL_Download "http://download.spotify.com/Spotify%20Installer.exe" ""
POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "Spotify%20Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
 
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"

POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
 
POL_System_TmpDelete
 
POL_Shortcut "spotify.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

stuaxo Wednesday 25 November 2015 at 13:57
stuaxo Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

I got it working in PlayOnLinux by removing spotify in my facebook apps. The next step was creating a new virtual drive for spotify, using wine 1.8 staging, then running the spotify installer (Miscelaneous->Run a Windows executable). After that go to General->Make a new shortcut and add the Spotify launcher.

 

It's useful for me, as I've done something to the region settings so can't run the native version - it doesn't seem to have been updated for a while.

 

I'm submitting an improvement to update the wine version, though no idea how to test it.

Differences

@@ -8,6 +8,8 @@
 #   Update md5
 # [SuperPlumus] (2012-01-18 07-51)
 #   Remove cherk md5 (	reason: frequent updates)
+# [stuaxo] (2012-01-18 07-51)
+#   Update wine version to 1.8 staging
 
  
 # Date : (2009-12-09 ??-??)
@@ -22,7 +24,7 @@
  
 TITLE="Spotify"
 PREFIX="Spotify"
-WORKING_WINE_VERSION="1.7.35"
+WORKING_WINE_VERSION="1.8-rc1-staging"
  
 POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify"
 POL_SetupWindow_Init

New source code

#!/bin/bash
 
# CHANGELOG
# [SuperPlumus] (2011-12-13 18-58)
#   Convert POLv3 -> POLv4
#   Add winhttp.dll override
# [SuperPlumus] (2011-12-21 09-14)
#   Update md5
# [SuperPlumus] (2012-01-18 07-51)
#   Remove cherk md5 (        reason: frequent updates)
# [stuaxo] (2012-01-18 07-51)
#   Update wine version to 1.8 staging

 
# Date : (2009-12-09 ??-??)
# Last revision : (2011-12-13 18-58)
# Wine version used : 1.3.30
# Distribution used to test : N/A
# Author : Dr Phil
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="Spotify"
PREFIX="Spotify"
WORKING_WINE_VERSION="1.8-rc1-staging"
 
POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify"
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
POL_Wine_InstallFonts
 
Set_SoundDriver "alsa"
POL_Wine_DirectSound "HardwareAcceleration" "Emulation"
 
POL_Call POL_Install_winhttp

 
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
 
cd "$POL_System_TmpDir"
POL_Download "http://download.spotify.com/Spotify%20Installer.exe" ""
POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "Spotify%20Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
 
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"

POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
 
POL_System_TmpDelete
 
POL_Shortcut "spotify.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

petch Tuesday 27 October 2015 at 23:31
petch
Developer

Message

There's a native version available from

https://www.spotify.com/us/download/linux/

Replies

Quentin PÂRIS Saturday 25 July 2015 at 20:32
Quentin PÂRIS
Admin

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -49,7 +49,7 @@
 then
  
 cd "$POL_System_TmpDir"
-POL_Download "https://www.spotify.com/download/Spotify%20Installer.exe" ""
+POL_Download "http://download.spotify.com/Spotify%20Installer.exe" ""
 POL_Wine_WaitBefore "$TITLE" --allow-kill
 POL_Wine "Spotify%20Installer.exe"
 POL_Wine_WaitExit "$TITLE" --allow-kill

New source code

#!/bin/bash
 
# CHANGELOG
# [SuperPlumus] (2011-12-13 18-58)
#   Convert POLv3 -> POLv4
#   Add winhttp.dll override
# [SuperPlumus] (2011-12-21 09-14)
#   Update md5
# [SuperPlumus] (2012-01-18 07-51)
#   Remove cherk md5 (        reason: frequent updates)

 
# Date : (2009-12-09 ??-??)
# Last revision : (2011-12-13 18-58)
# Wine version used : 1.3.30
# Distribution used to test : N/A
# Author : Dr Phil
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="Spotify"
PREFIX="Spotify"
WORKING_WINE_VERSION="1.7.35"
 
POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify"
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
POL_Wine_InstallFonts
 
Set_SoundDriver "alsa"
POL_Wine_DirectSound "HardwareAcceleration" "Emulation"
 
POL_Call POL_Install_winhttp

 
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
 
cd "$POL_System_TmpDir"
POL_Download "http://download.spotify.com/Spotify%20Installer.exe" ""
POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "Spotify%20Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
 
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"

POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
 
POL_System_TmpDelete
 
POL_Shortcut "spotify.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

Shayy Saturday 25 July 2015 at 13:49
Shayy

Message

Spotify does not launch, winhttp.dll seems to be missing, even with the last script

But winhttp.dll IS in system32 folder, Spotify just can't detect it. Even when I copy winhttp.dll next to Spotity's exe file it does not work

PS: In the last script, Wine version is back to 1.3.30

Replies

Anonymous
Wednesday 5 August 2015 at 14:13
Yes, I have also encountered this issue. I've also tried replacing the file in system32 but to no avail. Here is my debug output: http://pastebin.com/DEjKr9dc
Wednesday 5 August 2015 at 19:50
I think there is a native version of Spotify now. Not sure that this script is still needed
lahtis Saturday 16 May 2015 at 11:22
lahtis Anonymous

Message

in latest Spofify installer. When im starting spotify. Spotify say "Cannot find WINHTTP.dll, please reinstall application. Program  wine version is 1.7.35.

And my computer spec are: ubuntu mate 32-bit. if im change wine version in settings. It is say same error.

 

Replies

Quentin PÂRIS Friday 30 January 2015 at 22:59
Quentin PÂRIS
Admin

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -22,7 +22,7 @@
  
 TITLE="Spotify"
 PREFIX="Spotify"
-WORKING_WINE_VERSION="1.3.30"
+WORKING_WINE_VERSION="1.7.35"
  
 POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify"
 POL_SetupWindow_Init

New source code

#!/bin/bash
 
# CHANGELOG
# [SuperPlumus] (2011-12-13 18-58)
#   Convert POLv3 -> POLv4
#   Add winhttp.dll override
# [SuperPlumus] (2011-12-21 09-14)
#   Update md5
# [SuperPlumus] (2012-01-18 07-51)
#   Remove cherk md5 (        reason: frequent updates)

 
# Date : (2009-12-09 ??-??)
# Last revision : (2011-12-13 18-58)
# Wine version used : 1.3.30
# Distribution used to test : N/A
# Author : Dr Phil
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="Spotify"
PREFIX="Spotify"
WORKING_WINE_VERSION="1.7.35"
 
POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify"
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
POL_Wine_InstallFonts
 
Set_SoundDriver "alsa"
POL_Wine_DirectSound "HardwareAcceleration" "Emulation"
 
POL_Call POL_Install_winhttp

 
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
 
cd "$POL_System_TmpDir"
POL_Download "https://www.spotify.com/download/Spotify%20Installer.exe" ""
POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "Spotify%20Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
 
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"

POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
 
POL_System_TmpDelete
 
POL_Shortcut "spotify.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

Quentin PÂRIS Tuesday 27 January 2015 at 21:09
Quentin PÂRIS
Admin

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -40,11 +40,8 @@
 Set_SoundDriver "alsa"
 POL_Wine_DirectSound "HardwareAcceleration" "Emulation"
  
-cd "$POL_System_TmpDir"
-POL_Download "http://www.dllbank.com/zip/w/winhttp.dll.zip" "c21645f10147c3d3024b5864f4fe73be"
-unzip "winhttp.dll.zip" # || POL_Debug_Fatal "unzip winhttp.dll.zip : File not found"
-cp "winhttp.dll" "$WINEPREFIX/drive_c/windows/system32/winhttp.dll"
-POL_Wine_OverrideDLL native winhttp
+POL_Call POL_Install_winhttp
+
  
 POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
  

New source code

#!/bin/bash
 
# CHANGELOG
# [SuperPlumus] (2011-12-13 18-58)
#   Convert POLv3 -> POLv4
#   Add winhttp.dll override
# [SuperPlumus] (2011-12-21 09-14)
#   Update md5
# [SuperPlumus] (2012-01-18 07-51)
#   Remove cherk md5 (        reason: frequent updates)

 
# Date : (2009-12-09 ??-??)
# Last revision : (2011-12-13 18-58)
# Wine version used : 1.3.30
# Distribution used to test : N/A
# Author : Dr Phil
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="Spotify"
PREFIX="Spotify"
WORKING_WINE_VERSION="1.3.30"
 
POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify"
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
POL_Wine_InstallFonts
 
Set_SoundDriver "alsa"
POL_Wine_DirectSound "HardwareAcceleration" "Emulation"
 
POL_Call POL_Install_winhttp

 
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
 
cd "$POL_System_TmpDir"
POL_Download "https://www.spotify.com/download/Spotify%20Installer.exe" ""
POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "Spotify%20Installer.exe"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
 
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"

POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
fi
 
POL_System_TmpDelete
 
POL_Shortcut "spotify.exe" "$TITLE"
POL_Shortcut_QuietDebug "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

Tr4sK Tuesday 27 January 2015 at 14:51
Tr4sK Anonymous

Message

winhttp.dll lien HS.
 

Replies

Tuesday 27 January 2015 at 21:09
La dernière proposition ça donne quoi ?