Menu

#210 Unmet condition in LOADLIST remote command

svn
closed-fixed
nobody
None
5
2014-10-11
2014-07-03
Janne Siren
No

Short command "L" is already detected as "LOAD", thus the first condition cannot be met.

mpg123-1.20.1/src/control_generic.c:
if (!strcasecmp(cmd, "L") || !strcasecmp(cmd, "LOADLIST")){ generic_loadlist(fr, arg); continue; }

Alternatively creating "LL" alias for LOADLIST:
mpg123-1.20.1/src/control_generic.c:
if (!strcasecmp(cmd, "LL") || !strcasecmp(cmd, "LOADLIST")){ generic_loadlist(fr, arg); continue; }
and documenting that to help in control_generic.c + mpg123-1.20.1/doc/README.remote by changing LOADLIST to LOADLIST/LL

Discussion

  • Thomas Orgis

    Thomas Orgis - 2014-07-04

    Short command "L" is already detected as "LOAD", thus the first condition cannot be met.
    Alternatively creating "LL" alias for LOADLIST:

    Hey, you're the first to notice;-) Yeah, LL is fine. It's in revision
    3579 of mpg123 trunk.

     
  • Janne Siren

    Janne Siren - 2014-07-04

    Thanks!
    What about doc/README.remote?

     
  • Thomas Orgis

    Thomas Orgis - 2014-10-11
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB