Spotify

Informations

Créateur Messages
Quentin PÂRIS
Admin

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 196187
Wine: 1.7.35

Retours d'expérience

Description

Audio streaming platform, with DRM.

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

AppDB.winehq.org

Code source

#!/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:

Contribuer
Membre Messages
splat Lundi 28 Janvier 2019 à 4:12
splat Anonymous

Messages

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.

 

Réponses

Dimanche 30 Juin 2019 à 6:51
Note: Spotify now (2019) has a native Linux version.

Edité par splat

petch Vendredi 4 Décembre 2015 à 23:12
petch
Développeur

Information

Cette mise à jour a été acceptée par l'équipe

Messages

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"

Nouveau code source

#!/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

Réponses

stuaxo Mercredi 25 Novembre 2015 à 13:57
stuaxo Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

petch Mardi 27 Octobre 2015 à 23:31
petch
Développeur

Messages

There's a native version available from

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

Réponses

Quentin PÂRIS Samedi 25 Juillet 2015 à 20:32
Quentin PÂRIS
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Shayy Samedi 25 Juillet 2015 à 13:49
Shayy

Messages

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

Réponses

Anonymous
Mercredi 5 Aoüt 2015 à 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
Mercredi 5 Aoüt 2015 à 19:50
I think there is a native version of Spotify now. Not sure that this script is still needed
Anonymous
Lundi 28 Janvier 2019 à 3:32
Yes, this script is still needed because they Linux version is not maintained.
lahtis Samedi 16 Mai 2015 à 11:22
lahtis Anonymous

Messages

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.

 

Réponses

Quentin PÂRIS Vendredi 30 Janvier 2015 à 22:59
Quentin PÂRIS
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Quentin PÂRIS Mardi 27 Janvier 2015 à 21:09
Quentin PÂRIS
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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"
  

Nouveau code source

#!/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

Réponses

Tr4sK Mardi 27 Janvier 2015 à 14:51
Tr4sK Anonymous

Messages

winhttp.dll lien HS.
 

Réponses

Mardi 27 Janvier 2015 à 21:09
La dernière proposition ça donne quoi ?