Add a lyrics-only service mode view with the sung line centred and auto-sized, and a free local faster-whisper script to transcribe saved songs
This commit is contained in:
@@ -191,6 +191,10 @@ describe('routes', () => {
|
||||
const recent = await (await app.request('/api/admin/notes/recent', { headers: { Cookie: cookie } })).json();
|
||||
expect(recent.revs[0].rev).toBe(4);
|
||||
|
||||
// Media work list: token or admin only.
|
||||
expect((await app.request('/api/admin/media')).status).toBe(401);
|
||||
expect((await app.request('/api/admin/media', { headers: auth })).status).toBe(200);
|
||||
|
||||
// Revoked tokens stop working.
|
||||
await app.request(`/api/admin/tokens/${created.id}`, { method: 'DELETE', headers: { Cookie: cookie } });
|
||||
res = await app.request(`/api/notes/${VID}/lyrics`, json('PUT', { data: { lines: [] }, baseRev: 4 }, auth));
|
||||
|
||||
Reference in New Issue
Block a user