PhotoSync For Windows Home Server – Beta1

Once again, I had an itch that only some software could solve – what I wanted didn’t exist, so I wrote it…

Since our new arrival, I’ve wanted an easy, reliable and automated way to share photos with friends and family (and anyone else who wants to take a look at the cutest baby ever 🙂 ).

I could have just created a share on my home server and done it through IIS, but I really didn’t want to waste all the bandwidth on my cable modem, so I really needed an external server to host everything.  I usually use Flickr for this, but with all the photos coming in, it was getting hard to upload them all manually.

Since I have started using Windows Home Server (WHS) to store my home media and photos, I thought it would be really nice to have a way to automatically synchronize the photos on WHS “Photos” folder to my Flickr account. Since WHS is still in beta, there is not a 3rd party application to do this – so I decided to write PhotoSync for WHS (probably also has something to do with my constant pursuit of learning cool new products and their SDKs).

 

Some general features & notes:

  • PhotoSync will monitor your WHS Photos folder (or any sub folder you select) and automatically upload the contents of that folder (and every sub folder) to your Flickr account.
  • Since you get to select the ‘base folder’ you can, for example, create a /Photos/Private and a /Photos/Public (or /Photos/Flickr) folder in WHS and just point PhotoSync to the /Public folder – this makes sure your public photos go to Flicker and the private ones do not.
  • PhotoSync can be configured to automatically upload new photos on any scheduled basis (the minimum right now is every 15 minutes)
  • There is a WHS Console GUI Tab to configure everything, and check upload status information.

 

Installation:

  • Download the msi file (link below)
  • Follow the steps from the WHS help file to install an Add-In: (don’t worry, it looks like a lot of steps, but it is painless)
  • On a home computer, right-click the Windows Home Server task tray icon, and then click Shared Folders.
  • In Shared Folders, double-click the Software folder.
  • Double-click the Add-Ins folder.
  • Copy the .msi file to the Add-ins folder.
  • Close the Add-ins folder.
  • Right-click the Windows Home Server task tray icon, and then click Windows Home Server Console.
  • Type the Windows Home Server password, and then click Next.
  • Click Settings on the console.
  • On Windows Home Server Settings, click Add-ins.
  • Click the Available tab.
  • Click Install to install the Add-in.
  • Click OK on the Installation succeeded dialog box to restart the console.
  • Reconnect to the console. If your new Add-in includes a console tab, the new tab now appears on the console.
    • Once you have PhotoSync installed, you can go to the WHS Console Tab to configure it
    • The first time you run PhotoSync, you will need to configure it to “link” to your existing Flickr account:
      • You will be prompted with a brief instruction screen, read and hit continue
      • PhotoSync will launch the web browser to the Flickr Login screen, login as normal
      • You will be asked if it is ok to Link WHSApps PhotoSync to your account you need to verify this, and give it write permissions
      • Once you’ve done this Flickr will tell you it is Linked, and prompt you to close your browser.
      • Once you close the browser, you will see a button in PhotoSync that says “I have completed linking Flickr“, click it and you will see a message telling you it linked ok and is ready to go.
      • Note: Due to the strict security on IE7/Windows 2003 server, you may see a few alerts during the web browser step.  This is normal, just read them and respond accordingly

    Using PhotoSync:

    • Right now there are only two configurable options in PhotoSync (don’t worry, I’m already working on additional features!)
      • PhotoSync folder – this is the root folder PhotoSync will upload photos from.  It will include all sub-folders too
      • Sync Schedule – this allows you to configure how often PhotoSync will check for and upload new photos. If you enter anything here under 15 minutes, it will default to 15 minutes.
    • There is also some status information that tells how many photos total are in sync, last sync time, and how many photos were uploaded in the last sync.
    • That’s all there is too it – nice, simple, and reliable.  Simply copy your photos to your configured WHS folder, and PhotoSync does the rest!

     

    As I mentioned, I have several additional features planned for the app, but please share any suggestions or comments you have in the comments here, or send me a message.  I hope you enjoy PhotoSync!

    (Note: All the normal beta disclaimers apply here.  It seems stable and works great for me, but it could catch your PC on fire, or make your dog bark all night :-).  If you find any problems, please let me know)

    Download PhotoSync for WHS here (1.5 MB)

Shell Shortcuts in Windows Vista

This is more a personal reference than anything, but hopefully someone else will find it useful too.  In Vista you can navigate to many of the system folders, such as the “Send To” folder by typing shell:<Command Name> (eg shell:sendto) in the Start/Search(aka Run) text box (See screen shot).  This sure beats typing C:Users[UserID]AppDataRoamingMicrosoftWindowsSendTo to do the same thing.

This tip works for many of the folders and other system screens / apps, the complete list is below.  Thanks to MVP Keith Miller for posting this in the vista.general newsgroup. UPDATE: Many of these also work fine under Windows XP.

AddNewProgramsFolder
Administrative Tools
AppData
AppUpdatesFolder
Cache
CD Burning
ChangeRemoveProgramsFolder
Common Administrative Tools
Common AppData
Common Desktop
Common Documents
Common Programs
Common Start Menu
Common Startup
Common Templates
CommonDownloads
CommonMusic
CommonPictures
CommonVideo
ConflictFolder
ConnectionsFolder
Contacts
ControlPanelFolder
Cookies
CredentialManager
CryptoKeys
CSCFolder
Default Gadgets
Desktop
Downloads
DpapiKeys
Favorites
Fonts
Gadgets
Games
GameTasks
History
InternetFolder
Links
Local AppData
LocalAppDataLow
LocalizedResourcesDir
MAPIFolder
My Music
My Pictures
My Video
MyComputerFolder
NetHood
NetworkPlacesFolder
OEM Links
Original Images
Personal
PhotoAlbums
Playlists
PrintersFolder
PrintHood
Profile
ProgramFiles
ProgramFilesCommon
ProgramFilesCommonX86
ProgramFilesX86
Programs
Public
PublicGameTasks
Quick Launch
Recent
RecycleBinFolder
ResourceDir
SampleMusic
SamplePictures
SamplePlaylists
SampleVideos
SavedGames
Searches
SendTo
Start Menu
Startup
SyncCenterFolder
SyncResultsFolder
SyncSetupFolder
System
SystemCertificates
SystemX86
Templates
TreePropertiesFolder
UserProfiles
UsersFilesFolder
Windows

Windows Vista Hates Networks?

I received a Roku media player for Christmas, and wanted to hook it up to stream some holiday music right away.  Pretty simple install on the hardware side, plug it into AC, plug in a pair of speakers, and configure it for WiFi (or hardwire to the LAN) – total time <5 minutes – very nice.

I then remote desktoped into my main home PC, a Vista Ultimate box that lives upstairs in my office, to configure Media Player 11 for streaming to the Roku.  I was pleasantly surprised to see that Vista had already found the Roku device on the network, and was prompting me as to whether I would like to share media with it.  Wow – too easy – technology never works this well the first time!  I told Vista to stream to the Roku, and figured the hard part was over.  I then launched Media Player 11 to add songs and create playlists ( I generally use Media Monkey for managing and playing audio – I’ve had bad experiences in the past with Win Media Player screwing up my MP3 Tags).

I pointed Media Player to my NAS device, and told it to add all the tracks to the library.  With over 100Gigs of music and 30,000 tracks, I figured it would take a while so I’d check back later.  A few hours later all the songs were loaded, and seemed to play just fine in Media Player, so I created a few playlists.

I then scrolled through the menus on my Roku, and was easily able to locate the new playlists, but they all showed ‘0 Tracks’ – not good.  I then tried to scroll through artists, and saw that only the sample songs shipping with Vista showed up.  Weird.  Several reboots and Google searched later still no joy.  I’d now been ignoring holiday duties for at least an hour messing with this, so I gave myself 15 more minutes to find a solution.   Luckily I finally came across a forum thread (somewhere) that noted Vista would not stream music from network drives or shares – a few minutes later I found a registry hack to fix this (hope this helps save others the time I wasted):

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences\HME
right click HME and add new DWORD value
name it EnableRemoteContentSharing
make the Hex value a 1

What a mess.  I can certainly understand that this was done for security, DRM, or some other reason in Vista / Media Player 11, but not letting the user know this when they add network shares to the song library is just horrible.  Something as simple as “check out KB article 1234” would have been fine, but leaving users to search for a needle in a haystack to fix this deficiency is no good.

If Microsoft wants to own the ‘connected home’ and living room media center market like they do the desktop, they need to do some work in the UX (User Experience) department.  Some of my (non-techie) friends and guests ask “How would us normal people have ever figure that out?”   And they were right, but I guess most ‘normal’ folks wouldn’t have a 1TB NAS device in their home…yet 🙂

Oh, and yes, once I fixed Vista, the Roku Rocks!!

Installing Vista RC2 on a Virtual Machine

Vista RC2 (build 5744) poked it’s head out yesterday on the Microsoft Beta sites.  This build seems easier to install on a VMWare virtual machine than previous builds, and performance is very usable.

The only gotcha I had, and why I’m posting this, is that if I ran the install from a VMWare or Daemon Tools ISO CD emulator, the install needed a driver, which, of course, I did not have.  After messing with this for 20 minutes, I decided to just burn it to a DVD and try installing from that.  Worked like a charm.  There may be some other ISO mounting tools out there that will work for this, but burning it to a DVD was the quickest solution for me.

Now off to try it on a M400 Tablet and the Q1 UMPC!