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

Use LB server if API URL is empty #19

Merged
merged 2 commits into from
Nov 5, 2023
Merged

Use LB server if API URL is empty #19

merged 2 commits into from
Nov 5, 2023

Conversation

phw
Copy link
Owner

@phw phw commented Nov 4, 2023

This changes the API URL preference to use the ListenBrainz server if it is empty. This simplifies the configuration a bit as it is easier to go back to default config. If the text edit field is empty it shows the default URL as a cue.

Also extends the README a bit, explicitly describing setup with Maloja (as it might be a common use case).

@phw
Copy link
Owner Author

phw commented Nov 4, 2023

@subjut What do you think?

@subjut
Copy link
Contributor

subjut commented Nov 4, 2023

I can't test it right now, but the code looks good. I like the preference pane cue. And the clarifications in the README are good. I hope people actually read it. The /submit-listens URL ending tripped me up good for a couple of hours when I tried to connect to my server.

@phw
Copy link
Owner Author

phw commented Nov 5, 2023

The /submit-listens URL ending tripped me up good for a couple of hours when I tried to connect to my server.

Yes. I also had to spend a few minutes looking up the proper URL, even though I knew what I was looking for. That's why I made it so explicit in the README

@phw phw merged commit a220d5d into main Nov 5, 2023
6 checks passed
@phw phw deleted the improve-lb-server-default branch November 5, 2023 10:02
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.

None yet

2 participants