mediafilespreviewer: Remove always-true condition
pipeline: Raise an exception when setting the timeline fails
pipeline: Simplify logging of obtained duration value
mediafilespreviewer: Consistent imports