@@ -79,9 +79,9 @@ const Hero = memo(function Hero({ track, genre, playCount, userRatingOverride, l
{genre && {genre}}
{track.suffix && {track.suffix.toUpperCase()}}
- {track.bitRate && {track.bitRate} kbps}
- {track.samplingRate && {(track.samplingRate / 1000).toFixed(1)} kHz}
- {track.bitDepth && {track.bitDepth}-bit}
+ {(track.bitRate ?? 0) > 0 && {track.bitRate} kbps}
+ {(track.samplingRate ?? 0) > 0 && {((track.samplingRate ?? 0) / 1000).toFixed(1)} kHz}
+ {(track.bitDepth ?? 0) > 0 && {track.bitDepth}-bit}
{hiRes && Hi-Res}
{track.duration > 0 && {formatTrackTime(track.duration)}}
@@ -104,7 +104,7 @@ const Hero = memo(function Hero({ track, genre, playCount, userRatingOverride, l
style={{ color: activeLyricsTab ? 'var(--accent)' : undefined }}>
- {rating && renderStars(rating)}
+ {rating != null && rating > 0 && renderStars(rating)}
{(playCount != null && playCount > 0) && (