@protocol.commands.add('lsinfo')
def lsinfo(context, uri=None):
    result = []
    for path, lookup_future in context.browse(uri, recursive=False):
        if not lookup_future:
            result.append(('directory', path.lstrip('/')))
        else:
            for tracks in lookup_future.get().values():
                if tracks:
                    result.extend(translator.track_to_mpd_format(tracks[0]))

    if uri in (None, '', '/'):
        result.extend(protocol.stored_playlists.listplaylists(context))

    return result
*musicpd.org, music database section:*
dataset/ETHPy150Open mopidy/mopidy/mopidy/mpd/protocol/music_db.py/lsinfo