mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-23 03:23:05 +00:00
#507 WIP
This commit is contained in:
parent
bc091749ff
commit
e4a54c6809
1 changed files with 3 additions and 0 deletions
|
@ -114,6 +114,7 @@
|
|||
selLibrarySize: null,
|
||||
LibraryGroupDisabled: true,
|
||||
tableConfig: [
|
||||
{ prop: 'mediaKey', isHidden: true },
|
||||
{ prop: 'Key', isHidden: true },
|
||||
{ prop: 'Title',searchable: true,sortable: true, width: 80 },
|
||||
{ prop: 'Released',searchable: true,sortable: true, width: 30 },
|
||||
|
@ -193,6 +194,7 @@
|
|||
}
|
||||
},
|
||||
async getMediaInfo(key){
|
||||
console.log('Ged 44-3', JSON.stringify(this.MItableData))
|
||||
const url = `${this.srvBaseAddress}/library/metadata/${key}?${this.uriExclude}`;
|
||||
let header = wtutils.PMSHeader;
|
||||
header['X-Plex-Token'] = this.srvToken;
|
||||
|
@ -208,6 +210,7 @@
|
|||
var path = require('path');
|
||||
for (var idx in parts){
|
||||
let entry = {};
|
||||
entry['mediaKey'] = key;
|
||||
for (var x in this.selLibrary['location']){
|
||||
if ( parts[idx]['file'].startsWith( this.selLibrary['location'][x]['path'] ) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue