mirror of
https://github.com/simon987/sist2.git
synced 2025-12-13 23:39:04 +00:00
sidecar files #114, version bump
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "src/ctx.h"
|
||||
#include "mime.h"
|
||||
#include "src/io/serialize.h"
|
||||
#include "src/parsing/sidecar.h"
|
||||
|
||||
#include <magic.h>
|
||||
|
||||
@@ -157,6 +158,10 @@ void parse(void *arg) {
|
||||
parse_comic(&ScanCtx.comic_ctx, &job->vfile, &doc);
|
||||
} else if (IS_MOBI(doc.mime)) {
|
||||
parse_mobi(&ScanCtx.mobi_ctx, &job->vfile, &doc);
|
||||
} else if (doc.mime == MIME_SIST2_SIDECAR) {
|
||||
parse_sidecar(&job->vfile, &doc);
|
||||
CLOSE_FILE(job->vfile)
|
||||
return;
|
||||
}
|
||||
|
||||
abort:
|
||||
|
||||
Reference in New Issue
Block a user