Export to GitHub

dsbridge - issue #20

DSBridge does not work with new Spotify version


Posted on Jun 15, 2010 by Happy Hippo

What steps will reproduce the problem? 1. Update to latest spotify version 2. Start Spotify

What is the expected output? What do you see instead? DSBridge should start. It does not.

What version of the product are you using? On what operating system? Windows 7. Spotify version 0.4.3.383.g278a6e51 dsound.dll dated 2009-07-27, 10:15.

Please provide any additional information below. This problem seems to be experienced by other users as well.

Comment #1

Posted on Jun 16, 2010 by Happy Bear

I can confirm this problem too. DSBridge was working fine with Spotify until the last Spotify update, now it does not start (Windows XP SP3).

Comment #2

Posted on Jun 16, 2010 by Grumpy Dog

I believe it is not spotify but the latest flash 10.1 update. I was experimenting with the 10.1 beta which prevented dsbridge from working. I quickly rolled back flash and it all started working again.

I suspect that spotify calls into flash first before the directsound API's which loads directsound into spotify (from the system dll's) before spotify calls them, which means that the dsound.dll in the spotify directory is bypassed.

Comment #3

Posted on Jun 20, 2010 by Swift Ox

I just realised that I had this problem, rolled back the latest Flash 10.1 update and the Spotify streaming is working again. So, the problem was definitely exposed by the Flash update. Not knowing the sequence of calls from Spotify or Flash, it's hard to diagnose the problem.

Comment #4

Posted on Jun 22, 2010 by Quick Bird

Yes, it seems to be a Flash problem, as always....

Comment #5

Posted on Jun 27, 2010 by Swift Giraffe

rollbacked flash, the sound is streaming again. Yet, I don't get the album art (cover pictures) anymore. can this be related? thanks

Comment #6

Posted on Jul 6, 2010 by Grumpy Camel

Thanks Jim! I could never have solved this myself.

Working fine now!

Comment #7

Posted on Jul 20, 2010 by Swift Wombat

Any idea about how to fix this in the long run, i.e. either by some code change in DSBridge, by editing the config file of DSBridge, or possibly by just placing the DSBridge DLL somewhere else?

Staying at Flash 10.0 sadly won't be a workable long-term solution for many reasons, the biggest one probably being that it will make your computer very insecure and vulnerable to infection whenever you just surf the web. :-/

Comment #8

Posted on Jul 22, 2010 by Helpful Bird

Only the ActiveX version of flash seems to cause this issue. There's a getsatisfaction issue reported on this: http://getsatisfaction.com/spotify/topics/dsbridge_streaming_broken_in_last_release

Comment #9

Posted on Jul 28, 2010 by Quick Hippo

I managed to fix this problem without uninstalling Flash. I just copied dsound.dll, dsbridge.ini and lame_enc.dll to C:\Windows\SysWOW64\Macromed\Flash. This makes Flash load the wrapper dll as well, and things works just like before the update.

Comment #10

Posted on Jul 30, 2010 by Massive Kangaroo

Thank you magnus! Your solution to put the 3 files in "C:\Windows\SysWOW64\Macromed\Flash\" works for me too.

Comment #11

Posted on Jul 31, 2010 by Happy Hippo

This is strange. I tried everything you write in here but still I can't connect. I use Win 7 x64 Ultimate.

Here is my log [10-07-31 14:32:45.4916] Slim::Utils::Timers::ANON (260) Error: Timer failed: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /Slim/Networking/IO/Select.pm line 149. [10-07-31 14:34:30.5667] Slim::Formats::XML::gotErrorViaHTTP (332) Error: getting http://192.168.0.5:8124 Connect timed out: Bad file descriptor [10-07-31 14:34:30.6071] Slim::Utils::Timers::ANON (260) Error: Timer failed: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /Slim/Networking/IO/Select.pm line 149. [10-07-31 14:34:30.7440] Slim::Formats::XML::gotErrorViaHTTP (332) Error: getting http://192.168.0.5:8124 Connect timed out: Bad file descriptor [10-07-31 15:06:16.8815] main::init (323) Starting Squeezebox Server (v7.5.1, r30836, Tue Jun 1 06:02:45 PDT 2010) perl 5.010000 [10-07-31 15:06:33.5317] Slim::Utils::Scanner::Remote::ANON (237) Error: Can't connect to remote server to retrieve playlist for, http://localhost:8124/: Connect timed out: Bad file descriptor. [10-07-31 15:06:41.7724] Slim::Utils::Scanner::Remote::ANON (237) Error: Can't connect to remote server to retrieve playlist for, http://localhost:8124/: Connect timed out: Bad file descriptor.

Any other ideas ? =)

Comment #12

Posted on Aug 1, 2010 by Happy Kangaroo

Thanks for this! It works great (I had tried streaming with VLC media player, but the sound quality was bad). Also the solution by Magnus works good, but I needed to leave lame_enc.dll in the spotify directory.

Question: I'm now streaming Spotify on my NMT ( network media tank / Popcorn hour / HDX1000 ), but there is a delay of about 52 seconds, when I change songs or fast forward etc... Is there any way to get rid of this delay? (I guess the NMT has a large audio buffer to fill before it starts outputting the sound?...)

Comment #13

Posted on Aug 2, 2010 by Happy Lion

I also have windows 7 64 bit and cannot get it to work but had no problems with my old computer with windows XP 32 bit.

Comment #14

Posted on Aug 3, 2010 by Happy Hippo

I've tried the above and got it to work without problems on a Windows 7 64 bit system. Thanks Magnus!

Comment #15

Posted on Aug 3, 2010 by Happy Lion

I've got Spotify working now through my radios. Deleted the files and started all over again and it seemed to be using this download LAME MP3 Encoder 3.98.2 - for old OSes rather than 3.98.4 that did the trick.

Comment #16

Posted on Aug 7, 2010 by Happy Bird

Brilliant, many thanks! Works on Win 7 32-bit, too - just put the files in \Windows\System32\Macromed\Flash

Comment #17

Posted on Aug 7, 2010 by Happy Kangaroo

Comment deleted

Comment #18

Posted on Aug 19, 2010 by Happy Kangaroo

Answering my own question: For playing on a network media tank / Popcorn hour / HDX1000, create a html file containing:

Spotify stream

(replace 192.168.1.xxx with the IP address of the machine running the spotify desktop client)

The prebuf setting is important; if you leave it out, you'd have to wait about 52 seconds before the stream starts to play...

Comment #19

Posted on Sep 3, 2010 by Swift Wombat

Made the same alterations as Kelvyn.Taylor in comment 16, but on XP, and all works fine again. Thanks.

Comment #20

Posted on Sep 19, 2010 by Happy Lion

i'm a complete techno phobe but had the same bad file conector message. i've managed to follow your threads, put the three files into C:\WINDOWS\system32\Macromed\Flash and it works. it didn't yesterday but did today, guess i should have known it'd need an infamous reboot (solves more problems than a cup of tea) thanks folks. i still have no idea if i'm 64 or 32 bit but it works so i dont care...for now...x

Comment #21

Posted on Sep 25, 2010 by Quick Rabbit

It solved my problems too - but even easier was to use the spotify plug in to squeezebox - released a while back. But the user interface when using squeeze is quite poor...

Comment #22

Posted on Oct 23, 2010 by Happy Lion

hello i previously reported that it worked for me after a reboot, but its never worked since. any ideas why it would only work once? the files are still in C:\WINDOWS\system32\Macromed\Flash.

thanks

Comment #23

Posted on Jan 4, 2011 by Happy Rabbit

vista spotify 0.4.9.295.gf1902819 dsound.dll built on 27/07/2009 in firefox put in http://localhost:8124 (or my ip address) I get a couple of seconds of music. then it stops. I have to reload to play again. in itunes I get nothing at all.. thanks

Comment #24

Posted on Jan 5, 2011 by Massive Horse

Comment deleted

Comment #25

Posted on Jan 5, 2011 by Massive Horse

Win 7 64bit, putting the files in C:\Windows\SysWOW64\Macromed\Flash did work for me too :) I didn't even have to reboot.. Hopefully it stays that way!

Comment #26

Posted on Jan 6, 2011 by Grumpy Horse

The following works on my computers: Win 7 64bit: copied the 3 files (dsound.dll, dsbridge.ini and lame_enc.dll (from LAME MP3 Encoder 3.98.2)) to C:\Windows\SysWOW64\Macromed\Flash\

Win XP 32bit: copied the 3 files (dsound.dll, dsbridge.ini and lame_enc.dll (from LAME MP3 Encoder 3.98.2)) to C:\Windows\system32\Macromed\Flash\

I still haven´t tested to remove the 3 files in C:\Program Files (x86)\Spotify and C:\Program Files\Spotify, so they are still in both places.

Comment #27

Posted on Jan 22, 2011 by Helpful Wombat

Works great on my Win7 64bit. Thanks all!

Comment #28

Posted on Feb 15, 2011 by Happy Bird

