mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-12-05 06:16:32 +01:00
feat: Populate LocalFile with real info
This commit is contained in:
1 parent
db7a8cef77
commit
fec1ec554b
4 files changed
+38
-13
No files matched your search
@@ -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