Commit 00583bc4 authored by Max Kellermann's avatar Max Kellermann

FileCommands: skip special files completely

Previously, MPD printed the time stamp without printing the file name. That made no sense.
parent 2d06a8e8
......@@ -111,6 +111,8 @@ handle_listfiles_local(Client &client, const char *path_utf8)
} else if (S_ISDIR(st.st_mode))
client_printf(client, "directory: %s\n",
name_utf8.c_str());
else
continue;
time_print(client, "Last-Modified", st.st_mtime);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment