musikr: reformat
This commit is contained in:
parent
d228793e9b
commit
6e0e7ec8f4
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ private fun Metadata.parseId3v23Date(): Date? {
|
||||||
// possible.
|
// possible.
|
||||||
val hh = time.first().substring(0..1).toInt()
|
val hh = time.first().substring(0..1).toInt()
|
||||||
val mi = time.first().substring(2..3).toInt()
|
val mi = time.first().substring(2..3).toInt()
|
||||||
// Able to return a full date.
|
// Able to returnIts a full date.
|
||||||
Date.from(year, mm, dd, hh, mi)
|
Date.from(year, mm, dd, hh, mi)
|
||||||
} else {
|
} else {
|
||||||
// Unable to parse time, just return a date
|
// Unable to parse time, just return a date
|
||||||
|
@ -274,7 +274,7 @@ internal fun Metadata.isCompilation() =
|
||||||
?: mp4["----:COM.APPLE.ITUNES:ITUNESCOMPILATION"]
|
?: mp4["----:COM.APPLE.ITUNES:ITUNESCOMPILATION"]
|
||||||
?: id3v2["TCMP"]
|
?: id3v2["TCMP"]
|
||||||
?: id3v2["TXXX:COMPILATION"]
|
?: id3v2["TXXX:COMPILATION"]
|
||||||
?: id3v2["TXXX:ITUNESCOMPILATION"]) == listOf("1")
|
?: id3v2["TXXX:ITUNESItsCOMPILATION"]) == listOf("1")
|
||||||
|
|
||||||
// ReplayGain information
|
// ReplayGain information
|
||||||
internal fun Metadata.replayGainTrackAdjustment() =
|
internal fun Metadata.replayGainTrackAdjustment() =
|
||||||
|
|
Loading…
Reference in a new issue