Skip to content

Commit

Permalink
added bitrate to music playing slides
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Petersen committed Aug 29, 2021
1 parent c39afc5 commit 2a4f9a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/mediaservers/plex.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ class Plex {

medCard.posterAR = 1;

medCard.resCodec = md.Media[0].bitrate + " Kbps"
medCard.audioCodec = md.Media[0].audioCodec;
medCard.runTime = Math.round(md.Media[0].duration / 60000);
medCard.cardType = cType.CardTypeEnum.Playing;
Expand Down

0 comments on commit 2a4f9a6

Please sign in to comment.