Plex Media Server tracker using postgresql/sinatra