123456789101112131415161718192021222324252627282930313233343536 |
- import { parseFile } from 'music-metadata';
- import { inspect } from 'util';
- (async () => {
- try {
- const filePath = 'F:\\Music\\ChiliChill - 时光盲盒.flac';
- const metadata = await parseFile(filePath);
-
- console.log(inspect(metadata, { showHidden: false, depth: null }));
- } catch (error) {
- console.error('Error parsing metadata:', error.message);
- }
- })();
|