detail: fix format not appearing in song detail
Forgot to add the data to the list.
This commit is contained in:
parent
069a4c9511
commit
4f64c463c4
2 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
#### What's Fixed
|
#### What's Fixed
|
||||||
- Fixed MP4-AAC files not playing due to an accidental audio extractor
|
- Fixed MP4-AAC files not playing due to an accidental audio extractor
|
||||||
deletion
|
deletion
|
||||||
|
- Fix "format" not appearing in song properties view
|
||||||
|
|
||||||
#### What's Improved
|
#### What's Improved
|
||||||
- Accept `REPLAYGAIN_*` adjustment information on OPUS files alongside
|
- Accept `REPLAYGAIN_*` adjustment information on OPUS files alongside
|
||||||
|
|
|
@ -39,6 +39,7 @@ import org.oxycblt.auxio.playback.formatDurationMs
|
||||||
import org.oxycblt.auxio.ui.ViewBindingDialogFragment
|
import org.oxycblt.auxio.ui.ViewBindingDialogFragment
|
||||||
import org.oxycblt.auxio.util.collectImmediately
|
import org.oxycblt.auxio.util.collectImmediately
|
||||||
import org.oxycblt.auxio.util.concatLocalized
|
import org.oxycblt.auxio.util.concatLocalized
|
||||||
|
import org.oxycblt.auxio.util.logD
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A [ViewBindingDialogFragment] that shows information about a Song.
|
* A [ViewBindingDialogFragment] that shows information about a Song.
|
||||||
|
@ -102,8 +103,9 @@ class SongDetailDialog : ViewBindingDialogFragment<DialogSongDetailBinding>() {
|
||||||
add(
|
add(
|
||||||
SongProperty(
|
SongProperty(
|
||||||
R.string.lbl_relative_path, song.path.parent.resolveName(context)))
|
R.string.lbl_relative_path, song.path.parent.resolveName(context)))
|
||||||
|
logD(info.resolvedMimeType.resolveName(context))
|
||||||
info.resolvedMimeType.resolveName(context)?.let {
|
info.resolvedMimeType.resolveName(context)?.let {
|
||||||
SongProperty(R.string.lbl_format, it)
|
add(SongProperty(R.string.lbl_format, it))
|
||||||
}
|
}
|
||||||
add(
|
add(
|
||||||
SongProperty(
|
SongProperty(
|
||||||
|
|
Loading…
Reference in a new issue