Encode search query before searching plex.

This commit is contained in:
2020-01-16 21:25:13 +01:00
parent b23566509f
commit bc6fe3ed48

View File

@@ -67,6 +67,7 @@ class Plex {
}
search(query) {
query = encodeURIComponent(query)
const url = `http://${this.plexIP}:${this.plexPort}/hubs/search?query=${query}`
const options = {
timeout: 2000,