mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-26 18:59:25 +02:00
Fix multi-select, add new book flag
This commit is contained in:
parent
234653b549
commit
0c017c4227
15 changed files with 106 additions and 36 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue