• Max Kellermann's avatar
    protocol/ArgParser: disallow negative seek times · dadd3ca6
    Max Kellermann authored
    Instead of stopping playback (due to seek time overflow), reject the
    seek command.  Closes #240
    
    Relative negative values (with "seekcur") are still allowed, and MPD
    will fix the resulting position if it turns out to be negative.  But
    the "seek" and "seekid" commands use an unsigned time stamp which must
    not be negative.
    dadd3ca6
ArgParser.cxx 4.21 KB