After restoring my WHS, I decided to not outfit it with all the software and whatnot that I had running on it last time. I put what I needed to be on there and then stopped. Sure, it still has more than what a Windows Home Server is probably intended to have, but I also need it to have a little more functionality than file storage point.
Anyway, I thought I was pretty well done, until last night. My wife and I sat down to watch True Blood and I noticed that the episode we watched the night before did not have a Watched indicator in Media Browser. I make use of the shared playstate/display preferences feature so that my living room and bedroom HTPCs stay synced with what we watch. Now it was no longer working after working flawlessly for months. However, I knew that I had recreated the user account on the WHS and shared out the directory I was using (it was still there due to the restore) with proper permissions. I could browse to the share and even create new files right where the hashes were. What’s going on?
The first thing I did was enable trace logging in Media Browser. I then fired up Media Center, started Media Browser and browsed directly to my True Blood series. I set a couple of episodes to “watched” that should be and were not, closed out and then browsed back to them – no dice, as expected at this point. I checked my log with Notepad – searching for anything related to “True Blood” and sure enough, I found references to denied access to the hash file for playstate.
So, I have full read/write to my UserSettingsPath directory, but the files themselves are read only. Good thing I’m a systems administrator in Clark Kent mode :)
Right click on the shared directory and choose Properties, go to the Security tab and if the user account accessing the share is not there click Add to add them (this user account must exist on your server). Next, click on the user account in the list and make sure Full Control is checked, for completeness and click the Advanced button. On the Permissions tab locate Replace permission entries on all child objects with entries show here that apply to child objects and place a check in the box beside it. Double check that the user account needing access in the window above is set for Full Control and that it applies to This folder, subfolders and files. Click Apply and if you have a large collection, you will have a lot of hash files in the subdirectores, so it may take a few minutes to update the security info.
After you’re done, it would be a good idea to reboot your HTPC, but once it’s back up, your watched status will play all nice again! Chances are, you will never run into this issue, but who knows? If you do, this is the fix for you.