mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-09-12 21:01:50 +02:00
feat: Populate LocalFile with real info
This commit is contained in:
@@ -58,7 +58,7 @@ public class AbsDownloader: CAPPlugin {
|
||||
let localUrl = itemDirectory.appendingPathComponent("\(filename)")
|
||||
|
||||
downloadTrack(serverUrl: serverUrl, localUrl: localUrl)
|
||||
return LocalFile(filename: filename, localUrl: localUrl)
|
||||
return LocalFile(filename, track.mimeType, localUrl)
|
||||
}
|
||||
|
||||
private func urlForTrack(item: LibraryItem, track: AudioTrack) -> URL {
|
||||
|
||||
Reference in New Issue
Block a user