refactor: remove .wav extension from uniqueId
This commit is contained in:
@ -82,7 +82,7 @@ async function main() {
|
|||||||
.createHash("md5")
|
.createHash("md5")
|
||||||
.update(category)
|
.update(category)
|
||||||
.digest("hex");
|
.digest("hex");
|
||||||
const uniqueId = `${feedUrlHash}-${categoryHash}.wav`;
|
const uniqueId = `${feedUrlHash}-${categoryHash}`;
|
||||||
|
|
||||||
const audioFilePath = await generateTTS(uniqueId, podcastContent);
|
const audioFilePath = await generateTTS(uniqueId, podcastContent);
|
||||||
console.log(`音声ファイル生成完了: ${audioFilePath}`);
|
console.log(`音声ファイル生成完了: ${audioFilePath}`);
|
||||||
|
Reference in New Issue
Block a user