Skip to content

Conversation

@johnnyg
Copy link
Contributor

@johnnyg johnnyg commented Nov 12, 2025

which includes the fix in librespot-org/librespot#1622

SpotifyId::from_base62(id).ok().map(|track| {
Command::PlayerLoad {
track,
track: SpotifyUri::Track { id: track },
Copy link
Contributor Author

@johnnyg johnnyg Nov 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for this change is because player.load and player.preload now take in SpotifyUris instead of SpotifyIds.
We could do the wrap just before we call player.load however I thought it made more sense to do the wrap here and have our Commands explicitly use the new type.

Copy link

@Jeffrey-H Jeffrey-H left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@Jeffrey-H
Copy link

Jeffrey-H commented Nov 19, 2025

@Diegovsky please see fix, it's currently breaking the app.

Copy link
Owner

@Diegovsky Diegovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Thanks for submitting this

@johnnyg
Copy link
Contributor Author

johnnyg commented Nov 19, 2025

@Diegovsky I think you also need to approve the flatpak workflow before this PR can get submitted.

@Diegovsky
Copy link
Owner

Hey there. Got some little time in this mess that is the final parts of the semester. I just allowed it to run and waiting to properly merge this.

Btw: I was working on some stuff to integrate librespot git version but it really is better to go like this and use a proper version. Thank you all for the patience and care during this process.

@Diegovsky
Copy link
Owner

Sure, it didn't work but that is because flatpak builds need the cargo sources to be generated. I'll merge this in dev and deal with it myself. Thank you for the PR!

@Diegovsky Diegovsky merged commit 1aefad1 into Diegovsky:development Nov 27, 2025
1 of 3 checks passed
@johnnyg johnnyg deleted the fix-audio branch November 29, 2025 10:30
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.

3 participants