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

Handle 'None' uri or empty string uri in transfer command #1439

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

FabioGNR
Copy link
Contributor

@FabioGNR FabioGNR commented Jan 11, 2025

Fixes #1438

The uri field of ContextTrack protobuf message was an empty string in my case.
The pattern matching here accepted only None so did not try to get the track by gid.
Once we reach this final matcher, uri is either None or an empty string so this should not cause any issues.

@photovoltex
Copy link
Member

photovoltex commented Jan 11, 2025

Sometimes the smallest things can cause major issues. Thanks for the fix :D

@photovoltex photovoltex merged commit 4cecb22 into librespot-org:dev Jan 12, 2025
11 of 13 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.

Transfer playback fails to find track
2 participants