diff --git a/src/components/services/widgets/service/emby.jsx b/src/components/services/widgets/service/emby.jsx index 5b0711d6f..04db12ff9 100644 --- a/src/components/services/widgets/service/emby.jsx +++ b/src/components/services/widgets/service/emby.jsx @@ -50,7 +50,7 @@ function SingleSessionEntry({ playCommand, session }) { {SeriesName && ` - ${SeriesName}`} -
+
{IsVideoDirect && } {!IsVideoDirect && (!VideoDecoderIsHardware || !VideoEncoderIsHardware) && } {!IsVideoDirect && VideoDecoderIsHardware && VideoEncoderIsHardware && ( @@ -140,7 +140,7 @@ function SessionEntry({ playCommand, session }) {
{IsMuted && }
{ticksToString(PositionTicks)}
-
+
{IsVideoDirect && } {!IsVideoDirect && (!VideoDecoderIsHardware || !VideoEncoderIsHardware) && } {!IsVideoDirect && VideoDecoderIsHardware && VideoEncoderIsHardware && } diff --git a/src/components/services/widgets/service/tautulli.jsx b/src/components/services/widgets/service/tautulli.jsx index 2b7b75c15..a9e9f61f1 100644 --- a/src/components/services/widgets/service/tautulli.jsx +++ b/src/components/services/widgets/service/tautulli.jsx @@ -36,7 +36,7 @@ function SingleSessionEntry({ session }) {
{full_title}
-
+
{video_decision === "copy" && audio_decision === "copy" && } {video_decision !== "copy" && audio_decision !== "copy" && } {video_decision === "copy" && audio_decision !== "copy" && } @@ -59,7 +59,7 @@ function SingleSessionEntry({ session }) { )}
-
+
{millisecondsToString(view_offset)} / {millisecondsToString(duration)} @@ -91,14 +91,12 @@ function SessionEntry({ session }) {
{full_title}
-
+
{video_decision === "copy" && audio_decision === "copy" && } {video_decision !== "copy" && audio_decision !== "copy" && } {video_decision === "copy" && audio_decision !== "copy" && }
- -
-
{millisecondsToString(view_offset)}
+
{millisecondsToString(view_offset)}
); }