Library object has media instead of movies

Make the renamer work again by scanning the media instead of non-existent movies attribute in the library object (fixing error: AttributeError: 'Library' object has no attribute 'movies')
Merge pull request #2652 from nikagl/patch-1

Library object has media instead of movies