Rename length status item to seconds_total and print it only once.
[paraslash.git] / audiod.c
index d2d0004a157f961b239cf4a89f66fcf8c86c72a2..f7e481b4c66be206785e1043eb8a59e733938069 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -519,7 +519,7 @@ static int check_stat_line(char *line, __a_unused void *data)
        case SI_OFFSET:
                stat_task->offset_seconds = atoi(line + ilen + 1);
                break;
-       case SI_LENGTH:
+       case SI_SECONDS_TOTAL:
                stat_task->length_seconds = atoi(line + ilen + 1);
                break;
        case SI_STREAM_START: