Hotfix for owncloud/media#30, is only a patch and does not fix the sole ...

...issue. This does not break anything, but it adds functionality that didn't exist at all prior.

@DeepDiver1975