all: reformat
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2026 Auxio Project
|
* Copyright (c) 2026 Auxio Project
|
||||||
* RoundModeMaskableFrameLayout.kt is part of Auxio.
|
* PlaybackMaskableFrameLayout.kt is part of Auxio.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -31,8 +31,7 @@ internal interface TagParser {
|
|||||||
private data object TagParserImpl : TagParser {
|
private data object TagParserImpl : TagParser {
|
||||||
override fun parse(metadata: Metadata): ParsedTags {
|
override fun parse(metadata: Metadata): ParsedTags {
|
||||||
val compilation = metadata.isCompilation()
|
val compilation = metadata.isCompilation()
|
||||||
var artistMusicBrainzIds =
|
var artistMusicBrainzIds = metadata.artistMusicBrainzIds() ?: listOf()
|
||||||
metadata.artistMusicBrainzIds() ?: listOf()
|
|
||||||
var artistNames = metadata.artistNames()
|
var artistNames = metadata.artistNames()
|
||||||
var artistSortNames = metadata.artistSortNames() ?: listOf()
|
var artistSortNames = metadata.artistSortNames() ?: listOf()
|
||||||
if (artistNames == null) {
|
if (artistNames == null) {
|
||||||
@@ -43,7 +42,7 @@ private data object TagParserImpl : TagParser {
|
|||||||
// hybridize sort tags or MBIDs between artist/composer.
|
// hybridize sort tags or MBIDs between artist/composer.
|
||||||
artistMusicBrainzIds = metadata.composerMusicBrainzIds() ?: listOf()
|
artistMusicBrainzIds = metadata.composerMusicBrainzIds() ?: listOf()
|
||||||
artistNames = metadata.composerNames() ?: listOf()
|
artistNames = metadata.composerNames() ?: listOf()
|
||||||
artistSortNames = metadata.composerSortNames() ?: listOf()
|
artistSortNames = metadata.composerSortNames() ?: listOf()
|
||||||
}
|
}
|
||||||
return ParsedTags(
|
return ParsedTags(
|
||||||
durationMs = metadata.properties.durationMs,
|
durationMs = metadata.properties.durationMs,
|
||||||
|
|||||||
Reference in New Issue
Block a user