Apply review suggestions

This commit is contained in:
Shadowghost
2023-02-04 20:16:45 +01:00
parent 626bb24bdd
commit f2b7f664aa
3 changed files with 8 additions and 6 deletions

View File

@@ -325,7 +325,7 @@ public class TranscodingJobHelper : IDisposable
await DeletePartialStreamFiles(job.Path!, job.Type, 0, 1500).ConfigureAwait(false);
if (job.MediaSource?.VideoType == VideoType.Dvd || job.MediaSource?.VideoType == VideoType.BluRay)
{
var path = Path.GetDirectoryName(job.Path) + "/" + job.MediaSource.Id + ".concat";
var path = Path.Join(job.Path, "/" + job.MediaSource.Id + ".concat");
File.Delete(path);
}
}