2021-09-07 03:14:04 +02:00
|
|
|
module.exports.ScanResult = {
|
|
|
|
NOTHING: 0,
|
|
|
|
ADDED: 1,
|
|
|
|
UPDATED: 2,
|
|
|
|
REMOVED: 3,
|
|
|
|
UPTODATE: 4
|
2021-09-22 03:57:33 +02:00
|
|
|
}
|
|
|
|
|
2021-12-02 22:49:03 +01:00
|
|
|
module.exports.BookCoverAspectRatio = {
|
|
|
|
STANDARD: 0, // 1.6:1
|
|
|
|
SQUARE: 1
|
|
|
|
}
|
|
|
|
|
2021-12-28 22:50:17 +01:00
|
|
|
module.exports.BookshelfView = {
|
|
|
|
STANDARD: 0,
|
2022-10-22 16:13:20 +02:00
|
|
|
DETAIL: 1
|
2021-12-28 22:50:17 +01:00
|
|
|
}
|
|
|
|
|
2021-10-01 01:52:32 +02:00
|
|
|
module.exports.LogLevel = {
|
|
|
|
TRACE: 0,
|
|
|
|
DEBUG: 1,
|
|
|
|
INFO: 2,
|
|
|
|
WARN: 3,
|
|
|
|
ERROR: 4,
|
|
|
|
FATAL: 5,
|
|
|
|
NOTE: 6
|
2021-11-18 02:19:24 +01:00
|
|
|
}
|
2022-03-16 00:57:15 +01:00
|
|
|
|
|
|
|
module.exports.PlayMethod = {
|
|
|
|
DIRECTPLAY: 0,
|
|
|
|
DIRECTSTREAM: 1,
|
2022-04-02 18:19:57 +02:00
|
|
|
TRANSCODE: 2,
|
|
|
|
LOCAL: 3
|
2022-04-16 19:37:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports.AudioMimeType = {
|
|
|
|
MP3: 'audio/mpeg',
|
2022-07-15 01:32:00 +02:00
|
|
|
M4B: 'audio/mp4',
|
|
|
|
M4A: 'audio/mp4',
|
2022-04-16 19:37:10 +02:00
|
|
|
MP4: 'audio/mp4',
|
|
|
|
OGG: 'audio/ogg',
|
2022-07-15 01:32:00 +02:00
|
|
|
OGA: 'audio/ogg',
|
2022-04-16 19:37:10 +02:00
|
|
|
OPUS: 'audio/ogg',
|
|
|
|
AAC: 'audio/aac',
|
|
|
|
FLAC: 'audio/flac',
|
|
|
|
WMA: 'audio/x-ms-wma',
|
2022-10-21 00:24:51 +02:00
|
|
|
AIFF: 'audio/x-aiff',
|
|
|
|
WEBM: 'audio/webm',
|
2023-03-12 21:52:49 +01:00
|
|
|
WEBMA: 'audio/webm',
|
2023-03-17 22:52:07 +01:00
|
|
|
MKA: 'audio/x-matroska',
|
2023-06-05 23:23:40 +02:00
|
|
|
AWB: 'audio/amr-wb',
|
|
|
|
CAF: 'audio/x-caf'
|
2022-05-31 02:26:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports.VideoMimeType = {
|
|
|
|
MP4: 'video/mp4'
|
2022-03-16 00:57:15 +01:00
|
|
|
}
|