Fix: playMedia endpoint for some Plex server versions

pull/18/head
Juraj Nyíri 3 years ago
parent 4c94107141
commit a516b100ab

@ -18958,7 +18958,7 @@ class PlayController {
url = plex.authorizeURL(url); url = plex.authorizeURL(url);
try { try {
const plexResponse = await axios({ const plexResponse = await axios({
method: 'post', method: 'get',
url, url,
headers: { headers: {
'X-Plex-Target-Client-Identifier': machineID, 'X-Plex-Target-Client-Identifier': machineID,

@ -168,7 +168,7 @@ class PlayController {
try { try {
const plexResponse = await axios({ const plexResponse = await axios({
method: 'post', method: 'get',
url, url,
headers: { headers: {
'X-Plex-Target-Client-Identifier': machineID, 'X-Plex-Target-Client-Identifier': machineID,

Loading…
Cancel
Save