Fix for Couchpotato
Fix for nZEDb (MySQL version)
Merge pull request #1 from frdmn/master

Fix for Couchpotato and nZEDb