fix duration NaN issue when nfo file contains runtime of 0

Sometimes XBMC outputs:
```
<runtime>0</runtime>
```
This seems to be triggering the `NaN` issue as well. By running this block whenever `metadata.duration` is `0` or `None` it fixes the issue for me.