Kodi Community Forum

Full Version: Empty stream details
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Somewhere along the line stream details that are empty now return:
Code:
"streamdetails": { "audio": [], "subtitle": [], "video": [] }
I may have missed it but is that on purpose? Before "streamdetails" would be empty.
(2012-10-14, 20:25)Mizaki Wrote: [ -> ]Somewhere along the line stream details that are empty now return:
Code:
"streamdetails": { "audio": [], "subtitle": [], "video": [] }
I may have missed it but is that on purpose? Before "streamdetails" would be empty.

iirc yes.
Always provide what you requested even when it's empty
I vaguely remember something about that but I thought it ended up being the other way around. Smile Not a problem ofc, just need to change the check.
We had this discussion in the other JSON-RPC thread and I first went with the "no stream details at all if not available" approach but it wasn't really consistent with how we handle other "empty" fields so I went with this instead.