@TwilightKiddy@scribe.disroot.org
2026-09-04 12:18 UTC
Picard mentioned in the other comment is great. If you want a more manual approach, on a Linux machine you can use `exiftool` to extract the metadata and then use that information to do whatever, e.g. organise them by folders.
::: spoiler A bit long code block
```bash
$ exiftool -j 救世主.ogg
[{
"SourceFile": "救世主.ogg",
"FileName": "救世主.ogg",
"FileSize": "3.4 MB",
"FileType": "OPUS",
"FileTypeExtension": "opus",
"MIMEType": "audio/ogg",
"OpusVersion": 1,
"AudioChannels": 2,
"SampleRate": 48000,
"OutputGain": 1,
"Vendor": "Lavf60.9.100",
"PictureType": "Front Cover",
"PictureMIMEType": "image/jpeg",
"PictureDescription": "",
"PictureWidth": 0,
"PictureHeight": 0,
"PictureBitsPerPixel": 0,
"PictureIndexedColors": 0,
"PictureLength": 102126,
"Picture": "(Binary data 102126 bytes, use -b option to extract)",
"Totaldiscs": 1,
"Genre": "J-POP",
"Encoder": "Lavf60.9.100",
"Releasetype": "single",
"Album": "救世主",
"Language": "jpn",
"Date": "2023-05-07",
"Title": "救世主",
"Totaltracks": 1,
"Artist": "月詠み",
"Duration": "00:03:20.868000000",
"TrackNumber": 1,
"Tracktotal": 1,
"Disctotal": 1
}]
```
:::
Replies (1)
-
@Pomal@sh.itjust.works 2026-09-04 12:36
My sushi roll experience was going to be iterating the byte-string headers and grabbing out anything of value, so essentially this. My hope was that there was a solution present to reduce the hand-rolling… tbd but it appears that Picard is a viable option based on commentary/upvotes