Fix error on resume not being set when playing from the addon itself.