Table of Contents

Class Metadata

Namespace
ChartTools.Meta
Assembly
ChartTools.dll
public sealed class Metadata
Inheritance
Metadata
Inherited Members
Extension Methods

Constructors

Metadata()

public Metadata()

Properties

Album

public string? Album { get; set; }

Property Value

string

AlbumTrack

public ushort? AlbumTrack { get; set; }

Property Value

ushort?

Artist

public string? Artist { get; set; }

Property Value

string

AudioOffset

public TimeSpan? AudioOffset { get; set; }

Property Value

TimeSpan?

Charter

public Charter Charter { get; set; }

Property Value

Charter

Difficulty

public sbyte? Difficulty { get; set; }

Property Value

sbyte?

Explicit

public bool? Explicit { get; set; }

Property Value

bool?

Formatting

public FormattingRules Formatting { get; set; }

Property Value

FormattingRules

Genre

public string? Genre { get; set; }

Property Value

string

InstrumentDifficulties

public InstrumentDifficultySet InstrumentDifficulties { get; set; }

Property Value

InstrumentDifficultySet

IsModchart

public bool? IsModchart { get; set; }

Property Value

bool?

Length

public uint? Length { get; set; }

Property Value

uint?

LoadingText

public string? LoadingText { get; set; }

Property Value

string

MediaType

public string? MediaType { get; set; }

Property Value

string

Playlist

public string? Playlist { get; set; }

Property Value

string

PlaylistTrack

public ushort? PlaylistTrack { get; set; }

Property Value

ushort?

PreviewEnd

public uint? PreviewEnd { get; set; }

Property Value

uint?

PreviewLength

public uint PreviewLength { get; }

Property Value

uint

PreviewStart

public uint? PreviewStart { get; set; }

Property Value

uint?

Streams

public StreamCollection Streams { get; set; }

Property Value

StreamCollection

SubPlaylist

public string? SubPlaylist { get; set; }

Property Value

string

Title

public string? Title { get; set; }

Property Value

string

UnidentifiedData

public HashSet<UnidentifiedMetadata> UnidentifiedData { get; }

Property Value

HashSet<UnidentifiedMetadata>

VideoOffset

public TimeSpan? VideoOffset { get; set; }

Property Value

TimeSpan?

Year

public ushort? Year { get; set; }

Property Value

ushort?

Methods

Contains(FileType, string)

public bool Contains(FileType fileType, string key)

Parameters

fileType FileType
key string

Returns

bool

FromFile(string)

public static Metadata FromFile(string path)

Parameters

path string

Returns

Metadata

FromFiles(params ReadOnlySpan<string>)

public static Metadata? FromFiles(params ReadOnlySpan<string> paths)

Parameters

paths ReadOnlySpan<string>

Returns

Metadata

Get(FileType, string)

public string? Get(FileType fileType, string key)

Parameters

fileType FileType
key string

Returns

string

ReadFile(string)

public void ReadFile(string path)

Parameters

path string

Remove(FileType, string)

public void Remove(FileType fileType, string key)

Parameters

fileType FileType
key string

Set(FileType, string, string)

public void Set(FileType fileType, string key, string value)

Parameters

fileType FileType
key string
value string

ToFile(string)

public void ToFile(string path)

Parameters

path string

TryGet(FileType, string, out string)

public bool TryGet(FileType fileType, string key, out string value)

Parameters

fileType FileType
key string
value string

Returns

bool