This should fix #19, it's a combination of using separate variables for the file name and the video title within the search functionality and also fixing the regular expressions.
I never had a youtube id with an underscore, and really bad with regex, so good to know
need to check if the following code works
displayname = media.title if movie else media.show
filename = os.path.splitext(os.path.basename(media.items[0].parts[0].file if movie else media.filename))[0]
This should fix #19, it's a combination of using separate variables for the file name and the video title within the search functionality and also fixing the regular expressions.