This guide shows you how to set up completely automatic syncing with minimal steps.
After setup, syncing should be as easy as:
- Plug in iPod
- Double-click an icon
- Done!
cd /Users/jarren/Nextcloud/Documents/Resources/Scripts/plex-ipod-playlist-sync
./setup.shEdit config.yaml and fill in these sections:
plex:
url: "http://YOUR_PLEX_SERVER_IP:32400"
use_token: true
token: "YOUR_PLEX_TOKEN"
music_library: "Music"
# Path mapping (what Plex reports vs. where files are on your Mac)
path_mapping:
server_path: "/Volumes/disk01/data/media/music"
local_path: "/Users/jarren/Music/NesbittServer"
# Auto-mount SMB share (the magic!)
smb_mount:
enabled: true
smb_url: "Nesbitt Server._smb._tcp.local/disk01/data/media/music"
mount_point: "/Users/jarren/Music/NesbittServer"
username: "YOUR_SMB_USERNAME"
# Password will be stored securely in macOS Keychain on first run
ipod:
mount_point: "/Volumes/IPOD"
music_dir: "/Volumes/IPOD/Music"
playlist_dir: "/Volumes/IPOD/Playlists"
sync:
mirror_mode: trueImportant notes:
smb_url: Just the server and path part (NOsmb://prefix)mount_point: Where you want it mounted on your Macusername: Your SMB username- Password: You'll enter it once, then it's saved to Keychain
./quick-sync.shWhat will happen:
- Script checks for iPod, mounts it if needed
- Asks for SMB password (first time only)
- Offers to save password to Keychain (say yes!)
- Shows you playlists
- Performs sync
From now on: Password is automatic, no typing needed!
Just run this whenever you want to sync:
./quick-sync.shWhat it does:
- ✅ Auto-detects and mounts iPod
- ✅ Auto-mounts SMB share (using saved password)
- ✅ Shows menu: Dry run / Full sync / Quick sync
- ✅ Offers to eject iPod when done
Create a clickable desktop icon:
- Open Automator
- Create new Application
- Add Run Shell Script action
- Paste this:
#!/bin/bash
cd /Users/jarren/Nextcloud/Documents/Resources/Scripts/plex-ipod-playlist-sync
./quick-sync.sh- Save as
iPod Syncon your Desktop - (Optional) Right-click → Get Info → Change icon
Now: Just double-click the Desktop icon!
- Open Shortcuts app
- Click + to create new shortcut
- Add Run Shell Script action:
cd /Users/jarren/Nextcloud/Documents/Resources/Scripts/plex-ipod-playlist-sync ./quick-sync.sh - Save as "Sync iPod"
- Right-click shortcut → Add to Dock
Now: Click dock icon to sync!
Make it run automatically when you plug in your iPod:
- Download Keyboard Maestro (trial available)
- Create new macro:
- Trigger: Volume Mounted (named "IPOD")
- Action: Execute Shell Script
cd /Users/jarren/Nextcloud/Documents/Resources/Scripts/plex-ipod-playlist-sync ./sync.sh --no-interaction
Now: Plug in iPod → Automatic sync!
- Download Hazel
- Monitor
/Volumes/ - When "IPOD" appears → Run script
Share this with family/friends who want to sync their iPod:
Setup (One Time Only):
- Download the
iPod Syncapp from [shared location] - Double-click it
- Enter your password when asked (only once)
- Click "Save to Keychain"
Every Time You Want to Sync:
- Plug in iPod
- Double-click
iPod Syncapp - Press
2for "Full sync" - Wait for "SYNC COMPLETE"
- Press
yto eject - Done!
Even Simpler (If you set up auto-run):
- Plug in iPod
- Wait 30 seconds
- Unplug iPod
- Done!
Check:
- Can you access the server in Finder? (
⌘K→smb://Nesbitt Server...) - Is the server turned on?
- Is your Mac connected to the same network?
Fix:
- Try mounting manually first to test credentials
- Make sure
smb_urldoesn't havesmb://prefix - Check username/password are correct
Check:
- Is iPod plugged in?
- Does it appear in Finder?
- What's it called? (Should be "IPOD")
Fix:
- If iPod is named differently, update
mount_pointin config.yaml - Try:
diskutil listto see all drives - Manual mount:
diskutil mount /dev/diskXsX
Keychain not saving:
- Allow Keychain access when prompted
- Check System Settings → Privacy → Full Disk Access
- Try re-saving: Delete keychain entry and re-run
When you run ./quick-sync.sh:
1. ✓ Check if iPod connected
↓ If not → Search and mount
2. ✓ Check if SMB share mounted
↓ If not → Mount using saved password
3. ✓ Connect to Plex
4. ✓ Show playlist status
↓ Ask if you want to change
5. ✓ Sync music
↓ Copy new, remove old
6. ✓ Ask if you want to eject
7. ✓ Done!
Total clicks needed: 3-4 (including password entry on first run) Time: 30 seconds - 5 minutes (depending on files to copy)
| Level | Setup Time | Usage Steps | Best For |
|---|---|---|---|
| Terminal | 2 min | Run ./quick-sync.sh |
Tech users |
| Desktop Icon | 5 min | Double-click icon | Most users |
| Auto-Sync | 10 min | Plug in iPod | Everyone! |
Questions? See main README.md for detailed documentation.
Created: 2025-10-29