Categories
Posts Ubuntu

Spotify (wine+proxy)- Connection lost. Reconnecting

At University I am running Spotify through a proxy (and wine) which seems to result in lost of connections with 4 different error codes (shown below). What’s strange is I can usually get around 15/20 tracks at the start of the day without loosing connection and then it becomes gradually more frequent until I can’t even play an entire song.

If anyone else is experiencing these issues and have any ideas on how to workaround it or fix it please leave a comment and I’ll make sure to update this post if I get anywhere with the issue.

Connection lost. Reconnecting (error code:101)
Connection lost. Reconnecting (error code:107)
Connection lost. Reconnecting (error code:9)
Connection lost. Reconnecting (error code:114)

Categories
HowTo Posts Ubuntu

HowTo Fix: “There is a problem with your sound card. Spotify can’t play music.” (Wine)

Quite a few times I have encountered this problem, which I think is caused when the soundcard was recently used by another program and might still be busy but it means Spotify can’t play music, so a quick fix for this is to load winecfg and test your sound card which seems to force wine into tacking control of the it.

  1. Close Spotify
  2. In terminal type winecfg
  3. Click on the Audio tab (should be in the top middle)
  4. Click “Test Audio” and if you hear a sound this should work..
  5. Re-open Spotify and check a track, if it’s playing it’s worked otherwise you may have a different issue..
Categories
HowTo Posts Ubuntu

HowTo: Fix Jumping/Skipping Sound in Spotify under Wine – Ubuntu Karmic (9.10)

The sound in Spotify was jumping or skipping much like a scratched disk would. After a little investigation I found a couple of ways to fix it with people saying one worked but the other didn’t for them. (Solution 2 worked for me).

Solution 1:

Open terminal and type:

winecfg

Click on the Audio tab along the top and remove ALSA and try OSS as your sound drivers

Solution 2:

gedit ~/.asoundrc

add the following line to the file:
pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse }

gedit /etc/pulse/daemon.conf

change the following to lines as shown below

default-fragments = 8
default-fragment-size-msec = 5