diff --git a/syncplay/client.py b/syncplay/client.py index 99045db..e8cb8b5 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -1929,7 +1929,10 @@ class FileSwitchManager(object): return False def notifyUserIfFileNotInMediaDirectory(self, filenameToFind, path): - path = path.decode('utf-8') + try: + path = path.decode('utf-8') + except UnicodeEncodeError: + pass directoryToFind = os.path.dirname(path) if directoryToFind in self.mediaDirectoriesNotFound: return