Insensitive-case rooms
This commit is contained in:
parent
aa5b3e6fc8
commit
179c5ca2e8
|
@ -12,7 +12,7 @@ module.exports = function PlexAuth(){
|
||||||
url: url,
|
url: url,
|
||||||
time: true,
|
time: true,
|
||||||
headers: {
|
headers: {
|
||||||
'X-Plex-Client-Identifier': 'PlexTogetherWeb',
|
'X-Plex-Client-Identifier': 'PlexTogether',
|
||||||
'Accept': 'application/json',
|
'Accept': 'application/json',
|
||||||
'X-Plex-Token': accessToken
|
'X-Plex-Token': accessToken
|
||||||
},
|
},
|
||||||
|
@ -34,8 +34,8 @@ module.exports = function PlexAuth(){
|
||||||
url: url,
|
url: url,
|
||||||
time: true,
|
time: true,
|
||||||
headers: {
|
headers: {
|
||||||
'X-Plex-Device-Name': 'PlexTogetherWeb',
|
'X-Plex-Device-Name': 'PlexTogether',
|
||||||
'X-Plex-Client-Identifier': 'PlexTogetherWeb',
|
'X-Plex-Client-Identifier': 'PlexTogether',
|
||||||
'X-Plex-Provides': 'controller',
|
'X-Plex-Provides': 'controller',
|
||||||
'X-Plex-Target-Client-Identifier': clientIdentifier
|
'X-Plex-Target-Client-Identifier': clientIdentifier
|
||||||
},
|
},
|
||||||
|
|
|
@ -161,7 +161,7 @@ export default {
|
||||||
}
|
}
|
||||||
let temporaryObj = {
|
let temporaryObj = {
|
||||||
user:this.plex.user,
|
user:this.plex.user,
|
||||||
roomName:this.room,
|
roomName:this.room.toLowerCase(),
|
||||||
password:this.password,
|
password:this.password,
|
||||||
callback:function(result){
|
callback:function(result){
|
||||||
if (result){
|
if (result){
|
||||||
|
|
Loading…
Reference in New Issue