mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-02 21:24:08 +01:00
Fix multi-select, add new book flag
This commit is contained in:
1 parent
234653b549
commit
0c017c4227
15 files changed
+106
-36
No files matched your search
@@ -30,6 +30,12 @@ class HlsController {
|
||||
var streamId = req.params.stream
|
||||
var fullFilePath = Path.join(this.MetadataPath, streamId, req.params.file)
|
||||
|
||||
// development test stream - ignore
|
||||
if (streamId === 'test') {
|
||||
Logger.debug('Test Stream Request', streamId, req.headers, fullFilePath)
|
||||
return res.sendFile(fullFilePath)
|
||||
}
|
||||
|
||||
var exists = await fs.pathExists(fullFilePath)
|
||||
if (!exists) {
|
||||
Logger.warn('File path does not exist', fullFilePath)
|
||||
|
||||
Reference in new issue
Block a user