Skip to content

Commit

Permalink
Release 4.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
l7ssha committed Oct 23, 2024
1 parent 7810143 commit 4db4afc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 4.4.1
- Change video resolution format for transcoding info

## 4.4.0
- Display transcoding info on media embeds

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.9'
services:
running_on_dart:
image: ghcr.io/nyxx-discord/running_on_dart:4.4.0
image: ghcr.io/nyxx-discord/running_on_dart:4.4.1
container_name: running_on_dart
env_file:
- .env
Expand Down
2 changes: 1 addition & 1 deletion lib/src/util/jellyfin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Iterable<EmbedFieldBuilder> getMediaPlaybackInfoFields(SessionInfo sessionInfo)
final transcodingInfo = sessionInfo.transcodingInfo!;

final finalBitrate = ((transcodingInfo.bitrate ?? 0) / 1024 / 1024).toStringAsFixed(2);
final transCodingInfoString = '${transcodingInfo.width}x${transcodingInfo.height} (${transcodingInfo.videoCodec} ${transcodingInfo.audioCodec} ${transcodingInfo.container}) $finalBitrate Mbps - ${transcodingInfo.completionPercentage!.toStringAsFixed(2)}% (${transcodingInfo.framerate} fps)';
final transCodingInfoString = '${transcodingInfo.height}p (${transcodingInfo.videoCodec} ${transcodingInfo.audioCodec} ${transcodingInfo.container}) $finalBitrate Mbps - ${transcodingInfo.completionPercentage!.toStringAsFixed(2)}% (${transcodingInfo.framerate} fps)';

return [
EmbedFieldBuilder(name: "Transcoding", value: transCodingInfoString, isInline: false)
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: running_on_dart
version: 4.4.0
version: 4.4.1
description: Discord Bot for nyxx development
homepage: https://github.com/nyxx-discord/running_on_dart
repository: https://github.com/nyxx-discord/running_on_dart
Expand Down

0 comments on commit 4db4afc

Please sign in to comment.