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

Resolved a server crash when a playback session lacked media metadata #3689

Merged

Conversation

Vito0912
Copy link
Contributor

@Vito0912 Vito0912 commented Dec 7, 2024

Brief Summary

This PR introduces optional operators to allow stats to function without media metadata for playback Sessions. This change prevents server crashes when media metadata is absent.

In-depth Description

The logic for handling authors, narrators, genres has been updated to handle cases where mediaMetadata is absent. This ensures that the server can generate responses without requiring metadata, thereby preventing crashes.

A follow-up PR should be made to pull the mediaMetadata when missing from request.

How Have You Tested This?

Tested on a personal server.

@advplyr
Copy link
Owner

advplyr commented Dec 7, 2024

Thanks!

@advplyr advplyr merged commit ff7edc3 into advplyr:master Dec 7, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants