
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@devbab/plex-tags
Advanced tools
Plex is an amazing software to organize, stream, and share your personal multimedia collections, including photos.
Plex however lacks two capabilities:
This package allows you to scan your Plex photo database, so as to extract the FACE tags and the GPS location.
1/ Windows only
This package has been tested on Win10 only. Macos, Linux remains to be checked !
2/ The various scripts interact directly with Plex database.
Make sure you have done a backup of your database before using this script.
In case of any issues, restore your database.
It is certainly a good idea to stop your Plex server while performing any actions.
To locate the database file, run node plex-tools.js -h. The last line will tell you where the database is.
1/ it is assumed that node.js >16.0 and npm are already installed.
Install the package as follow:
npm install plex-tags
1/ Start by doing a BACKUP of your database. Then double check that your backup is successful.
2/ Register for a free account at HERE Maps and create a API_KEY.
3/ put this key in a .env file, see env-example for the format.
4/ Patch your database to add a few useful fields for this tool.
node plex-tools.js --patch
5/ Scan your database of photo.
node plex-scan.js --scan
Have a coffee while it's running... Once finished, if some of the photos do have a GPS location, the script wil indicate:
XX coords sent for reverse geocoding
To check status: node plex-geo.js --check 2hToOzrzZmuu9UXyIJUDWBElXIOUTUVH
Wait a few seconds/minutes and run the command that was indicated
node plex-geo.js --check 2hToOzrzZmuu9UXyIJUDWBElXIOUTUVH
If the database has tens of thousands of photo, you may have to repeat step 5.
6/ Go to Plex and enjoy your photos !
you may list faces, places, etc using plex-tools.js
See all options by running:
node plex-tools.js --help
sometimes, thumbnails are missing for some photos.
run the following command to regenerate them:
node plex-thumb.js
© 2022 devbab
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.