In some cases, filenames contain hyphen characters in place of spaces. Plex reads the title from the filename, and your code removes them (line 28), so ADE won't find any result. Is there any reason to remove the hyphen characters? I think it would be better to replace them with spaces.
In some cases, filenames contain hyphen characters in place of spaces. Plex reads the title from the filename, and your code removes them (line 28), so ADE won't find any result. Is there any reason to remove the hyphen characters? I think it would be better to replace them with spaces.