mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Add Plex XML shortcuts for metadata and server resources
This commit is contained in:
parent
917d19db85
commit
c85af521fe
5 changed files with 30 additions and 15 deletions
|
@ -646,7 +646,7 @@
|
|||
<div role="tabpanel" class="tab-pane" id="tabs-plex_media_server">
|
||||
|
||||
<div class="padded-header">
|
||||
<h3>Plex Media Server <small style="color: #fff;">Version <span id="pms_version">${config['pms_version']}</span></small></h3>
|
||||
<h3 id="resources-xml">Plex Media Server <small style="color: #fff;">Version <span id="pms_version">${config['pms_version']}</span></small></h3>
|
||||
</div>
|
||||
|
||||
<div class="form-group has-feedback" id="pms_ip_group">
|
||||
|
@ -2753,6 +2753,12 @@ $(document).ready(function() {
|
|||
body_container.animate({scrollTop: scroll_pos});
|
||||
}
|
||||
});
|
||||
|
||||
$('#resources-xml').on('tripleclick', function () {
|
||||
$.getJSON('return_plex_xml_url', {endpoint: '/api/resources', plextv: true, includeHttps: 1}, function(xml_url) {
|
||||
window.open(xml_url, '_blank');
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</%def>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue