Repository navigation
plexdo playlist remove
plexdo-playlist-remove - delete a playlist from a user's account
plexdo playlist-remove USER PLAYLIST [GLOBAL OPTIONS]
Deletes one of USER's playlists. Only the playlist goes: the films, episodes, and tracks it held are untouched, and so is any other user's copy of it.
There is no confirmation prompt, and Plex has no way to undo the deletion. Use --dry-run to check which playlist a title or ratingKey resolves to first.
USER
Whose playlist it is, by numeric user ID or title; 0 is the admin account. See plexdo-conventions(7).
PLAYLIST
The playlist, by title or ratingKey. A value made only of digits is always taken as a ratingKey.
None beyond the global options.
-f, --format FORMAT; --json
No effect: the command prints one plain line in any format.
-W, --wide
No effect: there is no table.
--throttle SECONDS
No effect: the deletion is a single request.
-v, --verbose; --debug
--verbose reports the playlist being removed.
--debug-log PATH
Appends what --debug reports to PATH instead, with the run profiled: each phase's time, every HTTP request and its wait, CPU and memory use, and function run times. See DEBUG LOG in plexdo-conventions(7).
--dry-run
Find the playlist, fail as usual if it cannot be found, and say on standard error which one would be deleted, by title and ratingKey, without deleting it.
-V, --version; -h, --help
Print the version, or this command's help, and exit.
None: the command takes no options of its own.
One line naming the playlist by its title, however it was given:
Deleted playlist: 'Movie Night'
0 on success. 1 when USER or PLAYLIST is not found, when PLAYLIST is a ratingKey belonging to something other than a playlist, or when USER has nothing shared and cannot be acted on. See plexdo-conventions(7).
Check what would be removed, then remove it:
plexdo playlist-remove 0 "Old Mix" --dry-run --verbose
plexdo playlist-remove 0 "Old Mix"
Remove one of another user's playlists by ratingKey, which is unambiguous even if they have two playlists of the same title:
plexdo playlist-remove Alice 9104
plexdo-playlists-list(1), plexdo-playlist-clean(1), plexdo-playlist-copy(1), plexdo-conventions(7), plexdo(1)