add slash to folder path to prevent some fail
Replaced code with proper functions for log and notification messages
if the download and renaming fails now the service stops working and doesn't continue
fixed some possible problem with url quotes
added check to avoid running when there are no video playing
updated thetvdb ids