metaparse

package
v0.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package metaparse reads embedded metadata (EPUB OPF, ComicInfo.xml, ID3v2, FLAC Vorbis comments) into plain maps a provider can copy into KindItem fields. Standard library only; parsers are forgiving and never fail a whole item over one bad tag.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComicInfo

func ComicInfo(data []byte) (map[string]any, error)

ComicInfo parses ComicInfo.xml (the cbz/cbr sidecar) into fields.

func EPUB

func EPUB(data []byte) (map[string]any, error)

EPUB parses a book's OPF metadata out of epub bytes.

func FLAC

func FLAC(data []byte) map[string]any

FLAC reads the Vorbis comment block of a FLAC stream.

func ID3

func ID3(data []byte) map[string]any

ID3 reads ID3v2.3/2.4 text frames (title, album, artist, track, year…).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL