Bug 1989 - "playlist save" code in Command.pm breaks CLI
: "playlist save" code in Command.pm breaks CLI
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: unspecified
: Macintosh All
: P1 major (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-17 16:18 UTC by Fred
Modified: 2008-09-15 14:39 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred 2005-08-17 16:18:29 UTC
In SVN 3920 was committed a patch that does this:

# Pass this back to the caller.
$p0 = $playlistObj;

The CLI will echo $p0 back to the caller and in this case is will not 
be "playlist" as it should but

playlist save tt
file%3A%2F%2F%2FUsers%2Ffred%2FMusic%2FPlaylists%2 Ftt.m3u save tt

Given the architecture of Command:execute (that we can discuss), the 
way to achieve what you are looking for is an explicit callback, I 
believe. You can't assign anything to $pX that you do not want printed.
Comment 1 Fred 2006-01-05 02:55:54 UTC
SVN 5543, trunk