diff --git a/CHANGELOG.md b/CHANGELOG.md index 2baeabc..f983d02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # ![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 * [#339 IMDB ID not available for movies](https://github.com/WebTools-NG/WebTools-NG/issues/339) diff --git a/package.json b/package.json index ab7eab2..999d85b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "webtools-ng", "productName": "WebTools-NG", - "version": "0.3.5", + "version": "0.3.6", "description": "WebTools Next Generation 4 Plex", "author": "dane22 & CPSO", "license": "MPL-2.0", diff --git a/src/components/modules/ExportTools/Export.vue b/src/components/modules/ExportTools/Export.vue index 997833f..4f9ec17 100644 --- a/src/components/modules/ExportTools/Export.vue +++ b/src/components/modules/ExportTools/Export.vue @@ -282,14 +282,10 @@ log.verbose(`Getting levels for: ${this.selExpTypeSec}`); this.exportLevels = []; let etLevel, etCustomLevel - if (this.selExpTypeMain == et.ETmediaType.Playlist){ - const pLevel = 'playlist-' + et.RevETmediaType[this.selExpTypeSec].toLowerCase(); - etLevel = et.getLevels(pLevel); - etCustomLevel = et.getCustomLevels(pLevel); - }else{ - etLevel = et.getLevels(et.RevETmediaType[this.selExpTypeSec].toLowerCase()); - etCustomLevel = et.getCustomLevels(et.RevETmediaType[this.selExpTypeSec].toLowerCase()); - } + + const etLevelName = et.getLibTypeName(this.selExpTypeSec); + etLevel = et.getLevels(etLevelName); + etCustomLevel = et.getCustomLevels(this.selExpTypeSec); const options = [] const item = {} let custLabel = {} diff --git a/src/components/modules/ExportTools/scripts/et.js b/src/components/modules/ExportTools/scripts/et.js index 26a800e..fbe6320 100644 --- a/src/components/modules/ExportTools/scripts/et.js +++ b/src/components/modules/ExportTools/scripts/et.js @@ -300,7 +300,6 @@ const et = new class ET { } getLevelDisplayName(level, libType){ - console.log('Ged3', level, ' - ', libType) // return displayname for the buildin levels if (libType == 'playlist') {