Bug 9448 - allow for multiple requests/setting of preferences over CLI
: allow for multiple requests/setting of preferences over CLI
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 7.2
: PC Windows XP
: -- enhancement (vote)
: Future
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-09 12:31 UTC by Barry Gordon
Modified: 2008-10-10 15:25 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 Barry Gordon 2008-09-09 12:31:25 UTC
There is significant overhead in all aspects of a system to make a TCP/IP request so it is best to get as much as possible in a single request. The amount of overhead to get a single playerpreference which ends up being about 40 or so bytes of real data with about the same number of overhead bytes for the protocol envelope, ergo a line efficiency of 50%

Rather than do 5 seperate TCP/IP requests I would much rather do one of the form:
    ID playerpref prefname: prefname: prefname: ...
or specifically for the alarms
    ID playerpref alarmSnoozeTime: alarmFadeTime: alarmTimeoutTime: alarmDefaultVolume: alarmEnabled:

similarly to set a bunch of prefs 
    ID playerpref prefname:value prefname:value prefname:value ... 
which just looks very similar to a set of tags on the request.

This would then handle all of the prefrences in a uniform and speedy/efficient manner. If someone told me what they all were (and meant) I would be willing to do the wiki documentation
Comment 1 Barry Gordon 2008-09-15 09:54:36 UTC
*** Bug 9491 has been marked as a duplicate of this bug. ***
Comment 2 James Richardson 2008-10-10 15:25:57 UTC
Targeting Enhancement bugs