This commit is contained in:
owenchen 2026-06-02 15:22:10 +08:00
parent a71094cbf5
commit 39494fb5c3
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -2,7 +2,7 @@
"profiles": { "profiles": {
"CloudBuilder.Topshelf": { "CloudBuilder.Topshelf": {
"commandName": "Project", "commandName": "Project",
"commandLineArgs": "task:TtsTask book_id:B000008 voice:Sherpa2 actor:澈蕾 actor_voice:Sherpa1 save_path:D:\\\\Net8\\\\FileServer\\\\Backup\\\\DmsFile\\\\voice" "commandLineArgs": "task:ChineseNameExtractorTask book_id:B000008"
} }
} }
} }

View File

@ -71,6 +71,7 @@ namespace CloudBuilder.Topshelf.Task
if (p.Length == 1) continue; if (p.Length == 1) continue;
aiChapterPerson = new AiChapterPersonEntity(); aiChapterPerson = new AiChapterPersonEntity();
aiChapterPerson.PersonName = p; aiChapterPerson.PersonName = p;
aiChapterPerson.BookId = ent.BookId;
aiChapterPerson.ChapterId = ent.ChapterId; aiChapterPerson.ChapterId = ent.ChapterId;
aiChapterPerson.ParagraphIndex = ent.ParagraphId; aiChapterPerson.ParagraphIndex = ent.ParagraphId;
aiChapterPerson.SentenceIndex= ent.SentenceIndex; aiChapterPerson.SentenceIndex= ent.SentenceIndex;