Make API endpoints configurable
Closed this issue · 4 comments
For now this project won't play well with custom scrobble servers, such as Maloja, that support ListenBrainz API.
Unfortunately, listenbrainz_rust
got the API URI hardcoded.
Thank you for this suggestion, I fully agree this would be a good feature to add.
I'm thinking of creating a ListenBrainz library (listenbrainz_rust
is unmaintained and its repo is gone) with support for a configurable URL, and use that. Should hopefully not take too long.
@InputUsername Regards to Listenbrainz, I've been thinking of adding support for Listenbrainz to rustfm-scrobble
- #41 (comment) - originally, I had planned to write a Listenbrainz library specifically for my scrobbler, but perhaps it might be a good idea to work together and add Listenbrainz support to rustfm-scrobble
, as well as Libre.fm? I'm about to open an issue on that crate with the aforementioned proposal
This has been implemented in v0.5.0
!
@tdemin I'm closing this issue for now, feel free to reopen if the current solution doesn't work for you.