• Max Kellermann's avatar
    command/{Queue,File}Commands: drop "file:///" prefix for absolute paths · 676dfabc
    Max Kellermann authored
    Requiring this prefix makes the client's intention very clear, but it
    was too hard to understand why this prefix was needed.  Initially, my
    intention was to differentiate from broken clients which prefix relate
    URIs with a slash; once MPD allowed that.  In the past few years
    however, MPD has disallowed that, and there was no significant
    breakage (except for the "add /" special case which some clients
    apparently still do).  So I figure it's about time to define that an
    URI that begins with a slash points to an arbitrary file on the file
    system.
    676dfabc
FileCommands.cxx 6.4 KB