mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-22 08:31:41 +01:00
Add: Experimental collections add/remove & db #151
This commit is contained in:
1 parent
3d35b7dc3d
commit
bf0893d759
27 files changed
+784
-62
No files matched your search
@@ -7,6 +7,8 @@ const { secondsToTimestamp } = require('../utils/fileUtils')
|
||||
const { writeConcatFile } = require('../utils/ffmpegHelpers')
|
||||
const hlsPlaylistGenerator = require('../utils/hlsPlaylistGenerator')
|
||||
|
||||
// const UserListeningSession = require('./UserListeningSession')
|
||||
|
||||
class Stream extends EventEmitter {
|
||||
constructor(streamPath, client, audiobook) {
|
||||
super()
|
||||
@@ -32,6 +34,9 @@ class Stream extends EventEmitter {
|
||||
this.furthestSegmentCreated = 0
|
||||
this.clientCurrentTime = 0
|
||||
|
||||
// this.listeningSession = new UserListeningSession()
|
||||
// this.listeningSession.setData(audiobook, client.user)
|
||||
|
||||
this.init()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user