Fixed episode query. It was returning all media files due to a "LIKE" instead of "=" in query.