Format returns
This commit is contained in:
parent
5efa138c22
commit
c367857244
|
@ -130,10 +130,17 @@ public class LrcLyricProvider : ILyricProvider
|
||||||
// Map metaData values from LRC file to LyricMetadata properties
|
// Map metaData values from LRC file to LyricMetadata properties
|
||||||
LyricMetadata lyricMetadata = MapMetadataValues(fileMetaData);
|
LyricMetadata lyricMetadata = MapMetadataValues(fileMetaData);
|
||||||
|
|
||||||
return new LyricResponse { Metadata = lyricMetadata, Lyrics = lyricList };
|
return new LyricResponse
|
||||||
|
{
|
||||||
|
Metadata = lyricMetadata,
|
||||||
|
Lyrics = lyricList
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
return new LyricResponse { Lyrics = lyricList };
|
return new LyricResponse
|
||||||
|
{
|
||||||
|
Lyrics = lyricList
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -53,6 +53,9 @@ public class TxtLyricProvider : ILyricProvider
|
||||||
lyricList[lyricLineIndex] = new LyricLine(lyricTextLines[lyricLineIndex]);
|
lyricList[lyricLineIndex] = new LyricLine(lyricTextLines[lyricLineIndex]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new LyricResponse { Lyrics = lyricList };
|
return new LyricResponse
|
||||||
|
{
|
||||||
|
Lyrics = lyricList
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user