Spotify

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 222338
Wine: 3.0.3

Feedbacks

Description

Audio streaming platform, with DRM.

Note: Spotify now (2019) has a native Linux version.

AppDB.winehq.org

Source code

#!/bin/bash
  
# Date : (2009-12-09 ??-??)
# Last revision : see changelog
# Wine version used : 1.3.30
# Distribution used to test : N/A
# Author : Dr Phil
# Depend :

# 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)
# [Dadu042] (2019-11-04 12-51)
#   - Wine 1.7.35 -> 3.0.3 (because POL's GUI is NOK under Ubuntu 18.04)
#   - Replace the download URL (because dead) "http://download.spotify.com/Spotify%20Installer.exe" -> "https://download.scdn.co/SpotifySetup.exe"
#     However it does not install ('Please install Spotify from a user account, not a admin account.'). I tried: Wine 2.22 -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
  
TITLE="Spotify"
PREFIX="Spotify"
WORKING_WINE_VERSION="3.0.3"
  
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_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

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://download.scdn.co/SpotifySetup.exe" ""
POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "SpotifySetup.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
Dadu042 Monday 4 November 2019 at 13:28
Dadu042

Information

This update has been approved by the team.

Message

Some updates, for the Linux users whose Linux distribution does not have a Spotify package.

Differences

@@ -1,5 +1,12 @@
 #!/bin/bash
- 
+  
+# Date : (2009-12-09 ??-??)
+# Last revision : see changelog
+# Wine version used : 1.3.30
+# Distribution used to test : N/A
+# Author : Dr Phil
+# Depend :
+
 # CHANGELOG
 # [SuperPlumus] (2011-12-13 18-58)
 #   Convert POLv3 -> POLv4
@@ -7,72 +14,70 @@
 # [SuperPlumus] (2011-12-21 09-14)
 #   Update md5
 # [SuperPlumus] (2012-01-18 07-51)
-#   Remove cherk md5 (	reason: frequent updates)
+#   Remove cherk md5 (reason: frequent updates)
+# [Dadu042] (2019-11-04 12-51)
+#   - Wine 1.7.35 -> 3.0.3 (because POL's GUI is NOK under Ubuntu 18.04)
+#   - Replace the download URL (because dead) "http://download.spotify.com/Spotify%20Installer.exe" -> "https://download.scdn.co/SpotifySetup.exe"
+#     However it does not install ('Please install Spotify from a user account, not a admin account.'). I tried: Wine 2.22 -> 3.0.3
 
- 
-# 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"
- 
+WORKING_WINE_VERSION="3.0.3"
+  
 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_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 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_Download "https://download.scdn.co/SpotifySetup.exe" ""
 POL_Wine_WaitBefore "$TITLE" --allow-kill
-POL_Wine "Spotify%20Installer.exe"
+POL_Wine "SpotifySetup.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
\ No newline at end of file

New source code

#!/bin/bash
  
# Date : (2009-12-09 ??-??)
# Last revision : see changelog
# Wine version used : 1.3.30
# Distribution used to test : N/A
# Author : Dr Phil
# Depend :

# 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)
# [Dadu042] (2019-11-04 12-51)
#   - Wine 1.7.35 -> 3.0.3 (because POL's GUI is NOK under Ubuntu 18.04)
#   - Replace the download URL (because dead) "http://download.spotify.com/Spotify%20Installer.exe" -> "https://download.scdn.co/SpotifySetup.exe"
#     However it does not install ('Please install Spotify from a user account, not a admin account.'). I tried: Wine 2.22 -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
  
TITLE="Spotify"
PREFIX="Spotify"
WORKING_WINE_VERSION="3.0.3"
  
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_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

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://download.scdn.co/SpotifySetup.exe" ""
POL_Wine_WaitBefore "$TITLE" --allow-kill
POL_Wine "SpotifySetup.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

splat Monday 28 January 2019 at 4:12
splat Anonymous

Message

The WINHTTP.dll file is still not found upon installing Spotify... See image below:

 

spotify-error.png

https://postimg.cc/wRLyFTyb

 

I'm usung Debian stretch. A message about this I received:
-----
The only thing I can see that *might* cause a problem is that you are
installing Wine 1.7.35. Granted, this is the version that is in Stretch,
but it is a very old version. Perhaps try installing it from Stretch
Backports, then reinstall Wine, and see if that helps. Also, Spotify
appears to be problematic with Wine outright.

https://appdb.winehq.org/objectManager.php?sClass=application&iId=8514

To install from backports, first add backports to your repos.

# dpkg --add-architecture i386
# echo "deb http://deb.debian.org/debian stretch-backports main" | tee /etc/apt/sources.list.d/stretch-backports.list
# apt update

Then install (or in this case, re-install) Wine

# apt install \
      wine/stretch-backports \
      wine32/stretch-backports \
      wine64/stretch-backports \
      libwine/stretch-backports \
      libwine:i386/stretch-backports \
      fonts-wine/stretch-backports

This will install Wine 3.0.3 from backports, and should give improved
compatibility.
------
So, I did all that and then I tried once again to get Spotify to install without errors, but It still can't find the .dll file.

 

Replies

Sunday 30 June 2019 at 6:51
Note: Spotify now (2019) has a native Linux version.

Edited by splat

petch Friday 4 December 2015 at 23:12
petch

Warning

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

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

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 Anonymous

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

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
Anonymous
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
Anonymous
Monday 28 January 2019 at 3:32
Yes, this script is still needed because they Linux version is not maintained.
lahtis Saturday 16 May 2015 at 11:22
lahtis

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 Anonymous

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 Anonymous

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

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

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com