|
@@ -7,13 +7,15 @@ export class Lyric {
|
|
|
readonly by: string
|
|
readonly by: string
|
|
|
readonly offset: number
|
|
readonly offset: number
|
|
|
readonly lyricList: Array<LyricLine>
|
|
readonly lyricList: Array<LyricLine>
|
|
|
|
|
+ readonly isPlainText: boolean // 是否为纯文本歌词(无时间标签)
|
|
|
|
|
|
|
|
- constructor(artist: string, title: string, album: string, by: string, offset: number, lyricList: Array<LyricLine>) {
|
|
|
|
|
|
|
+ constructor(artist: string, title: string, album: string, by: string, offset: number, lyricList: Array<LyricLine>, isPlainText: boolean = false) {
|
|
|
this.artist = artist
|
|
this.artist = artist
|
|
|
this.title = title
|
|
this.title = title
|
|
|
this.album = album
|
|
this.album = album
|
|
|
this.by = by
|
|
this.by = by
|
|
|
this.offset = offset
|
|
this.offset = offset
|
|
|
this.lyricList = lyricList
|
|
this.lyricList = lyricList
|
|
|
|
|
+ this.isPlainText = isPlainText
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|