fix mime type on direct play
finish restoring profiles
Merge pull request #1 from MediaBrowser/master

Sync with master