Your Digital Media Has Never Looked So Good

 
hozedhead
Posts: 458
Joined: Thu Apr 22, 2010 2:49 pm
Location: Los Angeles, CA

Re: Spotify Launched in the US today

Sat Aug 20, 2011 11:08 pm

EDIT(10/7/11): For a more stable solution, you may want to use the VLC solution here. As mentioned in the next post below, there is a problem with the stream being dropped by the SHOUTcast channel occasionally. I mentioned it to the developer and he said he would see if he could fix it in his next update. There is a private channel you can use to stream this solution here that will re-start the stream in case it is dropped.

EDIT (2/23/12): This also works for iTunes.

I got Spotify to play on my Roku HD (2009 model) today. The steps I took are:
1. Download Dsbridge here:
http://code.google.com/p/dsbridge/downloads/detail?name=dsbridge-20090727-bin.zip&can=2&q=
2. Extract the files from the archive then copy dsbridge.ini and dsound.dll into the folder where Spotify.exe resides. If you don't know what folder it is, right-click on the Spotify icon on your desktop and select Properties. There should be a button 3/4 of the way down that says Find Target. Click on it to find the folder.
3. Find lame_enc.dll either on your computer already or here:
http://www.rarewares.org/mp3-lame-bundle.php and copy it into the Spotify folder.
4. Copy dsound.dll into C:\WINDOWS\system32\Macromed\Flash
5. Find out what the IP addresses of your Roku and the computer running Spotify are. It helps to have static IP addresses.
6. Make sure you have the Shoutcast channel or add it through the channel store or here:
https://owner.roku.com/add/SHOUTCAST
7. Start Spotify and load a playlist or add a bunch of songs to the queue.
8. Open this URL: http://roku.permanence.com/shoutcast.htm and put in the IP address of your Roku and in the Station URL field enter: http://computer ip:8124 (example: http://192.168.0.3:8124) then press "Launch SHOUTcast". The Roku SHOUTcast channel will start.
9. Start playing your songs on Spotify.
10. Enjoy listening to Spotify on your Roku!
Last edited by hozedhead on Thu Feb 23, 2012 2:12 pm, edited 9 times in total.
Roku HD N1000 Serial #20G984014682 Software V. 3.1 Build 1167
 
hozedhead
Posts: 458
Joined: Thu Apr 22, 2010 2:49 pm
Location: Los Angeles, CA

Re: Spotify Launched in the US today

Sun Aug 21, 2011 10:38 am

The instructions above are for Windows XP. For other platforms you are on your own. You can read this very lengthy thread for more info on what other people did:http://forums.slimdevices.com/showthread.php?t=64590

I've been listening this morning and it's paused a couple of times, once because a commercial played that dsbridge couldn't handle and I'm not sure why the second time. You can just start playing the station again in that event. If you have a commercial-free account, even better.

If you give your Roku and computer static IP addresses then you can save the new station to your favorites on the SHOUTcast channel. If you use dynamic IP addresses, you will have to find out the addresses for your computer and Roku each time and use the SHOUTcast launcher page each time. You can assign static IP addresses by logging in to your router and assigning address reservations. Using a Netgear router, you can do so in the LAN IP settings. I'm not sure about other brands.
Roku HD N1000 Serial #20G984014682 Software V. 3.1 Build 1167
 
hepmusic
Posts: 1
Joined: Wed Sep 07, 2011 10:11 am

Re: Spotify Launched in the US today

Wed Sep 07, 2011 10:26 am

Thanks for providing these instructions. It worked fine with Windows 7 too. Now I have Spotify on my Roku 2 XS!

Even better, with the Remoteless iphone app (and PC helper app) I can remotely control Spotify on a PC located anywhere in the house while it's streaming through the Roku. This overcomes the major shortcoming of using Shoutcast to stream Spotify by making it possible to select tracks and playlists and controlling all Spotify playback functions without having to be at the server PC--even sharing. You don't even have o be near the Roku and TV.

It would be great if a similar method could work fro Grooveshark. Even better would be Spotify and Grooveshark channels.
 
hozedhead
Posts: 458
Joined: Thu Apr 22, 2010 2:49 pm
Location: Los Angeles, CA

Re: Spotify Launched in the US today

Sat Sep 10, 2011 11:28 pm

no longer pertinent.
Last edited by hozedhead on Mon Oct 17, 2011 10:14 pm, edited 1 time in total.
Roku HD N1000 Serial #20G984014682 Software V. 3.1 Build 1167
 
jqn884
Posts: 1
Joined: Fri Sep 23, 2011 10:20 am

