Use SONG_TIME instead of literal "Time: " for consistency with db code.

git-svn-id: https://svn.musicpd.org/mpd/trunk@5668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
J. Alexander Treuman 2007-03-20 20:12:53 +00:00
parent 6450bbc096
commit 80dea15184

View File

@ -28,6 +28,7 @@
#include "tagTracker.h"
#include "mpd_types.h"
#include "gcc.h"
#include "song.h"
#include <sys/stat.h>
#include <stdlib.h>
@ -120,7 +121,7 @@ void printMpdTag(int fd, MpdTag * tag)
int i;
if (tag->time >= 0)
fdprintf(fd, "Time: %i\n", tag->time);
fdprintf(fd, "%s%i\n", SONG_TIME, tag->time);
for (i = 0; i < tag->numOfItems; i++) {
fdprintf(fd, "%s: %s\n", mpdTagItemKeys[tag->items[i].type],