Update library.py

if video_node is not defined an exception is thrown. 
This happens on a fresh install or when a video directory has not yet been added.
I've added a check + a message indication to prevent the exception and notify the user.
Merge pull request #5 from dortzur/patch-1

Update library.py