Closed hayribakici closed 9 months ago
Wondering how you would check for a valid PlaybackState
. Check if playbackState.item
is null
? Maybe it's more descriptive to make the return type nullable and just return null
as a whole?
I don't think this should be an error, because it's really just "empty" data.
Either way a conflict has to be resolved before I can merge this fix :laughing:
Fixes #191. Returns an empty
PlaybackState
object if the response is empty. @rinukkusu should rather maybe an error be returned instead? E.g.