Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Media widget showing incorrect transcoding icon when multiple streams are active #2154

Closed
3 tasks done
NekoPavel opened this issue Oct 7, 2023 · 1 comment · Fixed by #2156
Closed
3 tasks done
Labels
bug Something isn't working

Comments

@NekoPavel
Copy link

Description

It seems like the Emby/Jellyfin media widget shows the incorrect transcoding icon when multiple streams are active.

When directplaying one stream:
correct transcoding

When starting another directplay stream:
wrong transcoding

Wild guess is that it's related to the fact that all of the states are set to true in SingleSessionEntry:

const { IsVideoDirect, VideoDecoderIsHardware, VideoEncoderIsHardware } = session?.TranscodingInfo || {
IsVideoDirect: true,
VideoDecoderIsHardware: true,
VideoEncoderIsHardware: true,
};

But not in SessionEntry:
const { IsVideoDirect, VideoDecoderIsHardware, VideoEncoderIsHardware } = session?.TranscodingInfo || {};

Steps to reproduce

  1. Visit setup emby/jellyfin widget
  2. Start a directstream in emby/jellyfin
  3. Observe correct icon in widget
  4. Start another directstream in emby/jellyfin
  5. Observe incorrect icon in widget

homepage version

v0.7.3

Installation method

Docker

Configuration

- Media:
    - Jellyfin:
        icon: jellyfin.png
        href: https://xxxxx
        description: Media streaming
        server: xxxxx
        container: jellyfin
        widget:
          type: jellyfin
          url: xxxxx
          key: xxxxx
          enableBlocks: true
          enableNowPlaying: true

Container Logs

No response

Browser Logs

No response

Troubleshooting

n/a

Other

No response

Before submitting, I have made sure to

Copy link
Contributor

github-actions bot commented Feb 5, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants