Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to access Windows shared folder from Raspbmc

📅 2012-Aug-18 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ raspberry pi, smb ⬩ 📚 Archive

Raspberry Pi running Raspbmc is an awesome HTPC. If you have videos, music or photos on one of your home Windows computers, then it might be convenient to access or view the media right from your Raspbmc over the home network. The easiest way to do this is to share the media files in a Windows shared folder and access that from Raspbmc using SMB. I am assuming that the Windows computer and Raspbmc are connected to the same wireless router or the same home network.

First setup the Windows computer:

  1. Your Raspbmc will access your Windows computer using its IP address. So, it might be convenient to configure a static IP address for the Windows computer. In any case, note down the IP address of the Windows computer.

  2. Create a folder and make sure the folder name has no spaces in it. Drop all the media files you want to share into this folder. Make it a shared folder. Add Everyone as a user who has read access to this folder.

Next setup the Raspbmc to access the shared folder:

  1. Make sure you can ping the Windows computer from the Raspbmc. You can do this by SSH to Raspbmc (here is how) and pinging the IP address of the Windows computer.

  2. Assuming you want to access the video files in the shared folders. In XBMC, go to Videos > Files > Add videos > Browse > Add network location.

  3. In the Add network location dialog, choose Protocol as Windows network (SMB). For Server name enter the IP address of the Windows computer. For Shared folder enter the name of the shared folder on the Windows computer. Fill the Username and Password fields with the credentials of a user on your Windows computer. Press OK.

  4. The Windows computer shared folder now appears in the listing, choose OK. Press OK in the next dialog. Now the shared folder is visible in the Files listing and you should be able to browse through the media files inside it and play them whenever needed.

Have fun playing the content from your Windows computer on your Raspbmc 😊

Tried with: Windows 7 (64-bit) and Raspbmc RC4

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