dbid recovery when playing media

Added a dbid recovery logic to allow auto watched status change and meta data sync when playing media from random, recent or recommended episodes/movies etc... as well as the web interface.