improved library scan speeds, added library manager component
-libraries tab now opens a library manager -choose library directory, manually soft scan and rescan -batched db queues -mp3 header-based duration extraction
This commit is contained in:
@@ -86,6 +86,15 @@ func (q *Queries) CreateRecordingFull(ctx context.Context, arg CreateRecordingFu
|
||||
return i, err
|
||||
}
|
||||
|
||||
const deleteAllRecordings = `-- name: DeleteAllRecordings :exec
|
||||
DELETE FROM recordings
|
||||
`
|
||||
|
||||
func (q *Queries) DeleteAllRecordings(ctx context.Context) error {
|
||||
_, err := q.db.ExecContext(ctx, deleteAllRecordings)
|
||||
return err
|
||||
}
|
||||
|
||||
const deleteRecording = `-- name: DeleteRecording :exec
|
||||
DELETE FROM recordings
|
||||
WHERE id = ?
|
||||
|
||||
Reference in New Issue
Block a user