InputUsername / listenbrainz-rs

ListenBrainz API bindings for Rust
https://crates.io/crates/listenbrainz
MIT License
11 stars 6 forks source link

Submit listen without release_name(album) #10

Closed MinmoTech closed 1 year ago

MinmoTech commented 1 year ago

As per https://github.com/InputUsername/rescrobbled/issues/83:

I get the following error for most of the songs I downloaded locally from youtube:

Failed to update status on ListenBrainz

Caused by:
    API error (400): field track_metadata.release_name is empty.
Failed to submit track to ListenBrainz

Caused by:
    API error (400): field track_metadata.release_name is empty.

The listenbrains documentation lists: image

Which means the release_name field should be optional.

I assume the issue is that release_name gets submitted with an empty value while it should probably be omitted entirely instead.