Commandpython
/remove-channel Command
Remove a YouTube channel or playlist from the channel monitor configuration.
Remove YouTube Channel
Remove a YouTube channel or playlist from the channel monitor configuration.
Arguments
$ARGUMENTS- Channel name or channel_id to remove
Instructions
- Read current channel_monitor.json
- Find matching channel by:
channel_name(partial match, case-insensitive)channel_id(exact match)
- If multiple matches found, list them and ask user to be more specific
- If single match found, show details and confirm removal
- Remove from channels array
- Write updated config
- Restart channel-monitor service
# After editing config (uses PMOVES_ROOT env var or defaults to current git repo root)
PMOVES_ROOT="${PMOVES_ROOT:-$(git rev-parse --show-toplevel)}"
docker compose -f "${PMOVES_ROOT}/pmoves/docker-compose.yml" restart channel-monitor
Always confirm before removing.