From 6e8c5de90f834e3f3b892868c958e69b484722cd Mon Sep 17 00:00:00 2001 From: ScrubN <72096833+ScrubN@users.noreply.github.com> Date: Sun, 31 Dec 2023 02:33:04 -0500 Subject: [PATCH] Fix clip metadata path --- TwitchDownloaderCore/ClipDownloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TwitchDownloaderCore/ClipDownloader.cs b/TwitchDownloaderCore/ClipDownloader.cs index 3198af7b..1945c2e5 100644 --- a/TwitchDownloaderCore/ClipDownloader.cs +++ b/TwitchDownloaderCore/ClipDownloader.cs @@ -147,7 +147,7 @@ private static async Task DownloadFileTaskAsync(string url, string destinationFi private async Task EncodeClipWithMetadata(string inputFile, string destinationFile, Clip clipMetadata, VideoMomentEdge clipChapter, CancellationToken cancellationToken) { - var metadataFile = $"{Path.GetFileName(inputFile)}_metadata.txt"; + var metadataFile = $"{inputFile}_metadata.txt"; try {