Re: Spotify Launched in the US today

Fri Sep 23, 2011 10:23 am

I'm having trouble getting the stream to work. I followed the instructions and then it just gets caught buffering.
 
hozedhead
Posts: 458
Joined: Thu Apr 22, 2010 2:49 pm
Location: Los Angeles, CA

Re: Spotify Launched in the US today

Mon Sep 26, 2011 8:58 am

Not sure why it's not working or you. Do you see an icon in your system tray for DSBridge? It is a blue circle and it should turn green when the stream is being played. Other than that, make sure you have the correct IP addresses for your computer and your Roku, make sure you have the DSBridge and lame_enc.dll files in your Spotify folder and your flash folder. If you have another computer on your network, try playing Spotify on your host computer, then go to the other computer and use VLC player or Windows Media Player to open the network stream http://hostcomputerip:8124 (substitute the actual ip address of your host computer for "hostcomputerip"). If the stream plays on VLC, it should also work with SHOUTcast. If none of this works, download lame version 3.98.2 here: http://lame.buanzo.com.ar/ , extract the archive and copy lame_enc.dll into your Spotify and Flash folders. That is the version of lame that the original author of DSBridge used. I didn't have to use that version for it to work, but I'm just trying to think of everything you might try. I'm assuming you are using Windows XP. If you aren't, I really don't know what else you could try.
Roku HD N1000 Serial #20G984014682 Software V. 3.1 Build 1167
 
belltown
Posts: 1445
Joined: Thu Dec 09, 2010 1:43 pm
Contact:

Re: Spotify Launched in the US today

Tue Sep 27, 2011 1:07 pm

I'm using Windows 7 Home Premium 64-bit.

I just installed Spotify yesterday. It installed into the folder: C:\Users\<my user name>\AppData\Roaming\Spotify [I'm not sure why it doesn't go to one of the "Programs" folders, probably something to do with it being linked to Facebook. Anyway, I right-clicked on spotify.exe and selected "Pin to Start Menu" so I can run it from the Start Menu without going to my browser and going to Facebook].

Flash is located in the folder: C:\Windows\SysWOW64\Macromed\Flash

