diff options
author | Qball Cow <qball@qballcow.nl> | 2007-08-20 14:14:02 +0000 |
---|---|---|
committer | Qball Cow <qball@qballcow.nl> | 2007-08-20 14:14:02 +0000 |
commit | b343793b10250ecb290d0d34722770b6506ff679 (patch) | |
tree | 609738996c5a34bb8050ce1b1d6da7b603bea99a /src | |
parent | 73e98c387134d44aeab32cc9361acf8e5dce8944 (diff) | |
download | mpd-b343793b10250ecb290d0d34722770b6506ff679.tar.gz mpd-b343793b10250ecb290d0d34722770b6506ff679.tar.xz mpd-b343793b10250ecb290d0d34722770b6506ff679.zip |
just testing
git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6769 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/ls.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -153,6 +153,7 @@ int lsPlaylists(int fd, char *utf8path) if (list) { int i; + struct stat data; sortList(list); dup = xmalloc(strlen(utf8path) + 2); @@ -166,8 +167,9 @@ int lsPlaylists(int fd, char *utf8path) node = list->firstNode; while (node != NULL) { if (!strchr(node->key, '\n')) { - fdprintf(fd, "playlist: %s%s\n", dup, - node->key); + myStat(node->key, &data); + fdprintf(fd, "playlist: %s%s\n", dup, node->key); + fdprintf(fd, "mtime: %li\n", data.st_mtime); } node = node->nextNode; } |