FIX: duration = -1 if not available

Hopefully all necessary places are now changed.