Commit bfd2666
committed
Avoid throwing an exception on tracks without an explicitRating key
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>1 parent c271cec commit bfd2666
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
0 commit comments