Merge pull request #354 from WebTools-NG/Dev

Fixed #353
This commit is contained in:
Tommy Mikkelsen 2021-05-01 12:37:31 +02:00 committed by GitHub
commit a01fb438b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 10 deletions

View file

@ -1,5 +1,9 @@
# ![Logo](https://github.com/WebTools-NG/WebTools-NG/blob/master/src/assets/WebTools-48x48.png) WebTools-ng Change log # ![Logo](https://github.com/WebTools-NG/WebTools-NG/blob/master/src/assets/WebTools-48x48.png) WebTools-ng Change log
## V0.3.6
* [#353 Levels can't be selected](https://github.com/WebTools-NG/WebTools-NG/issues/353)
## V0.3.5 ## V0.3.5
* [#339 IMDB ID not available for movies](https://github.com/WebTools-NG/WebTools-NG/issues/339) * [#339 IMDB ID not available for movies](https://github.com/WebTools-NG/WebTools-NG/issues/339)

View file

@ -1,7 +1,7 @@
{ {
"name": "webtools-ng", "name": "webtools-ng",
"productName": "WebTools-NG", "productName": "WebTools-NG",
"version": "0.3.5", "version": "0.3.6",
"description": "WebTools Next Generation 4 Plex", "description": "WebTools Next Generation 4 Plex",
"author": "dane22 & CPSO", "author": "dane22 & CPSO",
"license": "MPL-2.0", "license": "MPL-2.0",

View file

@ -282,14 +282,10 @@
log.verbose(`Getting levels for: ${this.selExpTypeSec}`); log.verbose(`Getting levels for: ${this.selExpTypeSec}`);
this.exportLevels = []; this.exportLevels = [];
let etLevel, etCustomLevel let etLevel, etCustomLevel
if (this.selExpTypeMain == et.ETmediaType.Playlist){
const pLevel = 'playlist-' + et.RevETmediaType[this.selExpTypeSec].toLowerCase(); const etLevelName = et.getLibTypeName(this.selExpTypeSec);
etLevel = et.getLevels(pLevel); etLevel = et.getLevels(etLevelName);
etCustomLevel = et.getCustomLevels(pLevel); etCustomLevel = et.getCustomLevels(this.selExpTypeSec);
}else{
etLevel = et.getLevels(et.RevETmediaType[this.selExpTypeSec].toLowerCase());
etCustomLevel = et.getCustomLevels(et.RevETmediaType[this.selExpTypeSec].toLowerCase());
}
const options = [] const options = []
const item = {} const item = {}
let custLabel = {} let custLabel = {}

View file

@ -300,7 +300,6 @@ const et = new class ET {
} }
getLevelDisplayName(level, libType){ getLevelDisplayName(level, libType){
console.log('Ged3', level, ' - ', libType)
// return displayname for the buildin levels // return displayname for the buildin levels
if (libType == 'playlist') if (libType == 'playlist')
{ {