mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-23 08:54:11 +01:00
Updates to LibraryItemController to use new model
This commit is contained in:
1 parent
dd0ebdf2d8
commit
4787e7fdb5
8 files changed
+245
-195
No files matched your search
@@ -202,12 +202,12 @@ class AudioFileScanner {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {AudioFile} audioFile
|
||||
* @param {string} audioFilePath
|
||||
* @returns {object}
|
||||
*/
|
||||
probeAudioFile(audioFile) {
|
||||
Logger.debug(`[AudioFileScanner] Running ffprobe for audio file at "${audioFile.metadata.path}"`)
|
||||
return prober.rawProbe(audioFile.metadata.path)
|
||||
probeAudioFile(audioFilePath) {
|
||||
Logger.debug(`[AudioFileScanner] Running ffprobe for audio file at "${audioFilePath}"`)
|
||||
return prober.rawProbe(audioFilePath)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user