Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Use 'Now Playing' ans SCP (SFTP)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use 'Now Playing' ans SCP (SFTP)
Authored by: thorsten.b on Nov 29, '04 02:04:50PM
Here is a way to using NowPlaying with a server that requires SFTP. The idea is to use scp to transfer the picture, which NowPlaying stores in the local /tmp directory, to the web server.

1. set up your machine to use ssh and scp without password. A how-to can be found here:"

2. Use Cronnix to run the following scp every minute or so:
 scp /tmp/nowPlaying.png userid@webserver:folder/iTunes.png  
3. Include iTunes.png in your html code.

Hope this helps.

[ Reply to This | # ]