ZeroQI / YouTube-Agent.bundle

Plex Metadata Agent for Movies and TV Series libraries
452 stars 43 forks source link

Fix URL Encoded path being passed during search #37

Closed Mikrz closed 4 years ago

Mikrz commented 4 years ago

At some point the filename was being URL escaped which caused the regex looking for an ID to fail. This was causing some super weird behavior, such as episode titles having the first "a" in them replaced with a space, and all other metadata failing to be found. Adding this one line fixes that entirely, though it may cause hiccups if a file for whatever reason HAS url escaped characters in the name on purpose.

ZeroQI commented 4 years ago

Thanks for spotting