Skip to content

Commit

Permalink
refactor: fix bitrate
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Dec 28, 2024
1 parent aada21e commit 024f897
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ data class Song(
date = metadata.date,
year = metadata.date?.year,
duration = metadata.lengthInSeconds?.let { it * 1000L } ?: 0,
bitrate = metadata.bitrate?.toLong(),
bitrate = metadata.bitrate?.let { it * 1000L },
samplingRate = metadata.sampleRate?.toLong(),
channels = metadata.channels,
encoder = metadata.encoding,
Expand Down

0 comments on commit 024f897

Please sign in to comment.