
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
Command-line tool for syncing folder-based playlists in Plex
npm install -g plexlists
plexlists --help
git clone https://github.com/dhowe/plexlists.git
cd plexlists
npm install
npm link
plexlists --help
# 1. Configure
plexlists config set \
--host=192.168.1.100 \
--port=32400 \
--token=YOUR_PLEX_TOKEN \
--library=Music
# 2. Test connection
plexlists test
# 3. Sync playlists
plexlists sync ~/Music/Playlists/*
{
"host": "192.168.1.100",
"port": 32400,
"token": "YOUR_PLEX_TOKEN",
"library": "Music",
"timeout": 60000
}
Fields:
host (required) - Plex server hostname or IPport (optional) - Server port (default: 32400)token (required) - Plex authentication token (how to find)library (optional) - Default library name (e.g., "Music", "Movies")timeout (optional) - Request timeout in ms (default: 60000)--config flag - Explicit pathPLEXLISTS_CONFIG env var./.plexlists-conf.json - Project-specific~/.plexlists-conf.json - User defaultSee examples/ for sample configs and docs/CONFIG_PRIORITY.md for details.
# Sync all playlists (library from config)
plexlists sync ~/Music/Playlists/*
# Override library
plexlists sync ~/Movies/Playlists/* --library=Movies
# Dry run (preview changes)
plexlists sync ~/Music/Playlists/* --dry-run
# Verbose logging
plexlists sync ~/Music/Playlists/* --verbose
# Show config
plexlists config show
# Set config
plexlists config set --host=X --token=Y --library=Music
# Show config path
plexlists config path
plexlists test
crontab -e
Add:
0 2 * * * cd /home/user/music-project && plexlists sync Playlists/* >> /var/log/plexlists.log 2>&1
Create /etc/systemd/system/plexlists.service:
[Unit]
Description=Sync Plex playlists
[Service]
Type=oneshot
User=your-user
WorkingDirectory=/home/your-user/music-project
ExecStart=/usr/local/bin/plexlists sync Playlists/*
Create /etc/systemd/system/plexlists.timer:
[Unit]
Description=Sync Plex playlists daily
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target
Enable:
sudo systemctl enable --now plexlists.timer
~/Music/
├── Library/ # Your actual music files
│ ├── Artist 1/
│ │ ├── track1.mp3
│ │ └── track2.mp3
│ └── Artist 2/
│ └── track3.mp3
│
└── Playlists/ # Playlist folders (symlinks)
├── Favorites/
│ ├── track1.mp3 -> ~/Music/Library/Artist 1/track1.mp3
│ └── track3.mp3 -> ~/Music/Library/Artist 2/track3.mp3
│
├── Workout/
│ └── track2.mp3 -> ~/Music/Library/Artist 1/track2.mp3
│
└── Chill/
├── track1.mp3 -> ~/Music/Library/Artist 1/track1.mp3
└── track2.mp3 -> ~/Music/Library/Artist 1/track2.mp3
Sync:
cd ~/Music
plexlists sync Playlists/*
Result in Plex:
plexlists config set --token=YOUR_TOKEN
plexlists config showplexlists testls -la folder/--verboseplexlists config path # Show active config file
plexlists config show # Show config contents
Based on code by Zack Dawood (https://github.com/zackria)
MIT - See LICENSE
Issues and pull requests welcome!
FAQs
CLI for creating and syncing folder-based playlists in Plex
We found that plexlists demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.