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 always null? #175

Open
gustaphe opened this issue Dec 5, 2024 · 1 comment
Open

[Bug] media always null? #175

gustaphe opened this issue Dec 5, 2024 · 1 comment
Labels
type: bug Something isn't working

Comments

@gustaphe
Copy link

gustaphe commented Dec 5, 2024

Describe the bug

It appears output.media is null, even when playing music. This appears to be a regression in 2.6, worked fine in 2.5.

Reproduction

In the layout html file:

{output.media ? (
<div>{output.media?.currentSession?.title}</div>
) : (
<div>Nope</div>
)}

Stack trace or error logs (if applicable)

No response

Version number

2.6.1

@gustaphe gustaphe added the type: bug Something isn't working label Dec 5, 2024
@github-project-automation github-project-automation bot moved this to 📬 Needs triage in zebar Dec 5, 2024
@julienmeunier
Copy link

julienmeunier commented Dec 6, 2024

I have the same problem. In the log, I can see that a media event is emitted, but nothing is displayed
2024-12-06T17:58:57.333312Z INFO zebar::providers::provider_ref: Emitting for provider: [{"type":"media"}]

However by recompiling the same tag v2.6.1 (release or debug), I cannot reproduce the issue.

EDIT: Problem was seen using the version v2.5.1, but is fixed on the latest v2.6.1 (with the official release).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: 📬 Needs triage
Development

No branches or pull requests

2 participants