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

Expected a string when getting music folders #10

Open
duckfromdiscord opened this issue Oct 16, 2023 · 2 comments
Open

Expected a string when getting music folders #10

duckfromdiscord opened this issue Oct 16, 2023 · 2 comments

Comments

@duckfromdiscord
Copy link

duckfromdiscord commented Oct 16, 2023

In collections/mod.rs, the _MusicFolder internal class expects the id to be passed as a string but it's an integer

called `Result::unwrap()` on an `Err` value: Serde(Error("invalid type: integer `0`, expected a string", line: 0, column: 0))
@duckfromdiscord
Copy link
Author

Is it possible this is caused by a mismatch in subsonic api versions?

@xeals
Copy link
Owner

xeals commented Oct 29, 2023

Likely a difference in implementations. I probably would have tested against Subsonic and maybe Airsonic when I was writing it. Subsonic appears to be offline these days so I can't check, but I'm aware that some implementations do use non-integer IDs.

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

No branches or pull requests

2 participants