projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
afs.c: Avoid noisy log message.
[paraslash.git]
/
aft.c
diff --git
a/aft.c
b/aft.c
index
1a0fdc7
..
0f15cd2
100644
(file)
--- a/
aft.c
+++ b/
aft.c
@@
-1722,10
+1722,12
@@
static int check_audio_file(struct osl_row *row, void *data)
}
ret = lyr_get_name_by_id(afsi.lyrics_id, &blob_name);
if (ret < 0)
}
ret = lyr_get_name_by_id(afsi.lyrics_id, &blob_name);
if (ret < 0)
- para_printf(pb, "%s lyrics id: %s\n", path, PARA_STRERROR(-ret));
+ para_printf(pb, "%s lyrics id %u: %s\n", path, afsi.lyrics_id,
+ PARA_STRERROR(-ret));
ret = img_get_name_by_id(afsi.image_id, &blob_name);
if (ret < 0)
ret = img_get_name_by_id(afsi.image_id, &blob_name);
if (ret < 0)
- para_printf(pb, "%s image id: %s\n", path, PARA_STRERROR(-ret));
+ para_printf(pb, "%s image id %u: %s\n", path, afsi.image_id,
+ PARA_STRERROR(-ret));
return 1;
}
return 1;
}
@@
-1733,9
+1735,8
@@
int aft_check_callback(__a_unused const struct osl_object *query, struct osl_obj
{
struct para_buffer pb = {.buf = NULL};
{
struct para_buffer pb = {.buf = NULL};
+ para_printf(&pb, "checking audio file table...\n");
audio_file_loop(&pb, check_audio_file);
audio_file_loop(&pb, check_audio_file);
- if (!pb.size)
- return 0;
result->data = pb.buf;
result->size = pb.size;
return 1;
result->data = pb.buf;
result->size = pb.size;
return 1;