Fix multi-select, add new book flag

This commit is contained in:
Mark Cooper 2021-09-01 13:47:18 -05:00
parent 234653b549
commit 0c017c4227
15 changed files with 106 additions and 36 deletions

View file

@ -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)