cmyth/cmyth — comment on commit c21c671b8328ca1eebcf7f28ec630376083e728b
File:  line 0
By gettler:

It seems dangerous to assume that -1 will always be an error for every setting. It does say on the MythTV wiki that -1 will be returned if the setting cannot be found (http://www.mythtv.org/wiki/QUERY_SETTING_(Myth_Protocol)), but I can imagine that some settings (recording priority, start time, ...) could reasonably be set to -1.

It seems that QUERY_SETTING needs both a return value and a return code.