PDA

View Full Version : SMB Media Sources


joona
October 3rd, 2008, 10:15 AM
Hi, I'm trying to use smb-shared folders from my Mac (10.5.5). No matter what settings I use the sources always come up as "Not Connected".

I've added the sources in Boxee (v3383) in this style: smb://192.168.1.2/TV/ which as far as I know is the right syntax and these shares exist on that machine. I've added the default username and password in the Network settings, ticked the "Mount SMB shares" option and entered the 192.168.1.2 as the WINS-Server ip (the shares show up as Not Connected even if this is left empty).

At some point I got the sources connected for some unknown reason but as I was watching a video Boxee crashed with a error id 4, and the sources haven't connected after that.

What to do, please, any suggestions?

candeo
October 3rd, 2008, 03:39 PM
I am having the same issue. Been trying to connect to my Macbook for sources since yesterday with no luck.
Please let me know if you find the solution.

crp724
October 3rd, 2008, 05:02 PM
I have had success with samba after some struggles. I can now browse and watch movies shared from an ubuntu machine via samba on boxee running on my appletv

Mounting samba shares on the appletv via the command line and then entering them as a local source in Boxee works very well.

First install NitoTV (http://nitosoft.com/nitoTVInstaller_tt.zip)
Download NitoTV to your local machine, unzip then transfer the install script and application over to your AppleTV. The frontrow user home directory is fine. Execute the install script via ssh

sudo sh ./installme

Create a documents folder in the frontrow user
mkdir ~/Documents
Copy a 10.4.9 or 10.4.10 combo update to this folder (http://www.apple.com/support/downloads/macosx1049comboupdateintel.html)

Now from your appletv run the smartinstaller script. This will add mount_smbfs to your appletv. First go to the NitoTV menu item, then settings then smart installer.

create mountpoints on your appletv for your samba shares
mkdir ~/Movies (or whatever)

now mount your samba shares via ssh (modify for your own use)
mount_smbfs "//username:password@ip of server/directory" ~/mountpoint

finally start boxee and add a local source for the samba server your just mounted at your local mountpoint

TODO:
The samba shares will need to be mounted via ssh every time the appletv is restarted. Need to figure out a way to mount on boot.

paul996
October 3rd, 2008, 05:22 PM
Right here is where you went astray. Don't do these parts via the command line, instead go into NitoTV under Networks and specify the same info there.

Then the mounts are re-established when you reboot.

<---has been working for me this way for 5 months.


now mount your samba shares via ssh (modify for your own use)
mount_smbfs "//username:password@ip of server/directory" ~/mountpoint

finally start boxee and add a local source for the samba server your just mounted at your local mountpoint

TODO:
The samba shares will need to be mounted via ssh every time the appletv is restarted. Need to figure out a way to mount on boot.

joona
October 4th, 2008, 05:58 AM
Thanks to crp724 and paul996 the sources are now in use in Boxee. I'll collect the instructions from the guys and myself here for future generations. Hopefully in the future the process will become easier as Boxee matures.

1. First install NitoTV (http://nitosoft.com/nitoTVInstaller_tt.zip)
Download NitoTV to your local machine, unzip then transfer the install script and application over to your AppleTV. The frontrow user home directory is fine. Execute the install script via ssh

sudo sh ./installme

(for more instructions on using ssh to access AppleTV http://www.appletvhacks.net/2007/03/24/enable-ssh-and-afp-on-your-apple-tv/
Though if you have patchsticked your atv you just need the info on accessing it and not installing ssh)

2. Create a documents folder in the frontrow user
mkdir ~/Documents
Copy a 10.4.9 or 10.4.10 combo update to this folder (http://www.apple.com/support/downloa...dateintel.html)

3. Now from your appletv run the smartinstaller script. This will add mount_smbfs to your appletv. First go to the NitoTV menu item, then settings then smart installer.

4. Enter the mount information in the NitoTV Network-section as a custom mount. (More info http://wiki.awkwardtv.org/wiki/NitoTV#Custom_Mounts) Make sure to check Automounting if you want the mounts to be in use always.

5. Finally start boxee and add a local source for the samba server your just mounted at your local mountpoint

6. Victory! :)

unsaltedrhino
October 4th, 2008, 10:07 AM
Fallen at the first hurdle! How do you transfer files across to the ATV? Tried starting AFP using the following command but it wasn't found;

sudo /usr/sbin/AppleFileServer

Nessyuk
October 4th, 2008, 10:10 AM
Use cyberduck (free) - choose the SFTP when adding as a bookmark....

unsaltedrhino
October 4th, 2008, 10:13 AM
Awesome, thanks!

dotdot1975
October 4th, 2008, 03:11 PM
2. Create a documents folder in the frontrow user
mkdir ~/Documents
Copy a 10.4.9 or 10.4.10 combo update to this folder (http://www.apple.com/support/downloa...dateintel.html)

3. Now from your appletv run the smartinstaller script. This will add mount_smbfs to your appletv. First go to the NitoTV menu item, then settings then smart installer.

hi Guys, I've just downloaded the 10.4.10 combo update file and put it in the APLTV in the right directory. but where do i go now?
how do I run the smartinstaller script? where would it be found?
Thanks

Dotan

joona
October 9th, 2008, 11:40 AM
If you installed nitotv in the beginning and restarted you atv, you should see nitotv in the menu. That's where the smartinstaller is located.