How do I listen to songs from my laptop on my Windows Phone 7?

Posted: Jul 30, 2011  2 comments  

Average Rating

Tags
IIS 7
media
Windows Phone 7

Share this Post

I have about 6 GB of audio collection saved under folder ("Songs") on my machine. I never felt it practical to sync my entire collection, however, every now and then I would miss listening to a song I hadn't synced yet ... so I had to find a solution to this problem... The answer to the above question is fairly simple - I 
used IIS

3 things I am using for this setup to work are: My laptop, Windows Phone 7 Device and a wireless router. 

The laptop and HTC HD 7 are using the linksys router for obtaining an IP. Therefore they are pingable to each other. Once you confirm the ping, install IIS on your laptop or desktop machine in case you dont have it installed already. once IIS is installed, do the following:

1. Copy all the songs you want to listen to a folder named "Songs" (For me it is C:\Songs)
2. Open IIS Manager (Start->Run->inetmgr)
3. Right-Click on Sites -> Add Web Site ... You will see the following image... Fill it up with the information as in the image.

Note: Replace the IP address with the IP address of your machine

4. You would also need to enable the directory listing module to see the list of songs that you would be playing. (I wanted to keep this as simple as possible hence DirList module)
 4.1 Select the website in IIS Manager and double click on the Directory Listing Module as shown below in Figure 1:





Figure 1.

Once you get into Directory browsing module on the right you will find the Alerts (Action Pane) as in Figure 2. 
                                                                          Figure 2.
4.2. Click on the enable link. FYI, once you click it changes into disable.

Well, that's about it. You can now browse your website by opening up IE on WP 7 and accessing your machine IP address. Following are a few things you should know about what kind of files you can place in this folder as not all files that play on your machine will play on your windows phone 7. 

a. MP3 will be streamed automatically from your machine to your windows phone 7 device. There is nothing you have to do to make this work. 

b. WMV will be streamed by default as well. For details, check: http://msdn.microsoft.com/en-us/library/ff462087(v=VS.92).aspx 

c. You are not using any dynamic technology here. You are *NOT* using silverlight or Flash. Therefore, your MP3 files will work perfectly on an iPhone or an Android device as well. 

d. If you want to make the page look good, you can download various custom directory browsing modules available on the internet. 

e. This setup will of course work only in your home network. 

Do let me know what you think about it. 

Read the complete post here

Submit a Comment

  • Plain text is accepted.
  • URLs starting with http:// are converted to links.