Api/v2 #111

Merged
KevinMidboe merged 88 commits from api/v2 into master 2019-11-04 17:01:16 +00:00
Showing only changes of commit 77433e8505 - Show all commits

View File

@@ -19,9 +19,10 @@ class PlexRepository {
}
search(query) {
console.log('searching:', query)
const queryUri = encodeURIComponent(query)
const uri = encodeURI(`http://${this.plexIP}:32400/search?query=${queryUri}`)
const options = {
uri: `http://${this.plexIP}:32400/search?query=${query}`,
uri: uri,
headers: {
Accept: 'application/json',
},