• FlashSystems's avatar
    Fix `lsinfo` and `add` for mounted databases. · c488d312
    FlashSystems authored
    If `SimpleDatabase::Visit` is called on a database that contains a mounted directry the URIs of the elements passed to the callbacks are not prefixed by the mountpoint path. This leads to lsinfo and add not working because they use the wrong URI. This pull request is using the `WalkMount` helper function to create prefixed versions of `VisitDirectory`, `VisitSong` and `VisitPlaylist` to add the correct prefix to the parameters of the callback functions.
    c488d312
Mount.hxx 1.14 KB