圍紀實驗室

XBMC and Windows shared folders[]

Environment and Conditions[]

  • XBMC 11.0 (Eden) is running in Ubuntu 11.04 Linux
  • The shared folders belong to a PC running Windows 7
  • The Win 7 hostname is 'HIWIN7'
  • HIWIN7 has a shared folder with share name 'Win7_Public' (the actual pathname is C:\Users\Public)
  • A user called 'xbmc' has been created in both the Ubuntu and the Win 7 systems

Operations on the Windows 7 PC[]

圖1 - Win7 網路和共用中心

圖1

在「網路和共用設定中心」的左側 side bar 選「變更進階共用設定」(如圖1) ==>

圖2 - Win7 進階共用設定

圖2







為「公用資料夾」關閉密碼保護設定 (如圖2) ==>










Operations on the Ubuntu system[]

First, install the Samba components below on the Ubuntu 11.04 system:

$ sudo apt-get install smbfs
$ sudo apt-get install nautilus-share

(The following command lines may not be necessary.)

$ sudo apt-get install samba
$ sudo smbpasswd (set up a samba password for user 'xbmc')

References:

XBMC[]

1. 進 Videos / Files 選擇 Add Videos...
2. 然後在 "Add Video source" 對話窗的 path box 上按 Enter,直接輸入路徑,例如:

smb://xbmc@hiwin7/win7_public/videos

(只輸入 smb://hiwin7/win7_public/videos 也可以。)

或者按 Browse button,然後在右邊的 source panel 中選擇 "Windows network (SMB)"
然後再以 source panel 的 GUI 操作。


Remote Access to XBMC from Windows 7[]

測試環境:同上
And

  • UPnP of the Windows 7 system has been enabled.
  • XBMC is running on a Ubuntu 11.04 platform, which is in the same LAN of the Win7 PC.
Xbmc upnp

XBMC Settings - the Network/Services page

  • Configure UPnP on XBMC Settings/Network/Services page (參考右圖)







Fig1 Win7 network devices

圖1

然後在 Windows 7 的「檔案總管」/「網路」的「媒體裝置」list 中會出現 XBMC 裝置。(見圖1)





Fig2 Win7 AWX

圖2

Double-click on XBMC device icon to open the XBMC media page with a web browser, and select Files on the Video page to see the video archive in the remote XBMC device. (見圖2)





Fig3 AWX video files

圖3

在 XBMC device 的 video files 選一個播放,video 就會出現在 XBMC 的螢幕上。 (見圖3)






Other Activities[]

Thursday:

  • Just for testing - Registered a domain at dnsdynamic.org with my Sony VAIO laptop