api/request/local-processing: don't return an empty audio object
& also throw errors whenever a response is invalid
This commit is contained in:
@@ -51,9 +51,9 @@ export type CobaltLocalProcessingResponse = {
|
||||
service: string,
|
||||
tunnel: string[],
|
||||
|
||||
output?: {
|
||||
type?: string, // mimetype
|
||||
filename?: string,
|
||||
output: {
|
||||
type: string, // mimetype
|
||||
filename: string,
|
||||
metadata?: {
|
||||
album?: string,
|
||||
copyright?: string,
|
||||
|
||||
Reference in New Issue
Block a user