Bug 2173 - Need a way to delete saved playlists through command line interface
: Need a way to delete saved playlists through command line interface
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 6.2.0
: All All
: P2 enhancement (vote)
: ---
Assigned To: Fred
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-22 17:50 UTC by Joseph
Modified: 2008-09-15 14:39 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph 2005-09-22 17:50:00 UTC
Currently, through the command line interface, people can save the current
playlist with a name, but not delete saved ones.

It will be good if we can issue some kind of commands to delete saved ones. 
Here is an example of possible command structure,

playlistdeletes <taggedParameters>

where <taggedParameters> can be,

playlist_id --- the id number as returned by the playlists command

or even,

playlist_name --- the playlist name as returned by the playlists command, but I
like the id number more.

It will be good if we can a single command to delete a single track in the saved
playlist as well.  However, at this stage, we can load the playlist into a
player, delete/move tracks, then save it back with the same name to overwrite
the file, so this one is not crucial.

However, I think we really, really need to have a way in command line interface
to remove saved playlist(s) completely...
Comment 1 KDF 2006-01-31 10:57:15 UTC
headsup to fred on this one, in case there is room on the list.
Comment 2 Fred 2006-01-31 11:27:12 UTC
Can do of course. Problem is probably untangling the current playlist management code to make them proper commands.

why the s in "playlistdeletes"? Otherwise syntax with ID looks good.
Comment 3 Fred 2006-06-24 17:56:16 UTC
Checked in "playlist deleteplaylist" in SVN 8125.
Comment 4 Fred 2006-07-07 19:00:29 UTC
playlists delete playlist_id:XX in SVN 8326.