Table of Contents

Class LrcDiagnosticIds

Namespace
ModernLrc.Diagnostics
Assembly
ModernLrc.dll

String identifiers for every diagnostic the parser or writer can emit. Exposed as const string so consumers can switch on them without coupling to an enum that changes between versions.

public static class LrcDiagnosticIds
Inheritance
LrcDiagnosticIds
Inherited Members

Fields

BracketedContentTolerance

Non-timestamp […] group treated as content text.

public const string BracketedContentTolerance = "LRC0091"

Field Value

string

ConflictingMetadata

Conflicting metadata values for the same key.

public const string ConflictingMetadata = "LRC0020"

Field Value

string

DroppedUntimedText

Free text without a timestamp dropped.

public const string DroppedUntimedText = "LRC0050"

Field Value

string

DuplicateMetadata

Duplicate identical metadata.

public const string DuplicateMetadata = "LRC0021"

Field Value

string

EmptyEnhancedWord

Empty enhanced word (back-to-back <> markers).

public const string EmptyEnhancedWord = "LRC0080"

Field Value

string

EmptyTimestamp

Empty timestamp [].

public const string EmptyTimestamp = "LRC0009"

Field Value

string

EncodingFallback

Encoding fallback used (Error severity — callers must opt in to fallback).

public const string EncodingFallback = "LRC0010"

Field Value

string

Id3LanguagePrefixStripped

ID3 language prefix (e.g., eng||) was stripped from the input.

public const string Id3LanguagePrefixStripped = "LRC0092"

Field Value

string

ImplausibleTimestamp

Implausible timestamp (> 24h) — value still parsed.

public const string ImplausibleTimestamp = "LRC0070"

Field Value

string

InvalidEnhancedTimestamp

Invalid enhanced word timestamp.

public const string InvalidEnhancedTimestamp = "LRC0007"

Field Value

string

InvalidLength

Invalid length value.

public const string InvalidLength = "LRC0006"

Field Value

string

InvalidOffset

Invalid offset value.

public const string InvalidOffset = "LRC0005"

Field Value

string

InvalidTimestamp

Invalid timestamp format.

public const string InvalidTimestamp = "LRC0002"

Field Value

string

LinesReordered

Lines reordered to maintain sort guarantee.

public const string LinesReordered = "LRC0060"

Field Value

string

MalformedIdTag

Malformed ID tag.

public const string MalformedIdTag = "LRC0003"

Field Value

string

MaxDiagnosticsReached

MaxDiagnostics reached; remainder suppressed.

public const string MaxDiagnosticsReached = "LRC0099"

Field Value

string

NonStandardTimestamp

Non-standard timestamp variant accepted.

public const string NonStandardTimestamp = "LRC0030"

Field Value

string

TimestampWithoutText

Timestamp without following text.

public const string TimestampWithoutText = "LRC0051"

Field Value

string

TruncatedPrecision

Sub-millisecond precision truncated.

public const string TruncatedPrecision = "LRC0031"

Field Value

string

UnclosedEnhancedTimestamp

Unclosed enhanced timestamp.

public const string UnclosedEnhancedTimestamp = "LRC0008"

Field Value

string

UnclosedTag

Unclosed [… tag.

public const string UnclosedTag = "LRC0001"

Field Value

string

UnknownIdTag

Unknown ID tag preserved as raw.

public const string UnknownIdTag = "LRC0004"

Field Value

string

UnrepresentableVoiceTransition

Unrepresentable voice transition (Walaoke has no "clear voice" marker) — write side.

public const string UnrepresentableVoiceTransition = "LRC0090"

Field Value

string