Kamis, 08 Juli 2010

Spotify and PS3

This blog will show you how to use Spotify on and through the Sony Playstation PS3.

Wouldn't it be cool to play songs through Spotify on the sound system in the living room utilizing the PS3 as a mediacenter? Imagine having the Spotify application, including playlists, radio channels etc, on that big flatscreen livingroom TV, while you control Spotify wirelessly from the couch using Sixaxis /Dualshock 3, the PS3 keypad or a bluetooth keyboard. Cool and practical.

Through a series of posts this blog will guide you through the steps needed to accomplish the above.

Labels: DS3, DSbridge, Dualshock, Linux, media server, Poker, PS3, Sixaxis, Sony Playstation 3, Spotify, wireless

Stream Spotify to PS3 

The instructions below have been successfully tested on Win XP 32-bit and Win 7 64-bit. They include a fix for the Flash-DSBridge conflict. The PS3 and your computer needs to be connected to the same network. You run Spotify on your computer and use ps3mediaserver and DSBridge to send the Spotify audiostream to the PS3.

In a later post, it will be shown how you can control Spotify wirelessly from the PS3 and your living room TV using the Dualshock3 or a bluetooth keyboard.



1. Install Spotify (www.spotify.com) in case you already haven't


2. DSbridge

a) Download dsbridge-20090727-bin.zip (http://code.google.com/p/dsbridge/downloads/list) to a temporary folder, for example "C:\tmp"

b) Unzip "dsbridge-20090727-bin.zip" in "C:\tmp"

c) From "C:\tmp\bin" copy the two files "dsbridge.ini" and "dsound.dll"
to the Spotify folder (something like "C:\Program Files (x86)\Spotify")


3. lame_enc.dll

a) Download (http://lame.buanzo.com.ar/libmp3lame-win-3.98.2.zip) to (for example) "C:\tmp"

b) Unzip "libmp3lame-win-3.98.2.zip"

c) Copy the file "lame_enc.dll" to the Spotify folder (something like "C:\Program Files (x86)\Spotify")


4. Test that Spotify works with DSBridge

a) Start Spotify and play a song. You should now see, in the notification tray (Win XP) or in Show hidden icons (Win 7), a new round icon, blue or green in color:






b) If you see the round blue or green icon, things are OK, so proceed to step 5 below. Otherwise, goto step 4 c)

c) If you don't see the round blue or green icon, there is a problem with Flash player (for more info, see https://forum.reciva.com/read.php?3,63319). The cure is to uninstall your current Flash and install an older version of Flash.

d) Download and run the uninstaller (it is not enough to uninstall from the control panel, because Flash locks the registry): http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe

e) Download to (for example) "C:\tmp" previous versions of Flash from http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp10_archive.zip.

f) Unzip "fp10_archive.zip".

g) Goto "C:\tmp\fp10_archive\10r45_2"

h) Run to install, the following 2 files: "flashplayer10r45_2_winax.exe", "flashplayer10r45_2_win.exe". Now you have installed the latest version 10,0,45,2 of Flash that works with Spotify/DSBridge.

i) Redo step 4 a) to verify that DSBridge works


5. ps3mediaserver

a) Download and install ps3mediaserver (http://code.google.com/p/ps3mediaserver/downloads/detail?name=pms-setup-windows-1.10.51.exe&can=2&q=)


6. Configure ps3mediaserver for streaming Spotify to the ps3

a) Make sure ps3mediaserver is not running.

b) In the ps3mediaserver folder (something like "C:\Program Files (x86)\PS3 Media Server"), open the file "WEB.conf" in Notepad or a similar text editor. Under #shoutcasts, insert the following line of text
"audiostream.Web,Radios=Spotify,http://localhost:8124"

The result should look something this (part of the WEB.conf):

#shoutcasts
audiostream.Web,Radios=Spotify,http://localhost:8124
audiostream.Web,Radios=JET FM (French Radio),http://www.jetfm.asso.fr/site/stream/jetfm-haut_debit.m3u,http://www.jetfm.asso.fr/site/dist/images/site/logo_h1.png

c) Save the file "WEB.conf". Now, all is set for streaming Spotify to the PS3.


7. Stream Spotify to PS3

a) Start the PS3
b) Start Spotify and play a song or, preferably, queue several songs.
c) Start ps3mediaserver
d) On the PS3, goto the Music category, there you should see one entry "PS3 Media Server [your computer name]"
e) Select (by pressing the X button), "PS3 Media Server [your computer name]", then select "Web", then "Radios", and finally select "Spotify [something]".

In a few seconds, the stream from Spotify should start playing on the sound device connected to your PS3! Done.


Not working?

Find the ip-address of your computer with ps3mediaserver on it:

a) In step 6 b), try replacing "localhost" in "audiostream.Web,Radios=Spotify,http://localhost:8124" by the IP address of the computer running ps3mediaserver. To find the IP Address of your computer:

b) Open a "Command prompt window". In the command prompt window, type "ipconfig" and press enter to run ipconfig. Find the "IPv4 Address" (Win 7) or "IP Address" (Win XP) under "Ethernet adapter Local Area Connection", for example on Win 7:
Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : .
Link-local IPv6 Address . . . . . : feXX::d3XX:XX00:2
IPv4 Address. . . . . . . . . . . : 192.168.0.189
Subnet Mask . . . . . . . . . . . : 255.255.255.0


In the example above, the IP Address ("IPv4 Address") is 192.168.0.189. (Your IP Address has probably something else than 189 at end.) Write down or memorize your specific ip-address.

In step 6 b) then replace "localhost" by "192.168.0.189". That is, in the file WEB.conf under #shoutcasts, insert the following line of text
"audiostream.Web,Radios=Spotify,http://192.168.0.189:8124".

Make sure you use your own ip-address, probably not 192.168.0.189, and do not forget the ":8124" at the end. Save WEB.conf.


Tips!
In ps3mediaserver, under the Navigation/Share settings tab, you select what folders on your computer to share. The default is everything on your computer. It is probably a good idea to restrict this share to folders such as music and pictures.

Tidak ada komentar:

Posting Komentar