mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-14 00:32:55 +02:00
New model update audio player, stream, collections
This commit is contained in:
@@ -3,7 +3,7 @@ export default class AudioTrack {
|
||||
this.index = track.index || 0
|
||||
this.startOffset = track.startOffset || 0 // Total time of all previous tracks
|
||||
this.duration = track.duration || 0
|
||||
this.title = track.filename || ''
|
||||
this.title = track.metadata ? track.metadata.filename || '' : ''
|
||||
this.contentUrl = track.contentUrl || null
|
||||
this.mimeType = track.mimeType
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user