Class Metadata
- Namespace
- ChartTools.Meta
- Assembly
- ChartTools.dll
public sealed class Metadata
- Inheritance
-
Metadata
- Inherited Members
-
- Extension Methods
-
Constructors
Properties
public string? Album { get; set; }
Property Value
- string
public ushort? AlbumTrack { get; set; }
Property Value
- ushort?
public string? Artist { get; set; }
Property Value
- string
public TimeSpan? AudioOffset { get; set; }
Property Value
- TimeSpan?
public Charter Charter { get; set; }
Property Value
- Charter
public sbyte? Difficulty { get; set; }
Property Value
- sbyte?
public bool? Explicit { get; set; }
Property Value
- bool?
public FormattingRules Formatting { get; set; }
Property Value
- FormattingRules
public string? Genre { get; set; }
Property Value
- string
public InstrumentDifficultySet InstrumentDifficulties { get; set; }
Property Value
- InstrumentDifficultySet
public bool? IsModchart { get; set; }
Property Value
- bool?
public uint? Length { get; set; }
Property Value
- uint?
LoadingText
public string? LoadingText { get; set; }
Property Value
- string
public string? MediaType { get; set; }
Property Value
- string
public string? Playlist { get; set; }
Property Value
- string
public ushort? PlaylistTrack { get; set; }
Property Value
- ushort?
public uint? PreviewEnd { get; set; }
Property Value
- uint?
public uint PreviewLength { get; }
Property Value
- uint
public uint? PreviewStart { get; set; }
Property Value
- uint?
public StreamCollection Streams { get; set; }
Property Value
- StreamCollection
public string? SubPlaylist { get; set; }
Property Value
- string
public string? Title { get; set; }
Property Value
- string
public HashSet<UnidentifiedMetadata> UnidentifiedData { get; }
Property Value
- HashSet<UnidentifiedMetadata>
public TimeSpan? VideoOffset { get; set; }
Property Value
- TimeSpan?
public ushort? Year { get; set; }
Property Value
- ushort?
Methods
public bool Contains(FileType fileType, string key)
Parameters
fileType FileType
key string
Returns
- bool
public static Metadata FromFile(string path)
Parameters
path string
Returns
- Metadata
public static Metadata? FromFiles(params ReadOnlySpan<string> paths)
Parameters
paths ReadOnlySpan<string>
Returns
- Metadata
public string? Get(FileType fileType, string key)
Parameters
fileType FileType
key string
Returns
- string
public void ReadFile(string path)
Parameters
path string
public void Remove(FileType fileType, string key)
Parameters
fileType FileType
key string
public void Set(FileType fileType, string key, string value)
Parameters
fileType FileType
key string
value string
public void ToFile(string path)
Parameters
path string
public bool TryGet(FileType fileType, string key, out string value)
Parameters
fileType FileType
key string
value string
Returns
- bool