I copied into each of the folders the 3 files dsbridge.ini and dsound.dll (from http://code.google.com/p/dsbridge/downloads/list and lame_enc.dll from http://www.rarewares.org/mp3-lame-bundle.php (I used the latest version, LAME 3.98.4 32-bit version, NOT the 64-bit version).

When I run Spotify I get the little blue circle in the system tray.

I then followed the rest of the instructions above to play Spotify through Shoutcast on my Roku. It works very well, even with the ads playing. Occasionally, it will stop playing for no apparent reason. I just hit "Play" again on the Shoutbox Roku menu and it resumes with no problem.
https://github.com/belltown/
 
belltown
Posts: 1445
Joined: Thu Dec 09, 2010 1:43 pm
Contact:

Re: Spotify Launched in the US today

Fri Sep 30, 2011 10:26 pm

I've been having problems after the most recent upgrade of Spotify to version 0.6.1. When I try to run Spotify under DSBridge, then Spotify hangs on startup. The box for its application display is just a black box. I solved the problem for now by uninstalling Flash 10.3 and reinstalling an older version of Flash (10.2).

It's playing fine now. To play it on my Roku, I created a private channel, https://owner.roku.com/Add/SIMPLEAUDIOPLAYER. This channel lets you input the Url of any audio stream and play it on the Roku. You can specify up to 3 different Urls that will be stored and retained in the Roku. In my case I set the default url to "http://192.168.0.100:8124/". Use your own computer's IP address, and don't forget to add the trailing slash after the port number otherwise it won't work.
https://github.com/belltown/
 
hozedhead
Posts: 458
Joined: Thu Apr 22, 2010 2:49 pm
Location: Los Angeles, CA

Re: Spotify Launched in the US today

Sat Oct 01, 2011 9:31 pm

Thanks belltown, but this new channel doesn't seem to work any better than the SHOUTcast channel, and you have to click out of the "stream audio" and go back in to get it to start again when there's an interruption. I don't have any idea why it happens, maybe Spotify has some way of screwing up people who use DSBridge to stream their content. Do you get dropouts using VLC to stream to this channel?
Roku HD N1000 Serial #20G984014682 Software V. 3.1 Build 1167
 
belltown
Posts: 1445
Joined: Thu Dec 09, 2010 1:43 pm
Contact:

Re: Spotify Launched in the US today

Sun Oct 02, 2011 1:50 pm

hozedhead wrote:
Thanks belltown, but this new channel doesn't seem to work any better than the SHOUTcast channel, and you have to click out of the "stream audio" and go back in to get it to start again when there's an interruption. I don't have any idea why it happens, maybe Spotify has some way of screwing up people who use DSBridge to stream their content. Do you get dropouts using VLC to stream to this channel?


I'm getting the same thing. When I'm streaming Spotify, every few minutes the audio stream gets interrupted and I have to hit "stop playing" followed by "start playing" to continue listening to the stream. I can stream iTunes using DSBridge to the Roku using the exact same setup with no problems. I can also stream my Stereo Mix audio channel using VLC's HTTP server to the Roku continuously with no interruptions. This leads me to believe the issue has to do with some Spotify/DSBridge/Flash compatibility issue.
Last edited by belltown on Sun Oct 02, 2011 6:37 pm, edited 1 time in total.
https://github.com/belltown/
 
belltown
Posts: 1445
Joined: Thu Dec 09, 2010 1:43 pm
Contact:

Re: Spotify Launched in the US today

Sun Oct 02, 2011 6:32 pm

I've updated my SIMPLEAUDIOPLAYER channel (https://owner.roku.com/Add/SIMPLEAUDIOPLAYER) to restart the audio stream if it is interrupted. Now you should be able play Spotify for hours on end without it stopping. The example audio app in the SDK doesn't restart interrupted streams, neither does SHOUTcast, apparently; they both just stop.

To update to the new version of SIMPLEAUDIOPLAYER, simply enter the Roku Channel Store on your Roku box then exit and re-run channel. You should see version 1.5 or later on the Settings screen. If the audio stream does get interrupted you may notice a few seconds of silence while it restarts, but you should no longer have to hit Stop then Play to get the stream playing again.
https://github.com/belltown/
 
hozedhead
Posts: 458
Joined: Thu Apr 22, 2010 2:49 pm
Location: Los Angeles, CA

Re: Spotify Launched in the US today

Sun Oct 02, 2011 9:52 pm

Belltown, that's why I like you! Thanks for your efforts!
Roku HD N1000 Serial #20G984014682 Software V. 3.1 Build 1167
 
hozedhead
Posts: 458
Joined: Thu Apr 22, 2010 2:49 pm
Location: Los Angeles, CA

Re: Spotify Launched in the US today

Mon Oct 03, 2011 1:11 pm

EDIT: No longer relevant
Last edited by hozedhead on Sat Oct 29, 2011 1:03 pm, edited 5 times in total.
Roku HD N1000 Serial #20G984014682 Software V. 3.1 Build 1167
 
hozedhead
Posts: 458
Joined: Thu Apr 22, 2010 2:49 pm
Location: Los Angeles, CA

Re: Spotify Launched in the US today

Mon Oct 03, 2011 2:08 pm

Just to summarize for those who couldn't get the DSBridge method to work, it's not necessary to use DSBridge at all. You can use VLC to stream your audio card's output to the Roku, and it works better than DSBridge because it doesn't pause unexpectedly.
I wrote an illustrated tutorial for the VLC method here

The post directly below this one only applies to the VLC method. Ignore it if you are using DSBridge.
Last edited by hozedhead on Sat Nov 26, 2011 3:22 pm, edited 4 times in total.
Roku HD N1000 Serial #20G984014682 Software V. 3.1 Build 1167
 
hozedhead
Posts: 458
Joined: Thu Apr 22, 2010 2:49 pm
Location: Los Angeles, CA

About Stereo Mix

Thu Oct 06, 2011 1:55 pm

Edit 11/26/11: This post only applies if you are using the VLC method.

Edit 10/23/11: I used the instructions on this site to enable stereo mix on my son's Toshiba laptop running Windows 7. I downloaded the latest audio driver from the manufacturer then installed it and followed the instructions about showing disabled devices. When I saw stereo mix was disabled, I just right clicked on it and chose enable and it showed up in VLC.

Some computers apparently don't have stereo mix, or call it something else, like "What U Hear". In some cases you can update the driver for your audio output to get it to work. There is a program called Speccy that can give you information about what hardware is in your system. You'll have to look in Device Manager or Control Panel to find out what driver your audio is using. After you find that information you can google the name and model of your computer, motherboard and audio, and "stereo mix" to find out ways to enable stereo mix on your computer. Of course this is all for Windows, I don't have a clue for other platforms.
Last edited by hozedhead on Sat Nov 26, 2011 3:25 pm, edited 3 times in total.
Roku HD N1000 Serial #20G984014682 Software V. 3.1 Build 1167

Who is online

Users browsing this forum: gkl, Kendoori, Williamt100 and 14 guests