Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
lofty
Browse files Browse the repository at this point in the history
  • Loading branch information
vapormusic committed Jul 21, 2022
1 parent 353cb4a commit 949f4ee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
lofty = "0.7.1"
lofty = { git = "https://github.com/Serial-ATA/lofty-rs", branch = "main" }
base64 = "0.13.0"
walkdir = "2.3.2"

Expand Down
1 change: 1 addition & 0 deletions build/_deps/zlib-src
Submodule zlib-src added at b56a2f
1 change: 1 addition & 0 deletions build/taglib/src/taglib
Submodule taglib added at c8b394
2 changes: 1 addition & 1 deletion examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { parseFile } = require("../index.node");
const fs = require('fs');

// json data
let jsonData = parseFile("e:\\VA\\Music\\Osu music pack completed\\besssst.mp3");
let jsonData = parseFile("e:\\VA\\Music\\My Music\\Feel_The_Power_of_Now.mp3");
let u = jsonData
// replace artwork with artwork size in console.log
u["artwork"] = (u["artwork"] ?? '').length
Expand Down
2 changes: 1 addition & 1 deletion output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"title":"いかないで","artist":"KK","album":"小音","genre":"0","bitrate":192,"sample_rate":44100,"bit_depth":0,"duration_in_ms":199,"year":0,"track_number":0,"disc_number":0,"artwork":901936}
{"title":"0","artist":"0","album":"0","genre":"0","bitrate":128,"sample_rate":44100,"bit_depth":0,"duration_in_ms":223112,"year":0,"track_number":0,"disc_number":0,"lossless":false,"container":"MP3","artwork":0}

0 comments on commit 949f4ee

Please sign in to comment.