Skip to content

Commit 8a14dc3

Browse files
authored
ignore group when assigning sides
1 parent 62999c3 commit 8a14dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/akanework/gramophone/logic/utils/SemanticLyrics.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ fun parseTtml(audioMimeType: String?, lyricText: String): SemanticLyrics? {
15371537
var agent: String? = null
15381538
var side = state.paragraphs.firstOrNull()?.let { peopleToType[it.agent] == "other" } == true
15391539
state.paragraphs.forEach {
1540-
if (agent != it.agent) {
1540+
if (agent != it.agent && peopleToType[it.agent] != "group") {
15411541
agent = it.agent
15421542
agentToSide.putIfAbsentSupport(it.agent, !side)
15431543
side = agentToSide[it.agent]!!

0 commit comments

Comments
 (0)