diff --git a/README.md b/README.md index 4d698ee..f4baf20 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,15 @@ [![CodeQL](https://github.com/WebTools-NG/WebTools-NG/workflows/CodeQL/badge.svg)](https://github.com/WebTools-NG/WebTools-NG/actions?query=workflow%3ACodeQL) [![Build/release](https://github.com/WebTools-NG/WebTools-NG/actions/workflows/release.yml/badge.svg)](https://github.com/WebTools-NG/WebTools-NG/actions/workflows/release.yml) -## Please see the [Wiki](https://github.com/WebTools-NG/WebTools-NG/wiki) for futher information. +### WebTools-NG is designed to help users of Plex Media Server, maintain their server/s and media. The software is free for anyone to download and use. + +## For installation and usage instructions, please see the WebTools-NG [Wiki](https://github.com/WebTools-NG/WebTools-NG/wiki). -### Special thanks goes to: +### Special thanks go to the following: - Plex + Plex
@@ -28,7 +30,7 @@
- For providing translations for free, since we are Open Source + For providing translations for free, since we are a non profit Open Source project

@@ -37,8 +39,7 @@
- For providing a beautiful API for free, since we are a non profit project - + For providing a beautiful API for free, since we are a non profit Open Source project diff --git a/src/components/modules/PMS/FindMedia/scripts/FindMedia.js b/src/components/modules/PMS/FindMedia/scripts/FindMedia.js index 43a1832..dd440d9 100644 --- a/src/components/modules/PMS/FindMedia/scripts/FindMedia.js +++ b/src/components/modules/PMS/FindMedia/scripts/FindMedia.js @@ -342,11 +342,15 @@ const findMedia = new class FINDMEDIA { var files = JSONPath({path: `$..Part[*].file`, json: metaData[parseInt(idxMetaData)]}); for (var idxFiles in files){ const pmsFile = files[idxFiles].replaceAll('\\', '/'); + log.silly(`[FindMedia.js] (scanPMSLibrary) - pmsFile is: ${pmsFile}`); + log.silly(`[FindMedia.js] (scanPMSLibrary) - pmsFile compare: ${this.validExt.includes(path.extname(pmsFile).toLowerCase().slice(1))}`); if (this.validExt.includes(path.extname(pmsFile).toLowerCase().slice(1))){ const libPathFound = this.getLibPath( files[idxFiles] ); var lookup = pmsFile.slice(libPathFound.length + 1); + log.silly(`[FindMedia.js] (scanPMSLibrary) - lookup is: ${lookup}`); if ( Object.prototype.hasOwnProperty.call(this.filesFound, lookup)) { // We need to remove from detected files, since we found it + log.silly(`[FindMedia.js] (scanPMSLibrary) - Removing ${this.filesFound[lookup]}`); delete this.filesFound[lookup]; } else { @@ -354,6 +358,8 @@ const findMedia = new class FINDMEDIA { let entry = {} entry['title'] = title; entry['file'] = files[idxFiles] + log.silly(`[FindMedia.js] (scanPMSLibrary) - Not found, so only in PMS. We add ${JSON.stringify(entry)}`); + log.silly(`[FindMedia.js] (scanPMSLibrary) - filesFound are: ${JSON.stringify(this.filesFound)}`); this.libFiles.push(entry); } } diff --git a/wiki/icons/Plex_logo_2022-02.png b/wiki/icons/Plex_logo_2022-02.png new file mode 100644 index 0000000..fb2ac96 Binary files /dev/null and b/wiki/icons/Plex_logo_2022-02.png differ diff --git a/wiki/icons/Plex_logo_2022-03.png b/wiki/icons/Plex_logo_2022-03.png new file mode 100644 index 0000000..7793aa6 Binary files /dev/null and b/wiki/icons/Plex_logo_2022-03.png differ diff --git a/wiki/icons/Plex_logo_2022.png b/wiki/icons/Plex_logo_2022.png new file mode 100644 index 0000000..af6562c Binary files /dev/null and b/wiki/icons/Plex_logo_2022.png differ