I make the trick commented by some of you (copied the files on Flash folder) and I can get sound stream to work. But I have noticed that: - If I use VLC (open network stream -> http://localhost:8124): sound works, tittle of the song works, but cover art is not displayed. - If I use MediaPlayer (win7 version) (open network location -> http://localhost:8124): sound works, but no tittle of the song or cover art is displayed. I only get "localhost" and default image for sound files.

Someone can confirm that when you say "working as before" or "working ok" you mean that you get sound and the complete id3tag displayed pleasse? Or only get sound?

Thank you in advance, and sorry for my english (spanish fan of dsbridge here)

Comment #29

Posted on Aug 16, 2011 by Massive Giraffe

Tried this with latest Squeezebox radio and nothing seems to work. I have done everything listed above but cannot get it to work. Purchased squeezebox yesterday. Could it be an updated firmware broke it?

Comment #30

Posted on Sep 1, 2011 by Happy Giraffe

Got to this page this morning after failing to get Spotify through to my PS3 when it had been working perfectly earlier in the year. I went for Magnus' fix but found to my surprise that the files were already in that folder. At that point I realised I'd have to check back through the whole installation process. Low & behold I found that a few months ago I'd asked my router to set a fixed IP for the Spotify PC & I hadn't thought to update this in the PS3 Server web.conf file. Once I changed this & rebooted all was well.

Comment #31

Posted on Sep 27, 2011 by Swift Giraffe

when I started spotify a red icon appeard in the downright corner saying "dsbridge: could not load dll_file", if that's anyones problem I downloaded the program "ccleaner" and under "register" (or the second of four icons in the left vertical menu) and scanned for problems, then fixed em' all. now spotify works perfectly for me.

Comment #32

Posted on Sep 29, 2011 by Helpful Bear

After tearing my hair out for ages I finally figured out I had to put the 3 files in this folder also:

C:\Users\myname\AppData\Roaming\Spotify\

Hope that's of help to someone.

Comment #33

Posted on Sep 30, 2011 by Swift Wombat

I had the same problem as comment 31. But ccleaner did not solve the problem for me. I had to add lame_enc.dll in the folder: C:\Windows\SysWOW64 (C:\windows\system32 on a 32-bit system?), now it is working again.

Comment #34

Posted on Oct 13, 2011 by Happy Kangaroo

I had to run Spotify as administrator for the dsbridge to start.

Comment #35

Posted on Oct 15, 2011 by Happy Wombat

Can't get DSBridge to work on a Win7 64bit box.

Have copied dsound.dll, dsbridge.ini and lame_enc.dll to my flash directory. Also tried running Spotify as admin. Also uninstalled flash 10.1 and went back to 10.45.2.

Any other suggestions? I don't seem to have C:\users\myname\AppData ... as said in comment 32.

Thanks!

Comment #36

Posted on Oct 21, 2011 by Swift Hippo

Comment 32 Godsend after trying everything else. Comment 35 AppData is usually a hidden directory so go to C:\Users**YOURNAME** and once in that folder add \Roaming\Spotify\ to the end of your folder path

Comment #37

Posted on Oct 23, 2011 by Swift Ox

I had the same problem as comment 31. And the solution from Comment 32 worked for me. Thanks.

Comment #38

Posted on Oct 25, 2011 by Helpful Elephant

Comment deleted

Comment #39

Posted on Nov 1, 2011 by Massive Rhino

Thanks @ comment 32. This also worked for me on Windows 7 64bit!

Comment #40

Posted on Dec 16, 2011 by Happy Cat

I had the latest Flash version 11.1 and Spotify crashed each time when loading DSBridge. I have uninstalled Flash and now it works. But I was to have it working while Flash is installed, any ideas?

Comment #41

Posted on Dec 27, 2011 by Swift Bird

THANK YOU philah for #32!!! woot!

Comment #42

Posted on Jan 9, 2012 by Quick Kangaroo

32 worked like a dream for me. No icon displayed in tray though. Win 7 Laptop with Reciva Magicbox IMP Adapt via wifi.

Comment #43

Posted on Feb 22, 2012 by Happy Rabbit

Thanks #26 that worked for me Win 7 64bit..

Comment #44

Posted on Apr 5, 2012 by Quick Giraffe

Thanks #26, that worked for me as well!! (Win XP)

Comment #45

Posted on May 29, 2012 by Grumpy Dog

Thanks, Serviio works as PS3 Media Server too.

Comment #46

Posted on Aug 18, 2012 by Grumpy Rhino

32 works, great

Comment #47

Posted on Sep 16, 2012 by Helpful Bear

It says there's a problem with my sound card in Spotify after putting those 3 files in %appdata%, and in System32/Macromed/Flash. I now do get the DSbridge icon, which I first did not have in the tray while the music was working..

Comment #48

Posted on Aug 13, 2013 by Happy Hippo

DSbridge does not Works in Windows 8... I have installer enc_dll in Spotifiy.exe directory, but icon is not show me in Spotify program. Any suggerences?

Regards,Paco

Comment #49

Posted on Aug 14, 2013 by Quick Dog

I had it working on Win8 after a upgrade from Win7.

Read all posts here, and put the correct dsbridge.ini dsound.dll lame_enc.dll in the correct folder in C:\Users\"user"\AppData\Roaming\Spotify

Should work...

/Söder

Comment #50

Posted on Jan 4, 2014 by Helpful Bird

DSBridge is definitely not starting on Windows 7 64-bit. Tried moving the files to Flash folder, uninstalling Flash. Simply does not work.

Comment #51

Posted on Oct 20, 2014 by Grumpy Giraffe

It's weird, I got this running on Win 8.1 x64 without a single problem. Win7 x64 however refuses to work regardless of all mentioned file locations above & various versions of the Lame encoder.

Too bad the project is abandoned.

Status: New

Labels:
Type-Defect Priority-Medium