import RiffList from "./riffList"; import RiffListTag from "./riffListTag"; import { TagTypes } from "../tag"; /** * Provides support for reading and writing standard INFO tags. */ export default class InfoTag extends RiffListTag { /** * Type of the list that contains an info tag. */ static readonly LIST_TYPE = "INFO"; private constructor(); /** * Constructs and initializes a new, empty instance. */ static fromEmpty(): InfoTag; /** * Constructs and initializes a new instance by reading the contents of a raw RIFF list stored * a file. * @param list List that contains the contents of the tag */ static fromList(list: RiffList): InfoTag; /** @inheritDoc */ get tagTypes(): TagTypes; /** * @inheritDoc * @remarks Implemented via the `INAM` item. */ get title(): string; /** * @inheritDoc * @remarks Implemented via the `INAM` item. */ set title(value: string); /** * @inheritDoc * @remarks Implemented via the `ISBJ` item. */ get description(): string; /** * @inheritDoc * @remarks Implemented via the `ISBJ` item. */ set description(value: string); /** * @inheritDoc * @remarks Implemented via the `ISTR` item. */ get performers(): string[]; /** * @inheritDoc * @remarks Implemented via the `ISTR` item. */ set performers(value: string[]); /** * @inheritDoc * @remarks Implemented via the `IART` item. */ get albumArtists(): string[]; /** * @inheritDoc * @remarks Implemented via the `IART` item. */ set albumArtists(value: string[]); /** * @inheritDoc * @remarks Implemented via the `IWRI` item. */ get composers(): string[]; /** * @inheritDoc * @remarks Implemented via the `IWRI` item. */ set composers(value: string[]); /** * @inheritDoc * @remarks Implemented via the `DIRC` item. */ get album(): string; /** * @inheritDoc * @remarks Implemented via the `DIRC` item. */ set album(value: string); /** * @inheritDoc * @remarks Implemented via the `ICNM` item. */ get conductor(): string; /** * @inheritDoc * @remarks Implemented via the `ISBJ` item. */ set conductor(value: string); /** * @inheritDoc * @remarks Implemented via the `ICMT` item. */ get comment(): string; /** * @inheritDoc * @remarks Implemented via the `ICMT` item. */ set comment(value: string); /** * @inheritDoc * @remarks Implemented via the `IGNR` item. */ get genres(): string[]; /** * @inheritDoc * @remarks Implemented via the `IGNR` item. */ set genres(value: string[]); /** * @inheritDoc * @remarks Implemented via the `ICRD` item. */ get year(): number; /** * @inheritDoc * @remarks Implemented via the `ICRD` item. */ set year(value: number); /** * @inheritDoc * @remarks Implemented via the `IPRT` item. */ get track(): number; /** * @inheritDoc * @remarks Implemented via the `IPRT` item. */ set track(value: number); /** * @inheritDoc * @remarks Implemented via the `IFRM` item. */ get trackCount(): number; /** * @inheritDoc * @remarks Implemented via the `IFRM` item. */ set trackCount(value: number); /** * @inheritDoc * @remarks Implemented via the `ICOP` item. */ get copyright(): string; /** * @inheritDoc * @remarks Implemented via the `ICOP` item. */ set copyright(value: string); }