fix(download): keep .mp3 extension on the ffmpeg tag temp file
ffmpeg infers the muxer from the extension; '.tag' made every download's tag step fail with 'Unable to choose an output format'.
This commit is contained in:
@@ -280,7 +280,7 @@ function createDownloadStore() {
|
|||||||
feedStore.feeds().find((f) => f.id === item.feedId)?.podcast.title ??
|
feedStore.feeds().find((f) => f.id === item.feedId)?.podcast.title ??
|
||||||
downloads().get(item.episodeId)?.podcastTitle;
|
downloads().get(item.episodeId)?.podcastTitle;
|
||||||
if (podcastTitle) {
|
if (podcastTitle) {
|
||||||
const tmp = `${result.filePath}.tag`;
|
const tmp = `${result.filePath}.tag.mp3`;
|
||||||
Bun.spawn([
|
Bun.spawn([
|
||||||
"ffmpeg",
|
"ffmpeg",
|
||||||
"-y",
|
"-y",
|
||||||
|
|||||||
Reference in New Issue
Block a user