Generate list of external files

This commit is contained in:
Christoph Hagen
2025-01-06 10:19:51 +01:00
parent 6c1b473ab8
commit cb9af225f0
3 changed files with 27 additions and 0 deletions

View File

@ -67,7 +67,9 @@ struct AudioPlayerCommand: CommandProcessor {
let coverSize = 2 * content.settings.audioPlayer.playlistCoverImageSize
let coverImage = image.imageVersion(width: coverSize, height: coverSize, type: image.type)
let coverUrl = coverImage.outputPath
results.require(image: coverImage)
results.require(file: audioFile)
let playlistItem = AudioPlayer.PlaylistItem(
index: playlist.count,