Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

Filter out subtitles, playlists, etc. from supported formats

Daniel Demmel756d21714e6b
diff --git a/Sources/Fluid/Services/MeetingTranscriptionService.swift b/Sources/Fluid/Services/MeetingTranscriptionService.swift
index f376c1a7..dcfb92a4 100644
--- a/Sources/Fluid/Services/MeetingTranscriptionService.swift
+++ b/Sources/Fluid/Services/MeetingTranscriptionService.swift
@@ -71,9 +71,14 @@ final class MeetingTranscriptionService: ObservableObject {
// MARK: - Supported Formats
/// File extensions the OS can actually decode, queried dynamically from AVFoundation.
+ /// Filtered to audio/video types only — excludes subtitles, playlists, etc.
static let supportedFileExtensions: Set<String> = {
let avTypes = AVURLAsset.audiovisualTypes()
- let extensions = avTypes.compactMap { UTType($0.rawValue)?.preferredFilenameExtension }
+ let extensions = avTypes.compactMap { fileType -> String? in
+ guard let utType = UTType(fileType.rawValue) else { return nil }
+ guard utType.conforms(to: .audio) || utType.conforms(to: .movie) else { return nil }
+ return utType.preferredFilenameExtension
+ }
return Set(extensions)
}()