I want a button where I can reset/clear/remove all the items in my watchlist so I can start all over again, there is too many items to do this manually and i don’t see the point in doing it manually when it can be automated.
That’s why we have computers ![]()
For those who doesn’t want to wait and can get access to a Linux computer, here is step by step to do it with code:
1. Install required Python tools
sudo apt update && sudo apt install -y python3 python3-pip python3-venv
2. Create an isolated Python environment
python3 -m venv ~/plexvenv
source ~/plexvenv/bin/activate3. Install plexapi
pip install plexapi
4. Create the script file
cat > clear_watchlist.py << ‘EOF’
from plexapi.myplex import MyPlexAccount
import timeREPLACE WITH YOUR OWN PLEX TOKEN!
PLEX_TOKEN = “YOUR_TOKEN_HERE”
account = MyPlexAccount(token=PLEX_TOKEN)
watchlist = account.watchlist()print(f"Total items in watchlist: {len(watchlist)}")
for i, item in enumerate(watchlist, 1):
try:
item.removeFromWatchlist()
print(f"[{i}/{len(watchlist)}] Removed: {item.title}“)
time.sleep(0.2)
except Exception as e:
print(f"Error: {e} - {item.title}”)print(“
Done. Watchlist is now empty.”)
EOF5. Run the script
python clear_watchlist.py