mirror of
https://github.com/darksaid98/mediaplex.git
synced 2026-12-03 14:38:55 +00:00
0.0.2
This commit is contained in:
1 parent
33426fd667
commit
1b90c1f497
30 files changed
+796
-323
No files matched your search
Vendored
+8
-3
@@ -1,5 +1,5 @@
|
||||
import type { ProbeResult } from './js-binding'
|
||||
import type { Readable } from 'stream'
|
||||
import type { ProbeResult } from './js-binding';
|
||||
import type { Readable } from 'stream';
|
||||
|
||||
export type StreamProbeResult = {
|
||||
stream: Readable;
|
||||
@@ -10,6 +10,11 @@ export interface Metadata {
|
||||
title: string | null;
|
||||
author: string | null;
|
||||
genre: string | null;
|
||||
album: string | null;
|
||||
year: string | null;
|
||||
duration: number | null;
|
||||
composer: string | null;
|
||||
bpm: number | null;
|
||||
}
|
||||
|
||||
export * from './js-binding';
|
||||
@@ -17,4 +22,4 @@ export function probeStream(
|
||||
stream: Readable,
|
||||
probeSize?: number
|
||||
): Promise<StreamProbeResult>;
|
||||
export function readMetadata(result: ProbeResult): Metadata;
|
||||
export function readMetadata(result: ProbeResult): Metadata;
|
||||
Reference in new issue
Block a user