Skip to content

Avoid throwing an exception on tracks without an explicitRating key#59

Open
palmer-dabbelt wants to merge 1 commit intoand3rson:masterfrom
palmer-dabbelt:explicit-rating
Open

Avoid throwing an exception on tracks without an explicitRating key#59
palmer-dabbelt wants to merge 1 commit intoand3rson:masterfrom
palmer-dabbelt:explicit-rating

Conversation

@palmer-dabbelt
Copy link
Copy Markdown

Without this patch I get some responses from the server that lack an
explicitRating key, causing an exception to be thrown that results in
these tracks being dropped from the user interface. This simply checks
to see if the explicitRating key exists before attempting to read it.

Signed-off-by: Palmer Dabbelt palmer@dabbelt.com

Without this patch I get some responses from the server that lack an
explicitRating key, causing an exception to be thrown that results in
these tracks being dropped from the user interface.  This simply checks
to see if the explicitRating key exists before attempting to read it.

Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
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.

1 participant