mirror of
https://github.com/antebudimir/tempus.git
synced 2026-03-02 11:27:26 +00:00
feat: show sampling rate and bit depth if available
This commit is contained in:
parent
bfd6f28d7a
commit
181af686c2
11 changed files with 93 additions and 3 deletions
|
|
@ -37,6 +37,8 @@ class Chronology(@PrimaryKey override val id: String) : Child(id) {
|
|||
transcodedSuffix = mediaItem.mediaMetadata.extras!!.getString("transcodedSuffix")
|
||||
duration = mediaItem.mediaMetadata.extras!!.getInt("duration")
|
||||
bitrate = mediaItem.mediaMetadata.extras!!.getInt("bitrate")
|
||||
samplingRate = mediaItem.mediaMetadata.extras!!.getInt("samplingRate")
|
||||
bitDepth = mediaItem.mediaMetadata.extras!!.getInt("bitDepth")
|
||||
path = mediaItem.mediaMetadata.extras!!.getString("path")
|
||||
isVideo = mediaItem.mediaMetadata.extras!!.getBoolean("isVideo")
|
||||
userRating = mediaItem.mediaMetadata.extras!!.getInt("userRating")
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@ class Queue(override val id: String) : Child(id) {
|
|||
transcodedSuffix = child.transcodedSuffix
|
||||
duration = child.duration
|
||||
bitrate = child.bitrate
|
||||
samplingRate = child.samplingRate
|
||||
bitDepth = child.bitDepth
|
||||
path = child.path
|
||||
isVideo = child.isVideo
|
||||
userRating = child.userRating
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue