nathk
Posts: 1
Joined: Wed Feb 06, 2013 12:09 am

JPG Slideshow from Network Share

Wed Feb 06, 2013 11:36 am

Hi All,

I need some advise with regards to displaying a series of JPG images on a screen using Raspberry Pi.

Ideally, it would be great if the Raspberry Pi could display images which are stored in a folder on a Windows PC as a network shared folder. I want to be able to update the images in this folder as needed and not have to do anything on the Raspberry Pi to update the screens.

Would this be possible? And how would it be best achieved?

Thankful for any assistance!

ceteras
Posts: 239
Joined: Fri Jan 27, 2012 1:42 pm
Location: Romania

Re: JPG Slideshow from Network Share

Fri Feb 08, 2013 9:36 am

I didn't try it, but I think Raspmc has a picture slideshow feature, it sure shoud work from a Windows shared folder.

User avatar
tedhale
Posts: 114
Joined: Thu Sep 20, 2012 4:52 pm
Location: Williamsburg, VA, USA
Contact: Website

Re: JPG Slideshow from Network Share

Sat Feb 09, 2013 9:27 am

I have just posted instructions for creating a digital picture frame on my blog.
http://raspberrypihobbyist.blogspot.com ... frame.html

But to answer your immediate question - samba is the package that you need. It provides support for MS Windows networking.
It is typically used to share folders on a Linux system but is also capable of mounting network shares so that they appear as if they are local.

sudo apt-get install samba

then

sudo mkdir /mnt/SOMETHING
sudo smbmount //PCNAME/SHAREDFOLDERNAME /mnt/SOMETHING -o user=YOURUSERNAME

Obviously, you need to replace the items in uppercase with the appropriate info for your setup.
Sometimes you have to specify the IP address instead of PCNAME.
Sometimes you have to specify PCNAME/YOURUSERNAME instead of just USERNAME
You will be prompted for a password.
You can add -o password=YOURPASSWORD to the command line to prevent this.
You can add this command to the end of /etc//rc.local so that it is executed on boot.
Or, an appropriately formatted line can be added to /etc/fstab
- Ted B. Hale
http://raspberrypihobbyist.blogspot.com

Sterlingp
Posts: 5
Joined: Fri Jan 25, 2013 11:14 pm

Re: JPG Slideshow from Network Share

Thu Feb 14, 2013 10:37 pm

Feh and samba worked for me. I did exactly what you want to do.

Return to “Other projects”