mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 13:11:15 -07:00
Add intermediary login page to view Plex XML
This commit is contained in:
parent
86cf872595
commit
66e6b9499a
5 changed files with 72 additions and 23 deletions
|
@ -555,12 +555,9 @@ $.fn.slideToggleBool = function(bool, options) {
|
|||
};
|
||||
|
||||
function openPlexXML(endpoint, plextv, params) {
|
||||
var data = $.extend({endpoint: endpoint, plextv: plextv}, params);
|
||||
$.getJSON('return_plex_xml_url', data, function(xml_url) {
|
||||
if (xml_url) {
|
||||
window.open(xml_url, '_blank');
|
||||
}
|
||||
});
|
||||
var data = $.extend({endpoint: endpoint, plextv: plextv || false}, params);
|
||||
var query = new URLSearchParams(data)
|
||||
window.open('open_plex_xml?' + query.toString(), '_blank');
|
||||
}
|
||||
|
||||
function PopupCenter(url, title, w, h) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue